Lines Matching refs:fs_ops
131 if (mnt->fs_ops->readlink) in _try_readlink()
135 ret = mnt->fs_ops->readlink(dentry, link, DFS_PATH_MAX); in _try_readlink()
662 if (mnt->fs_ops->create_vnode) in dfs_file_open()
671 … DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fs_ops->create_vnode"); in dfs_file_open()
675 … vnode = mnt->fs_ops->create_vnode(dentry, oflags & O_DIRECTORY ? FT_DIRECTORY:FT_REGULAR, mode); in dfs_file_open()
686 … DLOG(msg, mnt->fs_ops->name, "dfs_file", DLOG_MSG_RET, "create failed."); in dfs_file_open()
701 file->fops = dentry->mnt->fs_ops->default_fops; in dfs_file_open()
734 DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fops->open(file)"); in dfs_file_open()
749 … LOG_I("open %s failed in file system: %s", path, dentry->mnt->fs_ops->name); in dfs_file_open()
750 DLOG(msg, mnt->fs_ops->name, "dfs_file", DLOG_MSG_RET, "open failed."); in dfs_file_open()
764 … DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "no permission or fops->open"); in dfs_file_open()
790 … DLOG(msg, "dfs_file", dentry->mnt->fs_ops->name, DLOG_MSG, "fops->truncate(file, 0)"); in dfs_file_open()
852 … DLOG(msg, "dfs_file", file->dentry->mnt->fs_ops->name, DLOG_MSG, "fops->close(file)"); in dfs_file_close()
1050 DLOG(msg, "dfs_file", file->dentry->mnt->fs_ops->name, DLOG_MSG, in dfs_file_pwrite()
1133 DLOG(msg, "dfs_file", file->dentry->mnt->fs_ops->name, DLOG_MSG, in dfs_file_write()
1275 if (mnt->fs_ops->stat) in dfs_file_stat()
1277 DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fs_ops->stat(dentry, buf)"); in dfs_file_stat()
1281 ret = mnt->fs_ops->stat(dentry, buf); in dfs_file_stat()
1344 if (mnt->fs_ops->stat) in dfs_file_lstat()
1346 DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fs_ops->stat(dentry, buf)"); in dfs_file_lstat()
1350 ret = mnt->fs_ops->stat(dentry, buf); in dfs_file_lstat()
1453 if (mnt->fs_ops->setattr) in dfs_file_setattr()
1455 … DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fs_ops->setattr(dentry, attr)"); in dfs_file_setattr()
1459 ret = mnt->fs_ops->setattr(dentry, attr); in dfs_file_setattr()
1725 if (mnt->fs_ops->unlink) in dfs_file_unlink()
1729 ret = mnt->fs_ops->unlink(dentry); in dfs_file_unlink()
1846 if (mnt->fs_ops->link) in dfs_file_link()
1850 ret = mnt->fs_ops->link(old_dentry, new_dentry); in dfs_file_link()
1954 if (dentry->mnt->fs_ops->symlink) in dfs_file_symlink()
1975 ret = mnt->fs_ops->symlink(dentry, tmp, index + 1); in dfs_file_symlink()
2059 if (mnt->fs_ops->readlink) in dfs_file_readlink()
2063 ret = mnt->fs_ops->readlink(dentry, buf, bufsize); in dfs_file_readlink()
2160 if (mnt->fs_ops->rename) in dfs_file_rename()
2170 ret = mnt->fs_ops->rename(old_dentry, new_dentry); in dfs_file_rename()
2326 … DLOG(msg, "dfs_file", file->dentry->mnt->fs_ops->name, DLOG_MSG, "fops->getdents()"); in dfs_file_getdents()
2384 if (mnt->fs_ops->stat) in dfs_file_isdir()
2387 DLOG(msg, "dfs_file", mnt->fs_ops->name, DLOG_MSG, "fs_ops->stat(dentry, buf)"); in dfs_file_isdir()
2391 ret = mnt->fs_ops->stat(dentry, &stat); in dfs_file_isdir()