Lines Matching refs:path
258 struct path path; in SYSCALL_DEFINE5() local
261 error = user_path(pathname, &path); in SYSCALL_DEFINE5()
264 error = mnt_want_write(path.mnt); in SYSCALL_DEFINE5()
266 error = setxattr(path.dentry, name, value, size, flags); in SYSCALL_DEFINE5()
267 mnt_drop_write(path.mnt); in SYSCALL_DEFINE5()
269 path_put(&path); in SYSCALL_DEFINE5()
277 struct path path; in SYSCALL_DEFINE5() local
280 error = user_lpath(pathname, &path); in SYSCALL_DEFINE5()
283 error = mnt_want_write(path.mnt); in SYSCALL_DEFINE5()
285 error = setxattr(path.dentry, name, value, size, flags); in SYSCALL_DEFINE5()
286 mnt_drop_write(path.mnt); in SYSCALL_DEFINE5()
288 path_put(&path); in SYSCALL_DEFINE5()
354 struct path path; in SYSCALL_DEFINE4() local
357 error = user_path(pathname, &path); in SYSCALL_DEFINE4()
360 error = getxattr(path.dentry, name, value, size); in SYSCALL_DEFINE4()
361 path_put(&path); in SYSCALL_DEFINE4()
368 struct path path; in SYSCALL_DEFINE4() local
371 error = user_lpath(pathname, &path); in SYSCALL_DEFINE4()
374 error = getxattr(path.dentry, name, value, size); in SYSCALL_DEFINE4()
375 path_put(&path); in SYSCALL_DEFINE4()
427 struct path path; in SYSCALL_DEFINE3() local
430 error = user_path(pathname, &path); in SYSCALL_DEFINE3()
433 error = listxattr(path.dentry, list, size); in SYSCALL_DEFINE3()
434 path_put(&path); in SYSCALL_DEFINE3()
441 struct path path; in SYSCALL_DEFINE3() local
444 error = user_lpath(pathname, &path); in SYSCALL_DEFINE3()
447 error = listxattr(path.dentry, list, size); in SYSCALL_DEFINE3()
448 path_put(&path); in SYSCALL_DEFINE3()
487 struct path path; in SYSCALL_DEFINE2() local
490 error = user_path(pathname, &path); in SYSCALL_DEFINE2()
493 error = mnt_want_write(path.mnt); in SYSCALL_DEFINE2()
495 error = removexattr(path.dentry, name); in SYSCALL_DEFINE2()
496 mnt_drop_write(path.mnt); in SYSCALL_DEFINE2()
498 path_put(&path); in SYSCALL_DEFINE2()
505 struct path path; in SYSCALL_DEFINE2() local
508 error = user_lpath(pathname, &path); in SYSCALL_DEFINE2()
511 error = mnt_want_write(path.mnt); in SYSCALL_DEFINE2()
513 error = removexattr(path.dentry, name); in SYSCALL_DEFINE2()
514 mnt_drop_write(path.mnt); in SYSCALL_DEFINE2()
516 path_put(&path); in SYSCALL_DEFINE2()