• Home
  • Raw
  • Download

Lines Matching refs:parent

614 	struct dentry *parent;  in rpc_rmdir()  local
618 parent = dget_parent(dentry); in rpc_rmdir()
619 dir = d_inode(parent); in rpc_rmdir()
623 dput(parent); in rpc_rmdir()
647 static struct dentry *__rpc_lookup_create_exclusive(struct dentry *parent, in __rpc_lookup_create_exclusive() argument
651 struct dentry *dentry = d_hash_and_lookup(parent, &q); in __rpc_lookup_create_exclusive()
653 dentry = d_alloc(parent, &q); in __rpc_lookup_create_exclusive()
666 static void __rpc_depopulate(struct dentry *parent, in __rpc_depopulate() argument
670 struct inode *dir = d_inode(parent); in __rpc_depopulate()
678 dentry = d_hash_and_lookup(parent, &name); in __rpc_depopulate()
698 static void rpc_depopulate(struct dentry *parent, in rpc_depopulate() argument
702 struct inode *dir = d_inode(parent); in rpc_depopulate()
705 __rpc_depopulate(parent, files, start, eof); in rpc_depopulate()
709 static int rpc_populate(struct dentry *parent, in rpc_populate() argument
714 struct inode *dir = d_inode(parent); in rpc_populate()
720 dentry = __rpc_lookup_create_exclusive(parent, files[i].name); in rpc_populate()
745 __rpc_depopulate(parent, files, start, eof); in rpc_populate()
748 __FILE__, __func__, parent); in rpc_populate()
752 static struct dentry *rpc_mkdir_populate(struct dentry *parent, in rpc_mkdir_populate() argument
757 struct inode *dir = d_inode(parent); in rpc_mkdir_populate()
761 dentry = __rpc_lookup_create_exclusive(parent, name); in rpc_mkdir_populate()
785 struct dentry *parent; in rpc_rmdir_depopulate() local
789 parent = dget_parent(dentry); in rpc_rmdir_depopulate()
790 dir = d_inode(parent); in rpc_rmdir_depopulate()
796 dput(parent); in rpc_rmdir_depopulate()
818 struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name, in rpc_mkpipe_dentry() argument
822 struct inode *dir = d_inode(parent); in rpc_mkpipe_dentry()
832 dentry = __rpc_lookup_create_exclusive(parent, name); in rpc_mkpipe_dentry()
845 __FILE__, __func__, parent, name, in rpc_mkpipe_dentry()
862 struct dentry *parent; in rpc_unlink() local
866 parent = dget_parent(dentry); in rpc_unlink()
867 dir = d_inode(parent); in rpc_unlink()
871 dput(parent); in rpc_unlink()
1125 struct dentry *rpc_create_cache_dir(struct dentry *parent, const char *name, in rpc_create_cache_dir() argument
1128 return rpc_mkdir_populate(parent, name, umode, NULL, in rpc_create_cache_dir()