Lines Matching refs:path
162 struct path path; in dev_mkdir() local
165 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
169 err = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode); in dev_mkdir()
173 done_path_create(&path, dentry); in dev_mkdir()
179 char *path; in create_path() local
184 path = kstrdup(nodepath, GFP_KERNEL); in create_path()
185 if (!path) in create_path()
188 s = path; in create_path()
194 err = dev_mkdir(path, 0755); in create_path()
200 kfree(path); in create_path()
208 struct path path; in handle_create() local
211 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
214 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
219 err = vfs_mknod(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode, in handle_create()
235 done_path_create(&path, dentry); in handle_create()
241 struct path parent; in dev_rmdir()
265 char *path; in delete_path() local
268 path = kstrdup(nodepath, GFP_KERNEL); in delete_path()
269 if (!path) in delete_path()
275 base = strrchr(path, '/'); in delete_path()
279 err = dev_rmdir(path); in delete_path()
284 kfree(path); in delete_path()
311 struct path parent; in handle_remove()
322 struct path p = {.mnt = parent.mnt, .dentry = dentry}; in handle_remove()