Lines Matching refs:pathname
458 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
465 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
481 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
485 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
488 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
492 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
556 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
563 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
575 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
578 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
581 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
584 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
633 static ssize_t path_listxattr(const char __user *pathname, char __user *list, in path_listxattr() argument
639 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_listxattr()
651 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
654 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE3()
657 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, in SYSCALL_DEFINE3() argument
660 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
694 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
700 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_removexattr()
716 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
719 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
722 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, in SYSCALL_DEFINE2() argument
725 return path_removexattr(pathname, name, 0); in SYSCALL_DEFINE2()