Lines Matching refs:parent
69 struct dentry *parent; in hypfs_remove() local
71 parent = dentry->d_parent; in hypfs_remove()
72 inode_lock(d_inode(parent)); in hypfs_remove()
75 simple_rmdir(d_inode(parent), dentry); in hypfs_remove()
77 simple_unlink(d_inode(parent), dentry); in hypfs_remove()
81 inode_unlock(d_inode(parent)); in hypfs_remove()
337 static struct dentry *hypfs_create_file(struct dentry *parent, const char *name, in hypfs_create_file() argument
343 inode_lock(d_inode(parent)); in hypfs_create_file()
344 dentry = lookup_one_len(name, parent, strlen(name)); in hypfs_create_file()
349 inode = hypfs_make_inode(parent->d_sb, mode); in hypfs_create_file()
364 inc_nlink(d_inode(parent)); in hypfs_create_file()
371 inode_unlock(d_inode(parent)); in hypfs_create_file()
375 struct dentry *hypfs_mkdir(struct dentry *parent, const char *name) in hypfs_mkdir() argument
379 dentry = hypfs_create_file(parent, name, NULL, S_IFDIR | DIR_MODE); in hypfs_mkdir()