Lines Matching refs:parent
631 static struct dentry *__rpc_lookup_create_exclusive(struct dentry *parent, in __rpc_lookup_create_exclusive() argument
635 struct dentry *dentry = d_hash_and_lookup(parent, &q); in __rpc_lookup_create_exclusive()
637 dentry = d_alloc(parent, &q); in __rpc_lookup_create_exclusive()
650 static void __rpc_depopulate(struct dentry *parent, in __rpc_depopulate() argument
654 struct inode *dir = d_inode(parent); in __rpc_depopulate()
662 dentry = d_hash_and_lookup(parent, &name); in __rpc_depopulate()
682 static void rpc_depopulate(struct dentry *parent, in rpc_depopulate() argument
686 struct inode *dir = d_inode(parent); in rpc_depopulate()
689 __rpc_depopulate(parent, files, start, eof); in rpc_depopulate()
693 static int rpc_populate(struct dentry *parent, in rpc_populate() argument
698 struct inode *dir = d_inode(parent); in rpc_populate()
704 dentry = __rpc_lookup_create_exclusive(parent, files[i].name); in rpc_populate()
729 __rpc_depopulate(parent, files, start, eof); in rpc_populate()
732 __FILE__, __func__, parent); in rpc_populate()
736 static struct dentry *rpc_mkdir_populate(struct dentry *parent, in rpc_mkdir_populate() argument
741 struct inode *dir = d_inode(parent); in rpc_mkdir_populate()
745 dentry = __rpc_lookup_create_exclusive(parent, name); in rpc_mkdir_populate()
769 struct dentry *parent; in rpc_rmdir_depopulate() local
773 parent = dget_parent(dentry); in rpc_rmdir_depopulate()
774 dir = d_inode(parent); in rpc_rmdir_depopulate()
780 dput(parent); in rpc_rmdir_depopulate()
803 struct dentry *rpc_mkpipe_dentry(struct dentry *parent, const char *name, in rpc_mkpipe_dentry() argument
807 struct inode *dir = d_inode(parent); in rpc_mkpipe_dentry()
817 dentry = __rpc_lookup_create_exclusive(parent, name); in rpc_mkpipe_dentry()
830 __FILE__, __func__, parent, name, in rpc_mkpipe_dentry()
847 struct dentry *parent; in rpc_unlink() local
851 parent = dget_parent(dentry); in rpc_unlink()
852 dir = d_inode(parent); in rpc_unlink()
856 dput(parent); in rpc_unlink()
1110 struct dentry *rpc_create_cache_dir(struct dentry *parent, const char *name, in rpc_create_cache_dir() argument
1113 return rpc_mkdir_populate(parent, name, umode, NULL, in rpc_create_cache_dir()