/linux-4.1.27/include/uapi/linux/ |
H A D | un.h | 10 char sun_path[UNIX_PATH_MAX]; /* pathname */
|
H A D | fcntl.h | 64 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | utxfmutex.c | 54 acpi_string pathname, 62 * pathname - Mutex pathname (optional) 75 acpi_string pathname, acpi_ut_get_mutex_object() 84 if (!ret_obj || (!handle && !pathname)) { acpi_ut_get_mutex_object() 91 if (pathname != NULL) { acpi_ut_get_mutex_object() 92 status = acpi_get_handle(handle, pathname, acpi_ut_get_mutex_object() 122 * pathname - Mutex pathname (optional) 136 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) acpi_acquire_mutex() argument 143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); acpi_acquire_mutex() 159 * pathname - Mutex pathname (optional) 171 acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) acpi_release_mutex() argument 178 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); acpi_release_mutex() 74 acpi_ut_get_mutex_object(acpi_handle handle, acpi_string pathname, union acpi_operand_object **ret_obj) acpi_ut_get_mutex_object() argument
|
H A D | nsarguments.c | 104 * PARAMETERS: pathname - Full pathname to the node (for error msgs) 117 acpi_ns_check_acpi_compliance(char *pathname, acpi_ns_check_acpi_compliance() argument 142 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, acpi_ns_check_acpi_compliance() 153 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, acpi_ns_check_acpi_compliance() 177 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, acpi_ns_check_acpi_compliance() 185 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, acpi_ns_check_acpi_compliance() 197 * PARAMETERS: pathname - Full pathname to the node (for error msgs) 210 acpi_ns_check_argument_count(char *pathname, acpi_ns_check_argument_count() argument 225 ACPI_INFO_PREDEFINED((AE_INFO, pathname, acpi_ns_check_argument_count() 251 ACPI_WARN_PREDEFINED((AE_INFO, pathname, acpi_ns_check_argument_count() 258 ACPI_INFO_PREDEFINED((AE_INFO, pathname, acpi_ns_check_argument_count() 283 ACPI_WARN_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, acpi_ns_check_argument_count() 289 ACPI_INFO_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, acpi_ns_check_argument_count()
|
H A D | uterror.c | 62 * pathname - Full pathname to the node 77 char *pathname, acpi_ut_predefined_warning() 90 acpi_os_printf(ACPI_MSG_WARNING "%s: ", pathname); acpi_ut_predefined_warning() 104 * pathname - Full pathname to the node 120 char *pathname, u8 node_flags, const char *format, ...) acpi_ut_predefined_info() 132 acpi_os_printf(ACPI_MSG_INFO "%s: ", pathname); acpi_ut_predefined_info() 146 * pathname - Full pathname to the node 162 char *pathname, acpi_ut_predefined_bios_error() 175 acpi_os_printf(ACPI_MSG_BIOS_ERROR "%s: ", pathname); acpi_ut_predefined_bios_error() 194 * DESCRIPTION: Print error message with the full pathname for the NS node. 256 * DESCRIPTION: Print error message with the full pathname for the method. 278 acpi_os_printf("[Could not get node by pathname]"); acpi_ut_method_error() 75 acpi_ut_predefined_warning(const char *module_name, u32 line_number, char *pathname, u8 node_flags, const char *format, ...) acpi_ut_predefined_warning() argument 118 acpi_ut_predefined_info(const char *module_name, u32 line_number, char *pathname, u8 node_flags, const char *format, ...) acpi_ut_predefined_info() argument 160 acpi_ut_predefined_bios_error(const char *module_name, u32 line_number, char *pathname, u8 node_flags, const char *format, ...) acpi_ut_predefined_bios_error() argument
|
H A D | nsnames.c | 56 * PARAMETERS: node - NS node whose pathname is needed 57 * size - Size of the pathname 58 * *name_buffer - Where to return the pathname 61 * Places the pathname into the name_buffer, in external format 110 "Could not construct external pathname; index=%u, size=%u, Path=%s", acpi_ns_build_external_path() 123 * PARAMETERS: node - Namespace node whose pathname is needed 129 * DESCRIPTION: Used to obtain the full pathname to a namespace node, usually 176 * DESCRIPTION: Get the length of the pathname string for this node 188 * Compute length of pathname as 5 * number of name segments. acpi_ns_get_pathname_length() 218 * buffer - Where the pathname is returned 220 * RETURN: Status, Buffer is filled with pathname if status is AE_OK 222 * DESCRIPTION: Build and return a full namespace pathname
|
H A D | nsutils.c | 65 * DESCRIPTION: Print an object's full namespace pathname 66 * Manages allocation/freeing of a pathname buffer 82 /* Convert handle to full pathname and print it (with supplied message) */ acpi_ns_print_node_pathname() 301 /* Now we must have a path separator, or the pathname is bad */ acpi_ns_build_internal_name() 650 * PARAMETERS: *pathname - Name to be found, in external (ASL) format. The 670 const char *pathname, acpi_ns_get_node() 677 ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname)); acpi_ns_get_node() 679 /* Simplest case is a null pathname */ acpi_ns_get_node() 681 if (!pathname) { acpi_ns_get_node() 691 if (ACPI_IS_ROOT_PREFIX(pathname[0]) && (!pathname[1])) { acpi_ns_get_node() 698 status = acpi_ns_internalize_name(pathname, &internal_path); acpi_ns_get_node() 722 pathname, acpi_format_exception(status))); acpi_ns_get_node() 669 acpi_ns_get_node(struct acpi_namespace_node *prefix_node, const char *pathname, u32 flags, struct acpi_namespace_node **return_node) acpi_ns_get_node() argument
|
H A D | nsxfname.c | 66 * pathname - Pointer to an asciiz string containing the 81 acpi_string pathname, acpi_handle * ret_handle) acpi_get_handle() 91 if (!ret_handle || !pathname) { acpi_get_handle() 106 * 1) Fully qualified pathname acpi_get_handle() 107 * 2) Parent + Relative pathname acpi_get_handle() 111 if (ACPI_IS_ROOT_PREFIX(pathname[0])) { acpi_get_handle() 117 if (!ACPI_STRCMP(pathname, ACPI_NS_ROOT_PATH)) { acpi_get_handle() 132 acpi_ns_get_node(prefix_node, pathname, ACPI_NS_NO_UPSEARCH, &node); acpi_get_handle() 146 * PARAMETERS: handle - Handle to be converted to a pathname ACPI_EXPORT_SYMBOL() 147 * name_type - Full pathname or single segment ACPI_EXPORT_SYMBOL() 177 /* Get the full pathname (From the namespace root) */ ACPI_EXPORT_SYMBOL() 80 acpi_get_handle(acpi_handle parent, acpi_string pathname, acpi_handle * ret_handle) acpi_get_handle() argument
|
H A D | nsdump.c | 78 * pathname - The compressed (internal) path 82 * DESCRIPTION: Print an object's full namespace pathname 86 void acpi_ns_print_pathname(u32 num_segments, char *pathname) acpi_ns_print_pathname() argument 104 ACPI_IS_PRINT(pathname[i]) ? acpi_ns_print_pathname() 105 acpi_os_printf("%c", pathname[i]) : acpi_ns_print_pathname() 109 pathname += ACPI_NAME_SIZE; acpi_ns_print_pathname() 130 * DESCRIPTION: Print an object's full namespace pathname 131 * Manages allocation/freeing of a pathname buffer 147 /* Convert handle to a full pathname and print it (with supplied message) */ acpi_ns_dump_pathname() 697 * DESCRIPTION: Dump the full pathname to a namespace object. acp_ns_get_max_depth 709 char *pathname; acpi_ns_dump_one_object_path() local 725 pathname = acpi_ns_get_external_pathname(node); acpi_ns_dump_one_object_path() 736 acpi_os_printf("%s\n", &pathname[1]); acpi_ns_dump_one_object_path() 737 ACPI_FREE(pathname); acpi_ns_dump_one_object_path()
|
H A D | utstring.c | 562 * PARAMETERS: pathname - File pathname string to be converted 567 * the entire input file pathname string. 571 void ut_convert_backslashes(char *pathname) ut_convert_backslashes() argument 574 if (!pathname) { ut_convert_backslashes() 578 while (*pathname) { ut_convert_backslashes() 579 if (*pathname == '\\') { ut_convert_backslashes() 580 *pathname = '/'; ut_convert_backslashes() 583 pathname++; ut_convert_backslashes()
|
H A D | nsxfeval.c | 63 * pathname - Object pathname (optional) 81 acpi_string pathname, acpi_evaluate_object_typed() 103 status = acpi_evaluate_object(handle, pathname, acpi_evaluate_object_typed() 160 * pathname - Object pathname (optional) ACPI_EXPORT_SYMBOL() 176 acpi_string pathname, ACPI_EXPORT_SYMBOL() 206 * 1) Null node, valid pathname from root (absolute path) ACPI_EXPORT_SYMBOL() 207 * 2) Node and valid pathname (path relative to Node) ACPI_EXPORT_SYMBOL() 208 * 3) Node, Null pathname ACPI_EXPORT_SYMBOL() 210 if ((pathname) && (ACPI_IS_ROOT_PREFIX(pathname[0]))) { ACPI_EXPORT_SYMBOL() 217 * A handle is optional iff a fully qualified pathname is specified. ACPI_EXPORT_SYMBOL() 221 if (!pathname) { ACPI_EXPORT_SYMBOL() 226 "Null Handle with relative pathname [%s]", ACPI_EXPORT_SYMBOL() 227 pathname)); ACPI_EXPORT_SYMBOL() 234 info->relative_pathname = pathname; ACPI_EXPORT_SYMBOL() 246 ACPI_WARN_PREDEFINED((AE_INFO, pathname, ACPI_EXPORT_SYMBOL() 80 acpi_evaluate_object_typed(acpi_handle handle, acpi_string pathname, struct acpi_object_list *external_params, struct acpi_buffer *return_buffer, acpi_object_type return_type) acpi_evaluate_object_typed() argument
|
H A D | utaddress.c | 208 char *pathname; acpi_ut_check_address_range() local 241 pathname = acpi_ut_check_address_range() 254 pathname)); acpi_ut_check_address_range() 255 ACPI_FREE(pathname); acpi_ut_check_address_range()
|
H A D | nsaccess.c | 261 * pathname - Search pathname, in internal format 281 char *pathname, acpi_ns_lookup() 289 char *path = pathname; acpi_ns_lookup() 351 * Begin examination of the actual pathname acpi_ns_lookup() 353 if (!pathname) { acpi_ns_lookup() 429 pathname)); acpi_ns_lookup() 443 * Determine the number of ACPI name segments in this pathname. acpi_ns_lookup() 552 /* Extract one ACPI name from the front of the pathname */ acpi_ns_lookup() 280 acpi_ns_lookup(union acpi_generic_state *scope_info, char *pathname, acpi_object_type type, acpi_interpreter_mode interpreter_mode, u32 flags, struct acpi_walk_state *walk_state, struct acpi_namespace_node **return_node) acpi_ns_lookup() argument
|
H A D | utmisc.c | 349 * obj_handle - Handle whose pathname will be displayed 355 * DESCRIPTION: Display full pathname of an object, DEBUG ONLY 375 /* Get the full pathname to the node */ acpi_ut_display_init_pathname() 397 /* Print the object type and pathname */ acpi_ut_display_init_pathname()
|
H A D | nseval.c | 100 * 1) Null node, valid pathname from root (absolute path) acpi_ns_evaluate() 101 * 2) Node and valid pathname (path relative to Node) acpi_ns_evaluate() 102 * 3) Node, Null pathname acpi_ns_evaluate() 137 /* Get the full pathname to the object, for use in warning messages */ acpi_ns_evaluate() 320 * just free the pathname and return acpi_ns_evaluate()
|
H A D | acnamesp.h | 204 void acpi_ns_print_pathname(u32 num_segments, char *pathname); 235 acpi_ns_check_argument_count(char *pathname, 241 acpi_ns_check_acpi_compliance(char *pathname,
|
H A D | acutils.h | 639 void ut_convert_backslashes(char *pathname); 731 char *pathname, 737 char *pathname, u8 node_flags, const char *format, ...); 742 char *pathname,
|
H A D | utobject.c | 517 * Get the actual length of the full pathname to this object. acpi_ut_get_simple_object_size() 518 * The reference will be converted to the pathname to the object acpi_ut_get_simple_object_size()
|
H A D | acstruct.h | 191 char *full_pathname; /* Full pathname of the resolved node */
|
H A D | rscreate.c | 341 /* Use *remaining* length of the buffer as max for pathname */ acpi_rs_create_pci_routing_table()
|
H A D | aclocal.h | 1085 char pathname[ACPI_DB_LINE_BUFFER_SIZE]; member in struct:acpi_db_method_info
|
H A D | exdump.c | 1000 acpi_os_printf(" Could not convert name to pathname\n"); acpi_ex_dump_reference_obj()
|
/linux-4.1.27/arch/parisc/kernel/ |
H A D | sys_parisc32.c | 28 const char __user * pathname) sys32_fanotify_mark() 32 dfd, pathname); sys32_fanotify_mark() 26 sys32_fanotify_mark(compat_int_t fanotify_fd, compat_uint_t flags, compat_uint_t mask0, compat_uint_t mask1, compat_int_t dfd, const char __user * pathname) sys32_fanotify_mark() argument
|
/linux-4.1.27/tools/perf/util/ |
H A D | path.c | 96 char *pathname = get_pathname(); mkpath() local 99 len = vsnprintf(pathname, PATH_MAX, fmt, args); mkpath() 103 return cleanup_path(pathname); mkpath() 109 char *pathname = get_pathname(); perf_path() local 116 memcpy(pathname, perf_dir, len); perf_path() 118 pathname[len++] = '/'; perf_path() 120 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args); perf_path() 124 return cleanup_path(pathname); perf_path()
|
H A D | build-id.h | 26 int build_id_cache__list_build_ids(const char *pathname,
|
H A D | build-id.c | 303 int build_id_cache__list_build_ids(const char *pathname, build_id_cache__list_build_ids() argument 313 dir_name = build_id_cache__dirname_from_path(pathname, false, false); build_id_cache__list_build_ids()
|
H A D | dso.h | 219 bool is_kernel_module(const char *pathname);
|
H A D | dso.c | 168 bool is_kernel_module(const char *pathname) is_kernel_module() argument 172 if (kmod_path__parse(&m, pathname)) is_kernel_module()
|
/linux-4.1.27/tools/power/acpi/tools/acpidump/ |
H A D | apfiles.c | 49 static int ap_is_existing_file(char *pathname); 51 static int ap_is_existing_file(char *pathname) ap_is_existing_file() argument 56 if (!stat(pathname, &stat_info)) { ap_is_existing_file() 72 * PARAMETERS: pathname - Output filename 81 int ap_open_output_file(char *pathname) ap_open_output_file() argument 87 if (ap_is_existing_file(pathname) != 0) { ap_open_output_file() 93 file = acpi_os_open_file(pathname, ACPI_FILE_WRITING); ap_open_output_file() 95 acpi_log_error("Could not open output file: %s\n", pathname); ap_open_output_file() 102 gbl_output_filename = pathname; ap_open_output_file() 186 * PARAMETERS: pathname - File containing the binary ACPI table 195 struct acpi_table_header *ap_get_table_from_file(char *pathname, ap_get_table_from_file() argument 206 acpi_os_open_file(pathname, ACPI_FILE_READING | ACPI_FILE_BINARY); ap_get_table_from_file() 208 acpi_log_error("Could not open input file: %s\n", pathname); ap_get_table_from_file() 216 acpi_log_error("Could not get input file size: %s\n", pathname); ap_get_table_from_file() 233 acpi_log_error("Could not read input file: %s\n", pathname); ap_get_table_from_file()
|
H A D | acpidump.h | 107 int ap_dump_table_from_file(char *pathname); 124 int ap_open_output_file(char *pathname); 128 struct acpi_table_header *ap_get_table_from_file(char *pathname,
|
H A D | apdump.c | 388 * PARAMETERS: pathname - File containing the binary ACPI table 396 int ap_dump_table_from_file(char *pathname) ap_dump_table_from_file() argument 404 table = ap_get_table_from_file(pathname, &file_size); ap_dump_table_from_file() 414 table->length, file_size, pathname); ap_dump_table_from_file() 421 pathname, table->signature, file_size, file_size); ap_dump_table_from_file()
|
/linux-4.1.27/security/tomoyo/ |
H A D | group.c | 114 * tomoyo_path_matches_group - Check whether the given pathname matches members of the given pathname group. 116 * @pathname: The name of pathname. 119 * Returns matched member's pathname if @pathname matches pathnames in @group, 125 tomoyo_path_matches_group(const struct tomoyo_path_info *pathname, tomoyo_path_matches_group() argument 132 if (!tomoyo_path_matches_pattern(pathname, member->member_name)) tomoyo_path_matches_group()
|
H A D | realpath.c | 236 * tomoyo_realpath_from_path - Returns realpath(3) of the given pathname but ignores chroot'ed root. 313 * tomoyo_realpath_nofollow - Get realpath of a pathname. 315 * @pathname: The pathname to solve. 317 * Returns the realpath of @pathname on success, NULL otherwise. 319 char *tomoyo_realpath_nofollow(const char *pathname) tomoyo_realpath_nofollow() argument 323 if (pathname && kern_path(pathname, 0, &path) == 0) { tomoyo_realpath_nofollow()
|
H A D | common.h | 236 /* Index numbers for access controls with one pathname. */ 283 /* Index numbers for access controls with one pathname and one number. */ 578 /* Structure for attribute checks in addition to pathname checks. */ 586 /* First pathname. Initialized with { NULL, NULL } if no path. */ 588 /* Second pathname. Initialized with { NULL, NULL } if no path. */ 949 char *tomoyo_realpath_nofollow(const char *pathname); 958 (const struct tomoyo_path_info *pathname, const struct tomoyo_group *group);
|
H A D | util.c | 526 * tomoyo_correct_path - Validate a pathname. 528 * @filename: The pathname to check. 530 * Check whether the given pathname follows the naming rules. 830 * tomoyo_path_matches_pattern2 - Do pathname pattern matching.
|
H A D | domain.c | 700 /* Get symlink's pathname of program. */ tomoyo_find_next_domain() 732 * pathname specified in the policy (which may contain 733 * wildcard) rather than the pathname passed to execve()
|
H A D | tomoyo.c | 123 * Execute permission is checked against pathname passed to do_execve() tomoyo_bprm_check_security()
|
/linux-4.1.27/fs/ |
H A D | statfs.c | 77 int user_statfs(const char __user *pathname, struct kstatfs *st) user_statfs() argument 83 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); user_statfs() 172 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) SYSCALL_DEFINE2() 175 int error = user_statfs(pathname, &st); SYSCALL_DEFINE2() 181 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) SYSCALL_DEFINE3() 187 error = user_statfs(pathname, &st); SYSCALL_DEFINE3()
|
H A D | xattr.c | 367 static int path_setxattr(const char __user *pathname, path_setxattr() argument 374 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); path_setxattr() 390 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, SYSCALL_DEFINE5() 394 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); SYSCALL_DEFINE5() 397 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, SYSCALL_DEFINE5() 401 return path_setxattr(pathname, name, value, size, flags, 0); SYSCALL_DEFINE5() 471 static ssize_t path_getxattr(const char __user *pathname, path_getxattr() argument 478 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); path_getxattr() 490 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, SYSCALL_DEFINE4() 493 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); SYSCALL_DEFINE4() 496 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, SYSCALL_DEFINE4() 499 return path_getxattr(pathname, name, value, size, 0); SYSCALL_DEFINE4() 554 static ssize_t path_listxattr(const char __user *pathname, char __user *list, path_listxattr() argument 560 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); path_listxattr() 572 SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, SYSCALL_DEFINE3() 575 return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); SYSCALL_DEFINE3() 578 SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, SYSCALL_DEFINE3() 581 return path_listxattr(pathname, list, size, 0); SYSCALL_DEFINE3() 615 static int path_removexattr(const char __user *pathname, path_removexattr() argument 621 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); path_removexattr() 637 SYSCALL_DEFINE2(removexattr, const char __user *, pathname, SYSCALL_DEFINE2() 640 return path_removexattr(pathname, name, LOOKUP_FOLLOW); SYSCALL_DEFINE2() 643 SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, SYSCALL_DEFINE2() 646 return path_removexattr(pathname, name, 0); SYSCALL_DEFINE2()
|
H A D | namei.c | 11 /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname 44 * Fundamental changes in the pathname lookup mechanisms (namei) 46 * to know the _real_ pathname, not the user-supplied one, in case 56 * With the new dcache, the pathname is stored at each inode, at least as 98 * if the pathname has trailing slashes - follow. 118 * POSIX.1 2.4: an empty pathname is invalid (ENOENT). 155 * names_cache allocation for the pathname, and re-do the copy from getname_flags() 1805 * This is the basic name resolution function, turning a pathname into 2172 * lookup_one_len - filesystem helper to lookup single pathname component 2173 * @name: pathname component to lookup 2371 * @name: full pathname to walk 2429 * @name: pathname from userland 3180 static int do_tmpfile(int dfd, struct filename *pathname, do_tmpfile() argument 3188 int error = path_lookupat(dfd, pathname, do_tmpfile() 3217 audit_inode(pathname, nd->path.dentry, 0); do_tmpfile() 3242 static struct file *path_openat(int dfd, struct filename *pathname, path_openat() argument 3257 error = do_tmpfile(dfd, pathname, nd, flags, op, file, &opened); path_openat() 3261 error = path_init(dfd, pathname, flags, nd); path_openat() 3265 error = do_last(nd, &path, file, op, &opened, pathname); path_openat() 3283 error = do_last(nd, &path, file, op, &opened, pathname); path_openat() 3305 struct file *do_filp_open(int dfd, struct filename *pathname, do_filp_open() argument 3312 filp = path_openat(dfd, pathname, &nd, op, flags | LOOKUP_RCU); do_filp_open() 3314 filp = path_openat(dfd, pathname, &nd, op, flags); do_filp_open() 3316 filp = path_openat(dfd, pathname, &nd, op, flags | LOOKUP_REVAL); do_filp_open() 3417 struct dentry *kern_path_create(int dfd, const char *pathname, kern_path_create() argument 3420 struct filename *filename = getname_kernel(pathname); kern_path_create() 3440 struct dentry *user_path_create(int dfd, const char __user *pathname, user_path_create() argument 3443 struct filename *tmp = getname(pathname); user_path_create() 3571 SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode) SYSCALL_DEFINE3() 3579 dentry = user_path_create(dfd, pathname, &path, lookup_flags); SYSCALL_DEFINE3() 3596 SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode) SYSCALL_DEFINE2() 3598 return sys_mkdirat(AT_FDCWD, pathname, mode); SYSCALL_DEFINE2() 3665 static long do_rmdir(int dfd, const char __user *pathname) do_rmdir() argument 3673 name = user_path_parent(dfd, pathname, &nd, lookup_flags); do_rmdir() 3722 SYSCALL_DEFINE1(rmdir, const char __user *, pathname) SYSCALL_DEFINE1() 3724 return do_rmdir(AT_FDCWD, pathname); SYSCALL_DEFINE1() 3791 static long do_unlinkat(int dfd, const char __user *pathname) do_unlinkat() argument 3801 name = user_path_parent(dfd, pathname, &nd, lookup_flags); do_unlinkat() 3862 SYSCALL_DEFINE3(unlinkat, int, dfd, const char __user *, pathname, int, flag) SYSCALL_DEFINE3() 3868 return do_rmdir(dfd, pathname); SYSCALL_DEFINE3() 3870 return do_unlinkat(dfd, pathname); SYSCALL_DEFINE3() 3873 SYSCALL_DEFINE1(unlink, const char __user *, pathname) SYSCALL_DEFINE1() 3875 return do_unlinkat(AT_FDCWD, pathname); SYSCALL_DEFINE1()
|
H A D | internal.h | 102 extern struct file *do_filp_open(int dfd, struct filename *pathname,
|
H A D | stat.c | 315 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, SYSCALL_DEFINE4() 327 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); SYSCALL_DEFINE4()
|
H A D | open.c | 118 static long do_sys_truncate(const char __user *pathname, loff_t length) do_sys_truncate() argument 128 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); do_sys_truncate() 1051 SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) SYSCALL_DEFINE2() 1053 return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); SYSCALL_DEFINE2()
|
H A D | block_dev.c | 1707 * @pathname: special file representing the block device 1709 * Get a reference to the blockdevice at @pathname in the current 1713 struct block_device *lookup_bdev(const char *pathname) lookup_bdev() argument 1720 if (!pathname || !*pathname) lookup_bdev() 1723 error = kern_path(pathname, LOOKUP_FOLLOW, &path); lookup_bdev()
|
H A D | compat.c | 250 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) COMPAT_SYSCALL_DEFINE2() 253 int error = user_statfs(pathname, &tmp); COMPAT_SYSCALL_DEFINE2() 301 COMPAT_SYSCALL_DEFINE3(statfs64, const char __user *, pathname, compat_size_t, sz, struct compat_statfs64 __user *, buf) COMPAT_SYSCALL_DEFINE3() 309 error = user_statfs(pathname, &tmp); COMPAT_SYSCALL_DEFINE3()
|
H A D | seq_file.c | 462 * seq_path - seq_file interface to print a pathname
|
H A D | dcache.c | 176 * In contrast, 'ct' and 'tcount' can be from a pathname, and do 2833 * prepend_name - prepend a pathname in front of current buffer pointer 2879 * The function will first try to write out the pathname without taking any 2884 * the whole pathname back-tracing sequence again by taking the rename_lock. 3136 * Write full pathname from the root of the filesystem into the buffer.
|
/linux-4.1.27/security/integrity/ima/ |
H A D | ima_main.c | 84 const char **pathname) ima_rdwr_violation_check() 106 *pathname = ima_d_path(&file->f_path, pathbuf); ima_rdwr_violation_check() 109 ima_add_violation(file, *pathname, "invalid_pcr", "ToMToU"); ima_rdwr_violation_check() 111 ima_add_violation(file, *pathname, ima_rdwr_violation_check() 163 const char *pathname = NULL; process_measurement() local 198 &pathbuf, &pathname); process_measurement() 232 if (!pathname) /* ima_rdwr_violation possibly pre-fetched */ process_measurement() 233 pathname = ima_d_path(&file->f_path, &pathbuf); process_measurement() 236 ima_store_measurement(iint, file, pathname, process_measurement() 239 rc = ima_appraise_measurement(function, iint, file, pathname, process_measurement() 242 ima_audit_measurement(iint, pathname); process_measurement() 80 ima_rdwr_violation_check(struct file *file, struct integrity_iint_cache *iint, int must_measure, char **pathbuf, const char **pathname) ima_rdwr_violation_check() argument
|
H A D | ima_api.c | 325 char *pathname = NULL; ima_d_path() local 329 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); ima_d_path() 330 if (IS_ERR(pathname)) { ima_d_path() 333 pathname = NULL; ima_d_path() 336 return pathname ?: (const char *)path->dentry->d_name.name; ima_d_path()
|
/linux-4.1.27/arch/mips/boot/compressed/ |
H A D | calc_vmlinuz_load_addr.c | 23 fprintf(stderr, "Usage: %s <pathname> <vmlinux_load_addr>\n", main()
|
/linux-4.1.27/drivers/acpi/ |
H A D | utils.c | 291 acpi_string pathname, acpi_evaluate_integer() 303 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); acpi_evaluate_integer() 305 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_integer() 310 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); acpi_evaluate_integer() 325 acpi_string pathname, acpi_evaluate_reference() 342 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); acpi_evaluate_reference() 350 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_reference() 355 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_reference() 360 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_reference() 377 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_reference() 383 acpi_util_eval_error(handle, pathname, status); acpi_evaluate_reference() 290 acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data) acpi_evaluate_integer() argument 324 acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list) acpi_evaluate_reference() argument
|
H A D | scan.c | 1742 char pathname[5] = { '_', 'P', 'R', '0' + state, '\0' }; acpi_bus_init_power_state() local 1749 status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer); acpi_bus_init_power_state() 1765 pathname[2] = 'S'; acpi_bus_init_power_state() 1766 if (acpi_has_method(device->handle, pathname)) acpi_bus_init_power_state()
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
H A D | syscalls.c | 62 static long do_spu_create(const char __user *pathname, unsigned int flags, do_spu_create() argument 69 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); do_spu_create()
|
/linux-4.1.27/fs/coda/ |
H A D | pioctl.c | 64 * Look up the pathname. Note that the pathname is in coda_pioctl()
|
/linux-4.1.27/security/apparmor/ |
H A D | path.c | 138 /* disconnected path, don't return pathname starting d_namespace_path() 152 * get_name_to_buffer - get the pathname to a buffer ensure dir / is appended 169 * Append "/" to the pathname. The root directory is a special get_name_to_buffer() 189 * aa_path_name - compute the pathname of a file 196 * @name is a pointer to the beginning of the pathname (which usually differs
|
H A D | lsm.c | 736 /* Maximum pathname length before accesses will start getting rejected */
|
/linux-4.1.27/kernel/ |
H A D | audit_tree.c | 20 char pathname[]; member in struct:audit_tree 87 strcpy(tree->pathname, s); alloc_tree() 106 return tree->pathname; audit_tree_path() 464 audit_log_untrustedstring(ab, rule->tree->pathname); audit_tree_log_remove_rule() 602 err = kern_path(tree->pathname, 0, &path); audit_trim_trees() 631 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) audit_make_tree() argument 634 if (pathname[0] != '/' || audit_make_tree() 639 rule->tree = alloc_tree(pathname); audit_make_tree() 716 if (!strcmp(seed->pathname, tree->pathname)) { audit_add_tree_rule() 735 err = kern_path(tree->pathname, 0, &path); audit_add_tree_rule() 813 err = kern_path(tree->pathname, 0, &path2); audit_tag_tree()
|
H A D | sysctl_binary.c | 1303 char *pathname; binary_sysctl() local 1306 pathname = sysctl_getname(name, nlen, &table); binary_sysctl() 1307 result = PTR_ERR(pathname); binary_sysctl() 1308 if (IS_ERR(pathname)) binary_sysctl() 1324 file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0); binary_sysctl() 1333 __putname(pathname); binary_sysctl()
|
H A D | acct.c | 190 static int acct_on(struct filename *pathname) acct_on() argument 204 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0); acct_on()
|
H A D | audit.h | 226 /* Indicates that audit should log the full pathname. */
|
H A D | auditfilter.c | 1198 * parent_len - find the length of the parent portion of a pathname 1199 * @path: pathname of which to determine length 1231 * @path: full pathname that we're comparing
|
H A D | audit.c | 1619 char *p, *pathname; audit_log_d_path() local 1625 pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); audit_log_d_path() 1626 if (!pathname) { audit_log_d_path() 1630 p = d_path(path, pathname, PATH_MAX+11); audit_log_d_path() 1636 kfree(pathname); audit_log_d_path()
|
H A D | auditsc.c | 1696 * @uptr: userland ptr to pathname
|
/linux-4.1.27/fs/freevxfs/ |
H A D | vxfs_immed.c | 67 * @np: pathname lookup data for the current path walk 70 * vxfs_immed_follow_link restarts the pathname lookup with
|
H A D | vxfs_lookup.c | 192 * vxfs_lookup - lookup pathname component 198 * vxfs_lookup tries to lookup the pathname component described
|
/linux-4.1.27/fs/cifs/ |
H A D | smberr.h | 43 of a file's pathname could not be 46 component in a pathname could not be 110 pathname that was not a link. */ 154 #define ERRfilespecs 67 /* The Fid and pathname parameters
|
H A D | cifs_unicode.c | 438 * Convert 16 bit Unicode pathname to wire format from string in current code
|
H A D | inode.c | 2073 * Set file size by pathname rather than by handle either because no cifs_set_file_size()
|
H A D | cifssmb.c | 25 /* These are mostly routines that operate on a pathname, or on a tree id */ 5704 an open handle, rather than by pathname - this is awkward due to
|
/linux-4.1.27/tools/perf/ |
H A D | builtin-buildid-cache.c | 224 static int build_id_cache__purge_path(const char *pathname) build_id_cache__purge_path() argument 230 err = build_id_cache__list_build_ids(pathname, &list); build_id_cache__purge_path() 236 pr_debug("Removing %s %s: %s\n", pos->s, pathname, strlist__for_each() 244 pr_debug("Purging %s: %s\n", pathname, err ? "FAIL" : "Ok");
|
H A D | builtin-trace.c | 1261 static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname) trace__set_fd_pathname() argument 1282 ttrace->paths.table[fd] = strdup(pathname); trace__set_fd_pathname() 1289 char linkname[PATH_MAX], pathname[PATH_MAX]; thread__read_fd_path() local 1301 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) thread__read_fd_path() 1304 ret = readlink(linkname, pathname, sizeof(pathname)); thread__read_fd_path() 1309 pathname[ret] = '\0'; thread__read_fd_path() 1310 return trace__set_fd_pathname(thread, fd, pathname); thread__read_fd_path() 1846 trace->last_vfs_getname = perf_evsel__rawptr(evsel, sample, "pathname"); trace__vfs_getname() 2099 if (perf_evsel__field(evsel, "pathname") == NULL) { perf_evlist__add_vfs_getname()
|
H A D | builtin-report.c | 624 "file", "vmlinux pathname"), cmd_report() 626 "file", "kallsyms pathname"), cmd_report()
|
H A D | builtin-annotate.c | 305 "file", "vmlinux pathname"), cmd_annotate()
|
H A D | builtin-inject.c | 445 "kallsyms pathname"), cmd_inject()
|
H A D | builtin-probe.c | 371 "file", "vmlinux pathname"), __cmd_probe()
|
H A D | builtin-script.c | 1541 "file", "vmlinux pathname"), cmd_script() 1543 "file", "kallsyms pathname"), cmd_script()
|
H A D | builtin-diff.c | 795 "file", "kallsyms pathname"),
|
H A D | builtin-record.c | 220 * dso->long_name to a real pathname it found. In this case process_buildids()
|
H A D | builtin-top.c | 1083 "file", "vmlinux pathname"), cmd_top()
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | compat_wrapper.c | 64 COMPAT_SYSCALL_WRAP2(creat, const char __user *, pathname, umode_t, mode); 66 COMPAT_SYSCALL_WRAP1(unlink, const char __user *, pathname); 76 COMPAT_SYSCALL_WRAP2(mkdir, const char __user *, pathname, umode_t, mode); 77 COMPAT_SYSCALL_WRAP1(rmdir, const char __user *, pathname); 181 COMPAT_SYSCALL_WRAP3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode); 184 COMPAT_SYSCALL_WRAP3(unlinkat, int, dfd, const char __user *, pathname, int, flag);
|
/linux-4.1.27/arch/mips/include/asm/fw/arc/ |
H A D | hinv.h | 135 /* internal structure that holds pathname parsing data */
|
/linux-4.1.27/fs/notify/fanotify/ |
H A D | fanotify_user.c | 802 const char __user *, pathname) SYSCALL_DEFINE5() 811 pr_debug("%s: fanotify_fd=%d flags=%x dfd=%d pathname=%p mask=%llx\n", SYSCALL_DEFINE5() 812 __func__, fanotify_fd, flags, dfd, pathname, mask); SYSCALL_DEFINE5() 874 ret = fanotify_find_path(dfd, pathname, &path, flags); SYSCALL_DEFINE5() 912 const char __user *, pathname) COMPAT_SYSCALL_DEFINE6() 920 dfd, pathname); COMPAT_SYSCALL_DEFINE6()
|
/linux-4.1.27/fs/nfs/ |
H A D | mount_clnt.c | 299 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) encode_mntdirpath() argument 301 const u32 pathname_len = strlen(pathname); encode_mntdirpath() 305 xdr_encode_opaque(p, pathname, pathname_len); encode_mntdirpath()
|
H A D | nfs4namespace.c | 28 * Convert the NFSv4 pathname components into a standard posix path. 32 static inline char *nfs4_pathname_string(const struct nfs4_pathname *pathname, nfs4_pathname_string() argument 41 n = pathname->ncomponents; nfs4_pathname_string() 43 const struct nfs4_string *component = &pathname->components[n]; nfs4_pathname_string()
|
H A D | namespace.c | 38 * Helper function for constructing the server pathname
|
H A D | nfs2xdr.c | 463 dprintk("NFS: returned pathname too long: %u\n", length); decode_path() 466 dprintk("NFS: server cheating in pathname result: " decode_path()
|
H A D | nfs3xdr.c | 263 dprintk("NFS: returned pathname too long: %u\n", count); decode_nfspath3() 266 dprintk("NFS: server cheating in pathname result: " decode_nfspath3()
|
H A D | super.c | 1929 dfprintk(MOUNT, "NFS: export pathname too long\n"); nfs_parse_devname()
|
H A D | nfs4xdr.c | 3562 /* a root pathname is sent as a zero component4 */ decode_pathname()
|
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/ |
H A D | kvm.sh | 70 echo " --results absolute-pathname" 102 checkarg --datestamp "(relative pathname)" "$#" "$2" '^[^/]*$' '^--' 148 checkarg --results "(absolute pathname)" "$#" "$2" '^/' '^error'
|
/linux-4.1.27/fs/cachefiles/ |
H A D | key.c | 1 /* Key to pathname encoder
|
/linux-4.1.27/fs/notify/inotify/ |
H A D | inotify_user.c | 204 * fsnotify only stores the pathname, so here we have to send the pathname copy_event_to_user() 205 * and then pad that pathname out to a multiple of sizeof(inotify_event) copy_event_to_user() 699 SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, SYSCALL_DEFINE3() 728 ret = inotify_find_inode(pathname, &path, flags); SYSCALL_DEFINE3()
|
/linux-4.1.27/include/acpi/ |
H A D | acpixf.h | 488 acpi_string pathname, 510 acpi_string pathname, 517 acpi_string pathname, 645 acpi_string pathname, 650 acpi_string pathname))
|
H A D | acpi_bus.h | 45 acpi_string pathname, 49 acpi_string pathname,
|
H A D | acpiosxf.h | 385 void *acpi_os_open_directory(char *pathname,
|
H A D | acexcep.h | 273 "An invalid character was found in a pathname"),
|
H A D | acoutput.h | 189 * usually includes the entire pathname to the module making the
|
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/ |
H A D | oslinuxtbl.c | 90 osl_get_customized_table(char *pathname, 1280 * PARAMETERS: pathname - Directory to find Linux customized table 1297 osl_get_customized_table(char *pathname, osl_get_customized_table() argument 1312 table_dir = acpi_os_open_directory(pathname, "*", REQUEST_FILE_ONLY); osl_get_customized_table() 1339 /* Create the table pathname */ osl_get_customized_table() 1342 sprintf(table_filename, "%s/%4.4s%d", pathname, osl_get_customized_table() 1345 sprintf(table_filename, "%s/%4.4s", pathname, osl_get_customized_table()
|
H A D | osunixdir.c | 70 * PARAMETERS: dir_pathname - Full pathname to the directory
|
/linux-4.1.27/drivers/md/ |
H A D | dm-uevent.c | 179 * @path: string containing pathname
|
H A D | md.c | 5755 file->pathname[0] = '\0'; get_bitmap_file() 5757 file->pathname, sizeof(file->pathname))), get_bitmap_file() 5761 memmove(file->pathname, ptr, get_bitmap_file() 5762 sizeof(file->pathname)-(ptr-file->pathname)); get_bitmap_file()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | mk712.c | 48 MODULE_AUTHOR("Daniel Quinlan <quinlan@pathname.com>, Vojtech Pavlik <vojtech@suse.cz>");
|
/linux-4.1.27/include/linux/ |
H A D | string.h | 151 * kbasename - return the last part of a pathname.
|
H A D | syscalls.h | 479 asmlinkage long sys_unlink(const char __user *pathname); 516 asmlinkage long sys_creat(const char __user *pathname, umode_t mode); 581 asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode); 584 asmlinkage long sys_rmdir(const char __user *pathname); 756 asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode); 757 asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag); 824 const char __user *pathname);
|
H A D | compat.h | 493 asmlinkage long compat_sys_statfs(const char __user *pathname, 497 asmlinkage long compat_sys_statfs64(const char __user *pathname,
|
H A D | security.h | 268 * pathname of the object being mounted. 389 * @old_name contains the pathname of file. 396 * @old_name contains the pathname of file. 478 * Check permission to follow a symbolic link when looking up a pathname.
|
/linux-4.1.27/include/uapi/linux/raid/ |
H A D | md_u.h | 145 char pathname[4096]; member in struct:mdu_bitmap_file_s
|
/linux-4.1.27/scripts/dtc/ |
H A D | srcpos.h | 39 * If the source file is a relative pathname, then it is searched for in the
|
/linux-4.1.27/fs/afs/ |
H A D | afs.h | 20 #define AFSPATHMAX 1024 /* maximum length of a pathname plus NUL */
|
/linux-4.1.27/drivers/mtd/ubi/ |
H A D | kapi.c | 296 * @pathname: volume character device node path 302 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) ubi_open_volume_path() argument 308 dbg_gen("open volume %s, mode %d", pathname, mode); ubi_open_volume_path() 310 if (!pathname || !*pathname) ubi_open_volume_path() 313 error = kern_path(pathname, LOOKUP_FOLLOW, &path); ubi_open_volume_path()
|
/linux-4.1.27/fs/nfsd/ |
H A D | nfsctl.c | 286 * absolute pathname of a local file system 339 * path: export pathname 1049 * write_recoverydir - Set or report the pathname of the recovery directory 1058 * buf: C string containing the pathname 1065 * containing the current recovery pathname setting;
|
H A D | export.c | 131 /* now we want a pathname, or empty meaning NEGATIVE */ expkey_parse()
|
H A D | nfs3xdr.c | 461 /* now decode the pathname, which might be larger than the first page. nfs3svc_decode_symlinkargs()
|
H A D | vfs.c | 240 * Look up one component of a pathname.
|
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/ |
H A D | channel.h | 371 /* Given a file pathname <s> (with '/' or '\' separating directory nodes), 372 * returns a pointer to the beginning of a node within that pathname such 374 * NOT more than <n>. Note that if the pathname has less than <n> nodes
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 239 static int checked_open(const char *pathname, int flags) checked_open() argument 241 int fd = open(pathname, flags); checked_open() 244 perror(pathname); checked_open()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | mpssd.c | 1400 char pathname[PATH_MAX]; mic_config() local 1405 snprintf(pathname, PATH_MAX - 1, "%s/%s/%s", mic_config() 1408 fd = open(pathname, O_RDONLY); mic_config() 1411 mic->name, pathname, strerror(errno)); mic_config() 1419 mic->name, pathname, strerror(errno)); mic_config() 1425 mic->name, pathname, strerror(errno)); mic_config()
|
/linux-4.1.27/tools/power/x86/turbostat/ |
H A D | turbostat.c | 264 char pathname[32]; get_msr() local 267 sprintf(pathname, "/dev/cpu/%d/msr", cpu); get_msr() 268 fd = open(pathname, O_RDONLY); get_msr() 270 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); get_msr() 276 err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); get_msr() 1698 char pathname[32]; check_dev_msr() local 1700 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); check_dev_msr() 1701 if (stat(pathname, &sb)) check_dev_msr() 1714 char pathname[32]; check_permissions() local 1729 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); check_permissions() 1730 if (euidaccess(pathname, R_OK)) { check_permissions()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_ioctl32.h | 94 compat_uptr_t path; /* user pathname */
|
H A D | xfs_ioctl.c | 138 * No need to do permission checks on the various pathname components
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | osf_sys.c | 339 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, SYSCALL_DEFINE3() 343 int error = user_statfs(pathname, &linux_stat); SYSCALL_DEFINE3() 395 SYSCALL_DEFINE3(osf_statfs64, char __user *, pathname, SYSCALL_DEFINE3() 399 int error = user_statfs(pathname, &linux_stat); SYSCALL_DEFINE3()
|
/linux-4.1.27/fs/autofs4/ |
H A D | dev-ioctl.c | 194 static int find_autofs_mount(const char *pathname, find_autofs_mount() argument 200 int err = kern_path_mountpoint(AT_FDCWD, pathname, &path, 0); find_autofs_mount()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
H A D | storage_common.c | 343 if (fsg_lun_is_open(curlun)) { /* Get the complete pathname */ fsg_show_file()
|
/linux-4.1.27/fs/proc/ |
H A D | base.c | 1404 char *pathname; do_proc_readlink() local 1410 pathname = d_path(path, tmp, PAGE_SIZE); do_proc_readlink() 1411 len = PTR_ERR(pathname); do_proc_readlink() 1412 if (IS_ERR(pathname)) do_proc_readlink() 1414 len = tmp + PAGE_SIZE - 1 - pathname; do_proc_readlink() 1418 if (copy_to_user(buffer, pathname, len)) do_proc_readlink()
|
/linux-4.1.27/mm/ |
H A D | swapfile.c | 1811 struct filename *pathname; SYSCALL_DEFINE1() local 1820 pathname = getname(specialfile); SYSCALL_DEFINE1() 1821 if (IS_ERR(pathname)) SYSCALL_DEFINE1() 1822 return PTR_ERR(pathname); SYSCALL_DEFINE1() 1824 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); SYSCALL_DEFINE1() 1953 putname(pathname); SYSCALL_DEFINE1()
|
/linux-4.1.27/fs/nilfs2/ |
H A D | namei.c | 2 * namei.c - NILFS pathname lookup operations.
|
/linux-4.1.27/include/linux/mtd/ |
H A D | ubi.h | 243 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
|
/linux-4.1.27/tools/testing/selftests/exec/ |
H A D | execveat.c | 193 * Execute as a long pathname relative to ".". If this is a script, check_execveat_pathmax()
|
/linux-4.1.27/fs/xfs/libxfs/ |
H A D | xfs_fs.h | 394 void __user *path; /* user pathname */
|
/linux-4.1.27/fs/debugfs/ |
H A D | inode.c | 445 * @f: function to be called when pathname resolution steps on that one.
|
/linux-4.1.27/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 144 .argDescrip = "pathname",
|
/linux-4.1.27/fs/jfs/ |
H A D | namei.c | 869 * ENAMETOOLONG: pathname resolution of a symbolic link produced 880 int ssize; /* source pathname size */ jfs_symlink()
|
/linux-4.1.27/lib/ |
H A D | dynamic_debug.c | 301 * file <full-pathname>
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
H A D | init.c | 689 * the pathname to the firmware file. Used (for now) to find a
|
/linux-4.1.27/fs/ext4/ |
H A D | super.c | 469 char pathname[80], *path; __ext4_error_file() local 474 path = d_path(&(file->f_path), pathname, sizeof(pathname)); __ext4_error_file()
|
/linux-4.1.27/sound/isa/wavefront/ |
H A D | wavefront_synth.c | 101 MODULE_PARM_DESC(ospath, "pathname to processed ICS2115 OS firmware");
|
/linux-4.1.27/scripts/ |
H A D | checkpatch.pl | 987 # The pathname on a #include may be surrounded by '<' and '>'. 1800 "use relative pathname instead of absolute in changelog text\n" . $herecurr);
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | prom_init.c | 1786 /* Get the full OF pathname of the stdout device */ prom_init_stdout()
|
/linux-4.1.27/security/selinux/ |
H A D | hooks.c | 1609 pathname if needed. */ dentry_has_perm() 1624 pathname if needed. */ path_has_perm()
|
/linux-4.1.27/arch/tile/include/hv/ |
H A D | hypervisor.h | 1259 /** Requests the inode for a specific full pathname.
|