Lines Matching refs:pathname
638 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
646 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
663 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
667 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
670 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
674 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
757 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
764 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
776 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
779 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
782 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
785 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
835 static ssize_t path_listxattr(const char __user *pathname, char __user *list, in path_listxattr() argument
841 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
853 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
856 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3()
859 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
862 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
900 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
906 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
922 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
925 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
928 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
931 return path_removexattr(pathname, name, 0); in SYSCALL_DEFINE2()