Searched refs:scops (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/kernfs/
H A Dmount.c25 struct kernfs_syscall_ops *scops = root->syscall_ops; kernfs_sop_remount_fs() local
27 if (scops && scops->remount_fs) kernfs_sop_remount_fs()
28 return scops->remount_fs(root, flags, data); kernfs_sop_remount_fs()
35 struct kernfs_syscall_ops *scops = root->syscall_ops; kernfs_sop_show_options() local
37 if (scops && scops->show_options) kernfs_sop_show_options()
38 return scops->show_options(sf, root); kernfs_sop_show_options()
H A Ddir.c700 * @scops: optional syscall operations for the hierarchy
707 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops, kernfs_create_root() argument
731 root->syscall_ops = scops; kernfs_create_root()
864 struct kernfs_syscall_ops *scops = kernfs_root(parent)->syscall_ops; kernfs_iop_mkdir() local
867 if (!scops || !scops->mkdir) kernfs_iop_mkdir()
873 ret = scops->mkdir(parent, dentry->d_name.name, mode); kernfs_iop_mkdir()
882 struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops; kernfs_iop_rmdir() local
885 if (!scops || !scops->rmdir) kernfs_iop_rmdir()
891 ret = scops->rmdir(kn); kernfs_iop_rmdir()
902 struct kernfs_syscall_ops *scops = kernfs_root(kn)->syscall_ops; kernfs_iop_rename() local
905 if (!scops || !scops->rename) kernfs_iop_rename()
916 ret = scops->rename(kn, new_parent, new_dentry->d_name.name); kernfs_iop_rename()
/linux-4.1.27/include/linux/
H A Dkernfs.h282 struct kernfs_root *kernfs_create_root(struct kernfs_syscall_ops *scops,
359 kernfs_create_root(struct kernfs_syscall_ops *scops, unsigned int flags, kernfs_create_root() argument

Completed in 82 milliseconds