Lines Matching refs:pathname
457 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
464 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
480 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
484 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
487 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
491 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
555 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
562 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
574 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
577 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
580 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
583 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
632 static ssize_t path_listxattr(const char __user *pathname, char __user *list, in path_listxattr() argument
638 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
650 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
653 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3()
656 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
659 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
693 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
699 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
715 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
718 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
721 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
724 return path_removexattr(pathname, name, 0); in SYSCALL_DEFINE2()