Lines Matching refs:pathname
469 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
476 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
492 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
496 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
499 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
503 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
567 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
574 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
586 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
589 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
592 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
595 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
644 static ssize_t path_listxattr(const char __user *pathname, char __user *list, in path_listxattr() argument
650 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
662 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
665 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3()
668 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
671 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
705 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
711 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
727 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
730 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
733 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
736 return path_removexattr(pathname, name, 0); in SYSCALL_DEFINE2()