Lines Matching refs:pathname
623 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
631 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
648 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
652 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
655 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
659 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
741 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
748 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
760 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
763 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
766 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
769 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
819 static ssize_t path_listxattr(const char __user *pathname, char __user *list, in path_listxattr() argument
825 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
837 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
840 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3()
843 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
846 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
881 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
887 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
903 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
906 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
909 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
912 return path_removexattr(pathname, name, 0); in SYSCALL_DEFINE2()