Lines Matching refs:path
177 struct path path; in dev_mkdir() local
179 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
183 dentry = vfs_mkdir(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode); in dev_mkdir()
187 done_path_create(&path, dentry); in dev_mkdir()
193 char *path; in create_path() local
198 path = kstrdup(nodepath, GFP_KERNEL); in create_path()
199 if (!path) in create_path()
202 s = path; in create_path()
208 err = dev_mkdir(path, 0755); in create_path()
214 kfree(path); in create_path()
222 struct path path; in handle_create() local
225 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
228 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
233 err = vfs_mknod(&nop_mnt_idmap, d_inode(path.dentry), dentry, mode, in handle_create()
249 done_path_create(&path, dentry); in handle_create()
255 struct path parent; in dev_rmdir()
276 char *path; in delete_path() local
279 path = kstrdup(nodepath, GFP_KERNEL); in delete_path()
280 if (!path) in delete_path()
286 base = strrchr(path, '/'); in delete_path()
290 err = dev_rmdir(path); in delete_path()
295 kfree(path); in delete_path()
322 struct path parent; in handle_remove()