Lines Matching refs:path
153 struct path path; in dev_mkdir() local
156 dentry = kern_path_create(AT_FDCWD, name, &path, LOOKUP_DIRECTORY); in dev_mkdir()
160 err = vfs_mkdir(d_inode(path.dentry), dentry, mode); in dev_mkdir()
164 done_path_create(&path, dentry); in dev_mkdir()
170 char *path; in create_path() local
175 path = kstrdup(nodepath, GFP_KERNEL); in create_path()
176 if (!path) in create_path()
179 s = path; in create_path()
185 err = dev_mkdir(path, 0755); in create_path()
191 kfree(path); in create_path()
199 struct path path; in handle_create() local
202 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
205 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
210 err = vfs_mknod(d_inode(path.dentry), dentry, mode, dev->devt); in handle_create()
225 done_path_create(&path, dentry); in handle_create()
231 struct path parent; in dev_rmdir()
254 const char *path; in delete_path() local
257 path = kstrdup(nodepath, GFP_KERNEL); in delete_path()
258 if (!path) in delete_path()
264 base = strrchr(path, '/'); in delete_path()
268 err = dev_rmdir(path); in delete_path()
273 kfree(path); in delete_path()
300 struct path parent; in handle_remove()
311 struct path p = {.mnt = parent.mnt, .dentry = dentry}; in handle_remove()