pathname 343 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, pathname 347 arch/alpha/kernel/osf_sys.c int error = user_statfs(pathname, &linux_stat); pathname 399 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE3(osf_statfs64, char __user *, pathname, pathname 403 arch/alpha/kernel/osf_sys.c int error = user_statfs(pathname, &linux_stat); pathname 23 arch/arm64/kernel/sys32.c COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname, pathname 38 arch/arm64/kernel/sys32.c return kcompat_sys_statfs64(pathname, sz, buf); pathname 88 arch/arm64/kernel/sys32.c COMPAT_SYSCALL_DEFINE4(aarch32_truncate64, const char __user *, pathname, pathname 91 arch/arm64/kernel/sys32.c return ksys_truncate(pathname, arg_u64(length)); pathname 29 arch/parisc/kernel/sys_parisc32.c const char __user * pathname) pathname 33 arch/parisc/kernel/sys_parisc32.c dfd, pathname); pathname 63 arch/powerpc/platforms/cell/spufs/syscalls.c static long do_spu_create(const char __user *pathname, unsigned int flags, pathname 70 arch/powerpc/platforms/cell/spufs/syscalls.c dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); pathname 121 drivers/acpi/acpica/acinterp.h u8 begin, u8 *aml, char *pathname); pathname 1182 drivers/acpi/acpica/aclocal.h char pathname[ACPI_DB_LINE_BUFFER_SIZE]; pathname 187 drivers/acpi/acpica/acnamesp.h void acpi_ns_print_pathname(u32 num_segments, const char *pathname); pathname 214 drivers/acpi/acpica/acnamesp.h acpi_ns_check_argument_count(char *pathname, pathname 220 drivers/acpi/acpica/acnamesp.h acpi_ns_check_acpi_compliance(char *pathname, pathname 604 drivers/acpi/acpica/acutils.h void ut_convert_backslashes(char *pathname); pathname 693 drivers/acpi/acpica/acutils.h char *pathname, pathname 700 drivers/acpi/acpica/acutils.h char *pathname, pathname 707 drivers/acpi/acpica/acutils.h char *pathname, pathname 1063 drivers/acpi/acpica/dbdisply.c char *pathname; pathname 1070 drivers/acpi/acpica/dbdisply.c pathname = acpi_ns_get_normalized_pathname(node, TRUE); pathname 1071 drivers/acpi/acpica/dbdisply.c if (!pathname) { pathname 1089 drivers/acpi/acpica/dbdisply.c acpi_os_printf(" Device Name: %s (%p)\n", pathname, node); pathname 1094 drivers/acpi/acpica/dbdisply.c ACPI_FREE(pathname); pathname 143 drivers/acpi/acpica/dbexec.c status = acpi_evaluate_object(NULL, info->pathname, pathname 164 drivers/acpi/acpica/dbexec.c info->pathname)); pathname 200 drivers/acpi/acpica/dbexec.c info->pathname[0] = 0; pathname 202 drivers/acpi/acpica/dbexec.c if (acpi_ut_safe_strcat(info->pathname, sizeof(info->pathname), pathname 209 drivers/acpi/acpica/dbexec.c if (acpi_ut_safe_strcat(info->pathname, sizeof(info->pathname), pathname 215 drivers/acpi/acpica/dbexec.c acpi_db_prep_namestring(info->pathname); pathname 218 drivers/acpi/acpica/dbexec.c acpi_os_printf("Evaluating %s\n", info->pathname); pathname 408 drivers/acpi/acpica/dbexec.c status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, pathname 434 drivers/acpi/acpica/dbexec.c allocations, acpi_gbl_db_method_info.pathname); pathname 440 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname, pathname 448 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname, pathname 466 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname); pathname 532 drivers/acpi/acpica/dbexec.c acpi_format_exception(status), info->pathname, i); pathname 546 drivers/acpi/acpica/dbexec.c info->pathname, return_obj.pointer, pathname 601 drivers/acpi/acpica/dbexec.c acpi_format_exception(status), info->pathname); pathname 610 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname, pathname 665 drivers/acpi/acpica/dbexec.c status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, pathname 670 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname); pathname 812 drivers/acpi/acpica/dbexec.c status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, pathname 817 drivers/acpi/acpica/dbexec.c acpi_gbl_db_method_info.pathname); pathname 366 drivers/acpi/acpica/dbmethod.c char *pathname; pathname 382 drivers/acpi/acpica/dbmethod.c pathname = acpi_ns_get_external_pathname(node); pathname 383 drivers/acpi/acpica/dbmethod.c if (!pathname) { pathname 391 drivers/acpi/acpica/dbmethod.c ACPI_FREE(pathname); pathname 421 drivers/acpi/acpica/dbmethod.c acpi_os_printf("%-32s returned %s\n", pathname, pathname 424 drivers/acpi/acpica/dbmethod.c ACPI_FREE(pathname); pathname 404 drivers/acpi/acpica/dbnames.c char *pathname; pathname 412 drivers/acpi/acpica/dbnames.c pathname = acpi_ns_get_normalized_pathname(node, TRUE); pathname 413 drivers/acpi/acpica/dbnames.c if (!pathname) { pathname 426 drivers/acpi/acpica/dbnames.c acpi_os_printf("%-32s Arguments %X, Return Types: %s", pathname, pathname 441 drivers/acpi/acpica/dbnames.c acpi_ns_check_acpi_compliance(pathname, node, predefined); pathname 443 drivers/acpi/acpica/dbnames.c ACPI_FREE(pathname); pathname 979 drivers/acpi/acpica/dbtest.c char *pathname; pathname 1003 drivers/acpi/acpica/dbtest.c pathname = acpi_ns_get_normalized_pathname(node, TRUE); pathname 1004 drivers/acpi/acpica/dbtest.c if (!pathname) { pathname 1012 drivers/acpi/acpica/dbtest.c ACPI_FREE(pathname); pathname 1066 drivers/acpi/acpica/dbtest.c pathname, arg_type); pathname 1088 drivers/acpi/acpica/dbtest.c pathname, acpi_format_exception(status)); pathname 1090 drivers/acpi/acpica/dbtest.c ACPI_FREE(pathname); pathname 132 drivers/acpi/acpica/extrace.c u8 begin, u8 *aml, char *pathname) pathname 137 drivers/acpi/acpica/extrace.c if (pathname) { pathname 141 drivers/acpi/acpica/extrace.c begin ? "Begin" : "End", aml, pathname)); pathname 170 drivers/acpi/acpica/extrace.c char *pathname = NULL; pathname 176 drivers/acpi/acpica/extrace.c pathname = acpi_ns_get_normalized_pathname(method_node, TRUE); pathname 179 drivers/acpi/acpica/extrace.c enabled = acpi_ex_interpreter_trace_enabled(pathname); pathname 199 drivers/acpi/acpica/extrace.c pathname); pathname 202 drivers/acpi/acpica/extrace.c if (pathname) { pathname 203 drivers/acpi/acpica/extrace.c ACPI_FREE(pathname); pathname 227 drivers/acpi/acpica/extrace.c char *pathname = NULL; pathname 233 drivers/acpi/acpica/extrace.c pathname = acpi_ns_get_normalized_pathname(method_node, TRUE); pathname 241 drivers/acpi/acpica/extrace.c pathname); pathname 259 drivers/acpi/acpica/extrace.c if (pathname) { pathname 260 drivers/acpi/acpica/extrace.c ACPI_FREE(pathname); pathname 282 drivers/acpi/acpica/nsaccess.c char *pathname, pathname 290 drivers/acpi/acpica/nsaccess.c char *path = pathname; pathname 358 drivers/acpi/acpica/nsaccess.c if (!pathname) { pathname 434 drivers/acpi/acpica/nsaccess.c (ACPI_UINT32_MAX, pathname, NULL, pathname 92 drivers/acpi/acpica/nsarguments.c acpi_ns_check_acpi_compliance(char *pathname, pathname 117 drivers/acpi/acpica/nsarguments.c ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, pathname 128 drivers/acpi/acpica/nsarguments.c ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, pathname 152 drivers/acpi/acpica/nsarguments.c ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, pathname 160 drivers/acpi/acpica/nsarguments.c ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, pathname 185 drivers/acpi/acpica/nsarguments.c acpi_ns_check_argument_count(char *pathname, pathname 204 drivers/acpi/acpica/nsarguments.c ACPI_INFO_PREDEFINED((AE_INFO, pathname, pathname 230 drivers/acpi/acpica/nsarguments.c ACPI_WARN_PREDEFINED((AE_INFO, pathname, pathname 237 drivers/acpi/acpica/nsarguments.c ACPI_INFO_PREDEFINED((AE_INFO, pathname, pathname 262 drivers/acpi/acpica/nsarguments.c ACPI_WARN_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, pathname 268 drivers/acpi/acpica/nsarguments.c ACPI_INFO_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, pathname 50 drivers/acpi/acpica/nsdump.c void acpi_ns_print_pathname(u32 num_segments, const char *pathname) pathname 68 drivers/acpi/acpica/nsdump.c isprint((int)pathname[i]) ? pathname 69 drivers/acpi/acpica/nsdump.c acpi_os_printf("%c", pathname[i]) : pathname 73 drivers/acpi/acpica/nsdump.c pathname += ACPI_NAMESEG_SIZE; pathname 681 drivers/acpi/acpica/nsdump.c char *pathname; pathname 697 drivers/acpi/acpica/nsdump.c pathname = acpi_ns_get_normalized_pathname(node, TRUE); pathname 708 drivers/acpi/acpica/nsdump.c acpi_os_printf("%s\n", &pathname[1]); pathname 709 drivers/acpi/acpica/nsdump.c ACPI_FREE(pathname); pathname 636 drivers/acpi/acpica/nsutils.c const char *pathname, pathname 644 drivers/acpi/acpica/nsutils.c ACPI_CAST_PTR(char, pathname)); pathname 648 drivers/acpi/acpica/nsutils.c if (!pathname) { pathname 659 drivers/acpi/acpica/nsutils.c if (ACPI_IS_ROOT_PREFIX(pathname[0]) && (!pathname[1])) { pathname 666 drivers/acpi/acpica/nsutils.c status = acpi_ns_internalize_name(pathname, &internal_path); pathname 683 drivers/acpi/acpica/nsutils.c pathname, acpi_format_exception(status))); pathname 714 drivers/acpi/acpica/nsutils.c const char *pathname, pathname 719 drivers/acpi/acpica/nsutils.c ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname)); pathname 726 drivers/acpi/acpica/nsutils.c status = acpi_ns_get_node_unlocked(prefix_node, pathname, pathname 45 drivers/acpi/acpica/nsxfeval.c acpi_string pathname, pathname 70 drivers/acpi/acpica/nsxfeval.c if (pathname) { pathname 71 drivers/acpi/acpica/nsxfeval.c status = acpi_get_handle(handle, pathname, &target_handle); pathname 164 drivers/acpi/acpica/nsxfeval.c acpi_string pathname, pathname 198 drivers/acpi/acpica/nsxfeval.c if ((pathname) && (ACPI_IS_ROOT_PREFIX(pathname[0]))) { pathname 209 drivers/acpi/acpica/nsxfeval.c if (!pathname) { pathname 215 drivers/acpi/acpica/nsxfeval.c pathname)); pathname 222 drivers/acpi/acpica/nsxfeval.c info->relative_pathname = pathname; pathname 234 drivers/acpi/acpica/nsxfeval.c ACPI_WARN_PREDEFINED((AE_INFO, pathname, pathname 47 drivers/acpi/acpica/nsxfname.c acpi_string pathname, acpi_handle *ret_handle) pathname 57 drivers/acpi/acpica/nsxfname.c if (!ret_handle || !pathname) { pathname 77 drivers/acpi/acpica/nsxfname.c if (ACPI_IS_ROOT_PREFIX(pathname[0])) { pathname 83 drivers/acpi/acpica/nsxfname.c if (!strcmp(pathname, ACPI_NS_ROOT_PATH)) { pathname 98 drivers/acpi/acpica/nsxfname.c acpi_ns_get_node(prefix_node, pathname, ACPI_NS_NO_UPSEARCH, &node); pathname 166 drivers/acpi/acpica/utaddress.c char *pathname; pathname 199 drivers/acpi/acpica/utaddress.c pathname = pathname 213 drivers/acpi/acpica/utaddress.c pathname)); pathname 214 drivers/acpi/acpica/utaddress.c ACPI_FREE(pathname); pathname 597 drivers/acpi/acpica/utdebug.c acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) pathname 602 drivers/acpi/acpica/utdebug.c acpi_ex_trace_point(type, begin, aml, pathname); pathname 605 drivers/acpi/acpica/utdebug.c acpi_os_trace_point(type, begin, aml, pathname); pathname 41 drivers/acpi/acpica/uterror.c char *pathname, pathname 54 drivers/acpi/acpica/uterror.c acpi_os_printf(ACPI_MSG_WARNING "%s: ", pathname); pathname 84 drivers/acpi/acpica/uterror.c char *pathname, u16 node_flags, const char *format, ...) pathname 96 drivers/acpi/acpica/uterror.c acpi_os_printf(ACPI_MSG_INFO "%s: ", pathname); pathname 126 drivers/acpi/acpica/uterror.c char *pathname, pathname 139 drivers/acpi/acpica/uterror.c acpi_os_printf(ACPI_MSG_BIOS_ERROR "%s: ", pathname); pathname 196 drivers/acpi/acpica/utstring.c void ut_convert_backslashes(char *pathname) pathname 199 drivers/acpi/acpica/utstring.c if (!pathname) { pathname 203 drivers/acpi/acpica/utstring.c while (*pathname) { pathname 204 drivers/acpi/acpica/utstring.c if (*pathname == '\\') { pathname 205 drivers/acpi/acpica/utstring.c *pathname = '/'; pathname 208 drivers/acpi/acpica/utstring.c pathname++; pathname 18 drivers/acpi/acpica/utxfmutex.c acpi_string pathname, pathname 39 drivers/acpi/acpica/utxfmutex.c acpi_string pathname, pathname 48 drivers/acpi/acpica/utxfmutex.c if (!ret_obj || (!handle && !pathname)) { pathname 55 drivers/acpi/acpica/utxfmutex.c if (pathname != NULL) { pathname 57 drivers/acpi/acpica/utxfmutex.c acpi_get_handle(handle, pathname, pathname 100 drivers/acpi/acpica/utxfmutex.c acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) pathname 107 drivers/acpi/acpica/utxfmutex.c status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); pathname 136 drivers/acpi/acpica/utxfmutex.c acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) pathname 143 drivers/acpi/acpica/utxfmutex.c status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); pathname 909 drivers/acpi/scan.c char pathname[5] = { '_', 'P', 'R', '0' + state, '\0' }; pathname 916 drivers/acpi/scan.c status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer); pathname 929 drivers/acpi/scan.c pathname[2] = 'S'; pathname 930 drivers/acpi/scan.c if (acpi_has_method(device->handle, pathname)) pathname 271 drivers/acpi/utils.c acpi_string pathname, pathname 283 drivers/acpi/utils.c status = acpi_evaluate_object(handle, pathname, arguments, &buffer); pathname 285 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 290 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, AE_BAD_DATA); pathname 305 drivers/acpi/utils.c acpi_string pathname, pathname 322 drivers/acpi/utils.c status = acpi_evaluate_object(handle, pathname, arguments, &buffer); pathname 330 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 335 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 340 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 358 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 364 drivers/acpi/utils.c acpi_util_eval_error(handle, pathname, status); pathname 6436 drivers/md/md.c ptr = file_path(mddev->bitmap_info.file, file->pathname, pathname 6437 drivers/md/md.c sizeof(file->pathname)); pathname 6441 drivers/md/md.c memmove(file->pathname, ptr, pathname 6442 drivers/md/md.c sizeof(file->pathname)-(ptr-file->pathname)); pathname 289 drivers/mtd/ubi/kapi.c struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) pathname 295 drivers/mtd/ubi/kapi.c dbg_gen("open volume %s, mode %d", pathname, mode); pathname 297 drivers/mtd/ubi/kapi.c if (!pathname || !*pathname) pathname 300 drivers/mtd/ubi/kapi.c error = kern_path(pathname, LOOKUP_FOLLOW, &path); pathname 154 drivers/platform/x86/wmi.c static int get_subobj_info(acpi_handle handle, const char *pathname, pathname 161 drivers/platform/x86/wmi.c status = acpi_get_handle(handle, (char *)pathname, &subobj_handle); pathname 181 fs/autofs/dev-ioctl.c static int find_autofs_mount(const char *pathname, pathname 189 fs/autofs/dev-ioctl.c err = kern_path_mountpoint(AT_FDCWD, pathname, &path, 0); pathname 2159 fs/block_dev.c struct block_device *lookup_bdev(const char *pathname) pathname 2166 fs/block_dev.c if (!pathname || !*pathname) pathname 2169 fs/block_dev.c error = kern_path(pathname, LOOKUP_FOLLOW, &path); pathname 229 fs/direct-io.c char pathname[128]; pathname 235 fs/direct-io.c path = file_path(filp, pathname, sizeof(pathname)); pathname 562 fs/ext4/super.c char pathname[80], *path; pathname 571 fs/ext4/super.c path = file_path(file, pathname, sizeof(pathname)); pathname 69 fs/internal.h long do_mkdirat(int dfd, const char __user *pathname, umode_t mode); pathname 70 fs/internal.h long do_rmdir(int dfd, const char __user *pathname); pathname 123 fs/internal.h extern struct file *do_filp_open(int dfd, struct filename *pathname, pathname 3550 fs/namei.c struct file *do_filp_open(int dfd, struct filename *pathname, pathname 3557 fs/namei.c set_nameidata(&nd, dfd, pathname); pathname 3667 fs/namei.c struct dentry *kern_path_create(int dfd, const char *pathname, pathname 3670 fs/namei.c return filename_create(dfd, getname_kernel(pathname), pathname 3684 fs/namei.c inline struct dentry *user_path_create(int dfd, const char __user *pathname, pathname 3687 fs/namei.c return filename_create(dfd, getname(pathname), path, lookup_flags); pathname 3817 fs/namei.c long do_mkdirat(int dfd, const char __user *pathname, umode_t mode) pathname 3825 fs/namei.c dentry = user_path_create(dfd, pathname, &path, lookup_flags); pathname 3842 fs/namei.c SYSCALL_DEFINE3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode) pathname 3844 fs/namei.c return do_mkdirat(dfd, pathname, mode); pathname 3847 fs/namei.c SYSCALL_DEFINE2(mkdir, const char __user *, pathname, umode_t, mode) pathname 3849 fs/namei.c return do_mkdirat(AT_FDCWD, pathname, mode); pathname 3892 fs/namei.c long do_rmdir(int dfd, const char __user *pathname) pathname 3902 fs/namei.c name = filename_parentat(dfd, getname(pathname), lookup_flags, pathname 3951 fs/namei.c SYSCALL_DEFINE1(rmdir, const char __user *, pathname) pathname 3953 fs/namei.c return do_rmdir(AT_FDCWD, pathname); pathname 4092 fs/namei.c SYSCALL_DEFINE3(unlinkat, int, dfd, const char __user *, pathname, int, flag) pathname 4098 fs/namei.c return do_rmdir(dfd, pathname); pathname 4100 fs/namei.c return do_unlinkat(dfd, getname(pathname)); pathname 4103 fs/namei.c SYSCALL_DEFINE1(unlink, const char __user *, pathname) pathname 4105 fs/namei.c return do_unlinkat(AT_FDCWD, getname(pathname)); pathname 301 fs/nfs/mount_clnt.c static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) pathname 303 fs/nfs/mount_clnt.c const u32 pathname_len = strlen(pathname); pathname 307 fs/nfs/mount_clnt.c xdr_encode_opaque(p, pathname, pathname_len); pathname 33 fs/nfs/nfs4namespace.c static inline char *nfs4_pathname_string(const struct nfs4_pathname *pathname, pathname 42 fs/nfs/nfs4namespace.c n = pathname->ncomponents; pathname 44 fs/nfs/nfs4namespace.c const struct nfs4_string *component = &pathname->components[n]; pathname 948 fs/notify/fanotify/fanotify_user.c int dfd, const char __user *pathname) pathname 962 fs/notify/fanotify/fanotify_user.c __func__, fanotify_fd, flags, dfd, pathname, mask); pathname 1047 fs/notify/fanotify/fanotify_user.c ret = fanotify_find_path(dfd, pathname, &path, flags, pathname 1109 fs/notify/fanotify/fanotify_user.c const char __user *, pathname) pathname 1111 fs/notify/fanotify/fanotify_user.c return do_fanotify_mark(fanotify_fd, flags, mask, dfd, pathname); pathname 1118 fs/notify/fanotify/fanotify_user.c const char __user *, pathname) pathname 1126 fs/notify/fanotify/fanotify_user.c dfd, pathname); pathname 698 fs/notify/inotify/inotify_user.c SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, pathname 745 fs/notify/inotify/inotify_user.c ret = inotify_find_inode(pathname, &path, flags, pathname 121 fs/open.c long do_sys_truncate(const char __user *pathname, loff_t length) pathname 131 fs/open.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 1150 fs/open.c SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) pathname 1152 fs/open.c return ksys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); pathname 1638 fs/proc/base.c char *pathname; pathname 1644 fs/proc/base.c pathname = d_path(path, tmp, PAGE_SIZE); pathname 1645 fs/proc/base.c len = PTR_ERR(pathname); pathname 1646 fs/proc/base.c if (IS_ERR(pathname)) pathname 1648 fs/proc/base.c len = tmp + PAGE_SIZE - 1 - pathname; pathname 1652 fs/proc/base.c if (copy_to_user(buffer, pathname, len)) pathname 387 fs/stat.c static int do_readlinkat(int dfd, const char __user *pathname, pathname 399 fs/stat.c error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); pathname 423 fs/stat.c SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, pathname 426 fs/stat.c return do_readlinkat(dfd, pathname, buf, bufsiz); pathname 95 fs/statfs.c int user_statfs(const char __user *pathname, struct kstatfs *st) pathname 101 fs/statfs.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 190 fs/statfs.c SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) pathname 193 fs/statfs.c int error = user_statfs(pathname, &st); pathname 199 fs/statfs.c SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) pathname 205 fs/statfs.c error = user_statfs(pathname, &st); pathname 300 fs/statfs.c COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) pathname 303 fs/statfs.c int error = user_statfs(pathname, &tmp); pathname 343 fs/statfs.c int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, struct compat_statfs64 __user * buf) pathname 351 fs/statfs.c error = user_statfs(pathname, &tmp); pathname 357 fs/statfs.c COMPAT_SYSCALL_DEFINE3(statfs64, const char __user *, pathname, compat_size_t, sz, struct compat_statfs64 __user *, buf) pathname 359 fs/statfs.c return kcompat_sys_statfs64(pathname, sz, buf); pathname 458 fs/xattr.c static int path_setxattr(const char __user *pathname, pathname 465 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 481 fs/xattr.c SYSCALL_DEFINE5(setxattr, const char __user *, pathname, pathname 485 fs/xattr.c return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); pathname 488 fs/xattr.c SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, pathname 492 fs/xattr.c return path_setxattr(pathname, name, value, size, flags, 0); pathname 556 fs/xattr.c static ssize_t path_getxattr(const char __user *pathname, pathname 563 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 575 fs/xattr.c SYSCALL_DEFINE4(getxattr, const char __user *, pathname, pathname 578 fs/xattr.c return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); pathname 581 fs/xattr.c SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, pathname 584 fs/xattr.c return path_getxattr(pathname, name, value, size, 0); pathname 633 fs/xattr.c static ssize_t path_listxattr(const char __user *pathname, char __user *list, pathname 639 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 651 fs/xattr.c SYSCALL_DEFINE3(listxattr, const char __user *, pathname, char __user *, list, pathname 654 fs/xattr.c return path_listxattr(pathname, list, size, LOOKUP_FOLLOW); pathname 657 fs/xattr.c SYSCALL_DEFINE3(llistxattr, const char __user *, pathname, char __user *, list, pathname 660 fs/xattr.c return path_listxattr(pathname, list, size, 0); pathname 694 fs/xattr.c static int path_removexattr(const char __user *pathname, pathname 700 fs/xattr.c error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); pathname 716 fs/xattr.c SYSCALL_DEFINE2(removexattr, const char __user *, pathname, pathname 719 fs/xattr.c return path_removexattr(pathname, name, LOOKUP_FOLLOW); pathname 722 fs/xattr.c SYSCALL_DEFINE2(lremovexattr, const char __user *, pathname, pathname 725 fs/xattr.c return path_removexattr(pathname, name, 0); pathname 28 include/acpi/acpi_bus.h acpi_string pathname, pathname 32 include/acpi/acpi_bus.h acpi_string pathname, pathname 371 include/acpi/acpiosxf.h u8 begin, u8 *aml, char *pathname); pathname 402 include/acpi/acpiosxf.h void *acpi_os_open_directory(char *pathname, pathname 523 include/acpi/acpixf.h acpi_string pathname, pathname 545 include/acpi/acpixf.h acpi_string pathname, pathname 552 include/acpi/acpixf.h acpi_string pathname, pathname 678 include/acpi/acpixf.h acpi_string pathname, pathname 683 include/acpi/acpixf.h acpi_string pathname)) pathname 941 include/acpi/acpixf.h u8 *aml, char *pathname)) pathname 672 include/linux/bpf.h int bpf_obj_pin_user(u32 ufd, const char __user *pathname); pathname 673 include/linux/bpf.h int bpf_obj_get_user(const char __user *pathname, int flags); pathname 797 include/linux/bpf.h static inline int bpf_obj_get_user(const char __user *pathname, int flags) pathname 560 include/linux/compat.h asmlinkage long compat_sys_statfs(const char __user *pathname, pathname 562 include/linux/compat.h asmlinkage long compat_sys_statfs64(const char __user *pathname, pathname 954 include/linux/compat.h int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, pathname 230 include/linux/mtd/ubi.h struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode); pathname 396 include/linux/syscalls.h asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode); pathname 397 include/linux/syscalls.h asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag); pathname 921 include/linux/syscalls.h const char __user *pathname); pathname 1037 include/linux/syscalls.h asmlinkage long sys_unlink(const char __user *pathname); pathname 1043 include/linux/syscalls.h asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode); pathname 1044 include/linux/syscalls.h asmlinkage long sys_rmdir(const char __user *pathname); pathname 1096 include/linux/syscalls.h asmlinkage long sys_creat(const char __user *pathname, umode_t mode); pathname 1282 include/linux/syscalls.h static inline long ksys_unlink(const char __user *pathname) pathname 1284 include/linux/syscalls.h return do_unlinkat(AT_FDCWD, getname(pathname)); pathname 1287 include/linux/syscalls.h extern long do_rmdir(int dfd, const char __user *pathname); pathname 1289 include/linux/syscalls.h static inline long ksys_rmdir(const char __user *pathname) pathname 1291 include/linux/syscalls.h return do_rmdir(AT_FDCWD, pathname); pathname 1294 include/linux/syscalls.h extern long do_mkdirat(int dfd, const char __user *pathname, umode_t mode); pathname 1296 include/linux/syscalls.h static inline long ksys_mkdir(const char __user *pathname, umode_t mode) pathname 1298 include/linux/syscalls.h return do_mkdirat(AT_FDCWD, pathname, mode); pathname 1388 include/linux/syscalls.h extern long do_sys_truncate(const char __user *pathname, loff_t length); pathname 1390 include/linux/syscalls.h static inline long ksys_truncate(const char __user *pathname, loff_t length) pathname 1392 include/linux/syscalls.h return do_sys_truncate(pathname, length); pathname 426 include/uapi/linux/bpf.h __aligned_u64 pathname; pathname 146 include/uapi/linux/raid/md_u.h char pathname[4096]; pathname 193 kernel/acct.c static int acct_on(struct filename *pathname) pathname 207 kernel/acct.c file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0); pathname 2025 kernel/audit.c char *p, *pathname; pathname 2031 kernel/audit.c pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); pathname 2032 kernel/audit.c if (!pathname) { pathname 2036 kernel/audit.c p = d_path(path, pathname, PATH_MAX+11); pathname 2042 kernel/audit.c kfree(pathname); pathname 266 kernel/audit.h char *pathname, int len); pathname 280 kernel/audit.h extern int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op); pathname 74 kernel/audit_fsnotify.c struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pathname, int len) pathname 82 kernel/audit_fsnotify.c if (pathname[0] != '/' || pathname[len-1] == '/') pathname 85 kernel/audit_fsnotify.c dentry = kern_path_locked(pathname, &path); pathname 99 kernel/audit_fsnotify.c audit_mark->path = pathname; pathname 22 kernel/audit_tree.c char pathname[]; pathname 106 kernel/audit_tree.c strcpy(tree->pathname, s); pathname 125 kernel/audit_tree.c return tree->pathname; pathname 538 kernel/audit_tree.c audit_log_untrustedstring(ab, rule->tree->pathname); pathname 698 kernel/audit_tree.c err = kern_path(tree->pathname, 0, &path); pathname 728 kernel/audit_tree.c int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) pathname 731 kernel/audit_tree.c if (pathname[0] != '/' || pathname 736 kernel/audit_tree.c rule->tree = alloc_tree(pathname); pathname 811 kernel/audit_tree.c if (!strcmp(seed->pathname, tree->pathname)) { pathname 830 kernel/audit_tree.c err = kern_path(tree->pathname, 0, &path); pathname 908 kernel/audit_tree.c err = kern_path(tree->pathname, 0, &path2); pathname 525 kernel/audit_watch.c char *pathname; pathname 527 kernel/audit_watch.c pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL); pathname 528 kernel/audit_watch.c if (!pathname) pathname 531 kernel/audit_watch.c audit_mark = audit_alloc_mark(new, pathname, strlen(pathname)); pathname 533 kernel/audit_watch.c kfree(pathname); pathname 382 kernel/bpf/inode.c static int bpf_obj_do_pin(const struct filename *pathname, void *raw, pathname 391 kernel/bpf/inode.c dentry = kern_path_create(AT_FDCWD, pathname->name, &path, 0); pathname 422 kernel/bpf/inode.c int bpf_obj_pin_user(u32 ufd, const char __user *pathname) pathname 429 kernel/bpf/inode.c pname = getname(pathname); pathname 447 kernel/bpf/inode.c static void *bpf_obj_do_get(const struct filename *pathname, pathname 455 kernel/bpf/inode.c ret = kern_path(pathname->name, LOOKUP_FOLLOW, &path); pathname 479 kernel/bpf/inode.c int bpf_obj_get_user(const char __user *pathname, int flags) pathname 491 kernel/bpf/inode.c pname = getname(pathname); pathname 1779 kernel/bpf/syscall.c return bpf_obj_pin_user(attr->bpf_fd, u64_to_user_ptr(attr->pathname)); pathname 1788 kernel/bpf/syscall.c return bpf_obj_get_user(u64_to_user_ptr(attr->pathname), pathname 1285 kernel/sysctl_binary.c char *pathname; pathname 1288 kernel/sysctl_binary.c pathname = sysctl_getname(name, nlen, &table); pathname 1289 kernel/sysctl_binary.c result = PTR_ERR(pathname); pathname 1290 kernel/sysctl_binary.c if (IS_ERR(pathname)) pathname 1306 kernel/sysctl_binary.c file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0); pathname 1315 kernel/sysctl_binary.c __putname(pathname); pathname 632 lib/string_helpers.c char *temp, *pathname; pathname 642 lib/string_helpers.c pathname = file_path(file, temp, PATH_MAX + 11); pathname 643 lib/string_helpers.c if (IS_ERR(pathname)) pathname 644 lib/string_helpers.c pathname = kstrdup("<too_long>", gfp); pathname 646 lib/string_helpers.c pathname = kstrdup_quotable(pathname, gfp); pathname 649 lib/string_helpers.c return pathname; pathname 2524 mm/swapfile.c struct filename *pathname; pathname 2533 mm/swapfile.c pathname = getname(specialfile); pathname 2534 mm/swapfile.c if (IS_ERR(pathname)) pathname 2535 mm/swapfile.c return PTR_ERR(pathname); pathname 2537 mm/swapfile.c victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); pathname 2689 mm/swapfile.c putname(pathname); pathname 1422 samples/mic/mpssd/mpssd.c char pathname[PATH_MAX]; pathname 1425 samples/mic/mpssd/mpssd.c snprintf(pathname, PATH_MAX - 1, "%s/%s/%s", pathname 1428 samples/mic/mpssd/mpssd.c fd = open(pathname, O_RDONLY); pathname 1431 samples/mic/mpssd/mpssd.c mic->name, pathname, strerror(errno)); pathname 43 scripts/gcc-plugins/randomize_layout_plugin.c const char *pathname; pathname 792 scripts/gcc-plugins/randomize_layout_plugin.c for (entry = whitelist; entry->pathname; entry++) { pathname 793 scripts/gcc-plugins/randomize_layout_plugin.c if (!strstr(xloc.file, entry->pathname)) pathname 386 security/integrity/ima/ima_api.c char *pathname = NULL; pathname 390 security/integrity/ima/ima_api.c pathname = d_absolute_path(path, *pathbuf, PATH_MAX); pathname 391 security/integrity/ima/ima_api.c if (IS_ERR(pathname)) { pathname 394 security/integrity/ima/ima_api.c pathname = NULL; pathname 398 security/integrity/ima/ima_api.c if (!pathname) { pathname 400 security/integrity/ima/ima_api.c pathname = namebuf; pathname 403 security/integrity/ima/ima_api.c return pathname; pathname 77 security/integrity/ima/ima_main.c char **pathbuf, const char **pathname, pathname 88 security/integrity/ima/ima_main.c *pathname = ima_d_path(&file->f_path, pathbuf, pathname 90 security/integrity/ima/ima_main.c integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, *pathname, pathname 110 security/integrity/ima/ima_main.c const char **pathname, pathname 136 security/integrity/ima/ima_main.c *pathname = ima_d_path(&file->f_path, pathbuf, filename); pathname 139 security/integrity/ima/ima_main.c ima_add_violation(file, *pathname, iint, pathname 142 security/integrity/ima/ima_main.c ima_add_violation(file, *pathname, iint, pathname 201 security/integrity/ima/ima_main.c const char *pathname = NULL; pathname 240 security/integrity/ima/ima_main.c &pathbuf, &pathname, filename); pathname 298 security/integrity/ima/ima_main.c &pathname, filename); pathname 331 security/integrity/ima/ima_main.c pathname = ima_d_path(&file->f_path, &pathbuf, filename); pathname 334 security/integrity/ima/ima_main.c ima_store_measurement(iint, file, pathname, pathname 339 security/integrity/ima/ima_main.c rc = ima_appraise_measurement(func, iint, file, pathname, pathname 344 security/integrity/ima/ima_main.c &pathname, filename); pathname 347 security/integrity/ima/ima_main.c ima_audit_measurement(iint, pathname); pathname 22 security/loadpin/loadpin.c char *cmdline, *pathname; pathname 24 security/loadpin/loadpin.c pathname = kstrdup_quotable_file(file, GFP_KERNEL); pathname 29 security/loadpin/loadpin.c (pathname && pathname[0] != '<') ? "\"" : "", pathname 30 security/loadpin/loadpin.c pathname, pathname 31 security/loadpin/loadpin.c (pathname && pathname[0] != '<') ? "\"" : "", pathname 36 security/loadpin/loadpin.c kfree(pathname); pathname 960 security/tomoyo/common.h char *tomoyo_realpath_nofollow(const char *pathname); pathname 969 security/tomoyo/common.h (const struct tomoyo_path_info *pathname, const struct tomoyo_group *group); pathname 131 security/tomoyo/group.c tomoyo_path_matches_group(const struct tomoyo_path_info *pathname, pathname 140 security/tomoyo/group.c if (!tomoyo_path_matches_pattern(pathname, member->member_name)) pathname 302 security/tomoyo/realpath.c char *tomoyo_realpath_nofollow(const char *pathname) pathname 306 security/tomoyo/realpath.c if (pathname && kern_path(pathname, 0, &path) == 0) { pathname 426 tools/include/uapi/linux/bpf.h __aligned_u64 pathname; pathname 441 tools/lib/bpf/bpf.c int bpf_obj_pin(int fd, const char *pathname) pathname 446 tools/lib/bpf/bpf.c attr.pathname = ptr_to_u64((void *)pathname); pathname 452 tools/lib/bpf/bpf.c int bpf_obj_get(const char *pathname) pathname 457 tools/lib/bpf/bpf.c attr.pathname = ptr_to_u64((void *)pathname); pathname 123 tools/lib/bpf/bpf.h LIBBPF_API int bpf_obj_pin(int fd, const char *pathname); pathname 124 tools/lib/bpf/bpf.h LIBBPF_API int bpf_obj_get(const char *pathname); pathname 221 tools/perf/builtin-buildid-cache.c static int build_id_cache__purge_path(const char *pathname, struct nsinfo *nsi) pathname 227 tools/perf/builtin-buildid-cache.c err = build_id_cache__list_build_ids(pathname, nsi, &list); pathname 233 tools/perf/builtin-buildid-cache.c pr_debug("Removing %s %s: %s\n", pos->s, pathname, pathname 241 tools/perf/builtin-buildid-cache.c pr_debug("Purging %s: %s\n", pathname, err ? "FAIL" : "Ok"); pathname 1150 tools/perf/builtin-trace.c static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname) pathname 1157 tools/perf/builtin-trace.c if (stat(pathname, &st) == 0) pathname 1159 tools/perf/builtin-trace.c file->pathname = strdup(pathname); pathname 1160 tools/perf/builtin-trace.c if (file->pathname) pathname 1169 tools/perf/builtin-trace.c char linkname[PATH_MAX], pathname[PATH_MAX]; pathname 1181 tools/perf/builtin-trace.c if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) pathname 1184 tools/perf/builtin-trace.c ret = readlink(linkname, pathname, sizeof(pathname)); pathname 1189 tools/perf/builtin-trace.c pathname[ret] = '\0'; pathname 1190 tools/perf/builtin-trace.c return trace__set_fd_pathname(thread, fd, pathname); pathname 1204 tools/perf/builtin-trace.c if ((fd > ttrace->files.max || ttrace->files.table[fd].pathname == NULL)) { pathname 1212 tools/perf/builtin-trace.c return ttrace->files.table[fd].pathname; pathname 1252 tools/perf/builtin-trace.c zfree(&ttrace->files.table[fd].pathname); pathname 36 tools/perf/trace/beauty/beauty.h char *pathname; pathname 127 tools/perf/util/build-id.c int filename__sprintf_build_id(const char *pathname, char *sbuild_id) pathname 132 tools/perf/util/build-id.c ret = filename__read_build_id(pathname, build_id, sizeof(build_id)); pathname 230 tools/perf/util/build-id.c char *pathname; pathname 234 tools/perf/util/build-id.c pathname = build_id_cache__origname(sbuild_id); pathname 235 tools/perf/util/build-id.c if (!pathname) pathname 238 tools/perf/util/build-id.c if (!strcmp(pathname, DSO__NAME_KALLSYMS)) pathname 240 tools/perf/util/build-id.c else if (pathname[0] == '/') pathname 241 tools/perf/util/build-id.c ret = filename__sprintf_build_id(pathname, real_sbuild_id); pathname 246 tools/perf/util/build-id.c free(pathname); pathname 571 tools/perf/util/build-id.c int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, pathname 577 tools/perf/util/build-id.c dir_name = build_id_cache__cachedir(NULL, pathname, nsi, false, false); pathname 19 tools/perf/util/build-id.h int filename__sprintf_build_id(const char *pathname, char *sbuild_id); pathname 47 tools/perf/util/build-id.h int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, pathname 232 tools/perf/util/dso.c bool is_kernel_module(const char *pathname, int cpumode) pathname 248 tools/perf/util/dso.c if (kmod_path__parse(&m, pathname)) { pathname 250 tools/perf/util/dso.c pathname); pathname 265 tools/perf/util/dso.c char *pathname, size_t len) pathname 304 tools/perf/util/dso.c if (!pathname || (fd < 0)) pathname 307 tools/perf/util/dso.c if (pathname && (fd >= 0)) pathname 308 tools/perf/util/dso.c strlcpy(pathname, tmpbuf, len); pathname 319 tools/perf/util/dso.c char *pathname, size_t len) pathname 321 tools/perf/util/dso.c int fd = decompress_kmodule(dso, name, pathname, len); pathname 256 tools/perf/util/dso.h bool is_kernel_module(const char *pathname, int cpumode); pathname 260 tools/perf/util/dso.h char *pathname, size_t len); pathname 52 tools/perf/util/path.c char *pathname = get_pathname(); pathname 55 tools/perf/util/path.c len = vsnprintf(pathname, PATH_MAX, fmt, args); pathname 59 tools/perf/util/path.c return cleanup_path(pathname); pathname 652 tools/perf/util/probe-event.c int ntevs, const char *pathname) pathname 659 tools/perf/util/probe-event.c map = dso__new_map(pathname); pathname 660 tools/perf/util/probe-event.c if (!map || get_text_start_address(pathname, &stext, NULL) < 0) { pathname 661 tools/perf/util/probe-event.c pr_warning("Failed to get ELF symbols for %s\n", pathname); pathname 3221 tools/perf/util/probe-event.c char *pathname; pathname 3235 tools/perf/util/probe-event.c pathname = build_id_cache__origname(nd->s); pathname 3236 tools/perf/util/probe-event.c ret = find_cached_events(pev, &tmp_tevs, pathname); pathname 3241 tools/perf/util/probe-event.c free(pathname); pathname 776 tools/perf/util/probe-file.c const char *pathname, pathname 788 tools/perf/util/probe-file.c sdtgrp, note->name, pathname, pathname 817 tools/perf/util/probe-file.c int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname) pathname 827 tools/perf/util/probe-file.c ret = get_sdt_note_list(&sdtlist, pathname); pathname 853 tools/perf/util/probe-file.c buf = synthesize_sdt_probe_command(note, pathname, sdtgrp); pathname 59 tools/perf/util/probe-file.h int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname); pathname 56 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_get_customized_table(char *pathname, pathname 1306 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c osl_get_customized_table(char *pathname, pathname 1321 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c table_dir = acpi_os_open_directory(pathname, "*", REQUEST_FILE_ONLY); pathname 1351 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c sprintf(table_filename, "%s/%4.4s%d", pathname, pathname 1354 tools/power/acpi/os_specific/service_layers/oslinuxtbl.c sprintf(table_filename, "%s/%4.4s", pathname, pathname 63 tools/power/acpi/tools/acpidump/acpidump.h int ap_dump_table_from_file(char *pathname); pathname 80 tools/power/acpi/tools/acpidump/acpidump.h int ap_open_output_file(char *pathname); pathname 84 tools/power/acpi/tools/acpidump/acpidump.h struct acpi_table_header *ap_get_table_from_file(char *pathname, pathname 363 tools/power/acpi/tools/acpidump/apdump.c int ap_dump_table_from_file(char *pathname) pathname 371 tools/power/acpi/tools/acpidump/apdump.c table = ap_get_table_from_file(pathname, &file_size); pathname 379 tools/power/acpi/tools/acpidump/apdump.c pathname); pathname 387 tools/power/acpi/tools/acpidump/apdump.c table->length, file_size, pathname); pathname 394 tools/power/acpi/tools/acpidump/apdump.c pathname, table->signature, file_size, file_size); pathname 14 tools/power/acpi/tools/acpidump/apfiles.c static int ap_is_existing_file(char *pathname); pathname 28 tools/power/acpi/tools/acpidump/apfiles.c static int ap_is_existing_file(char *pathname) pathname 34 tools/power/acpi/tools/acpidump/apfiles.c if (!stat(pathname, &stat_info)) { pathname 65 tools/power/acpi/tools/acpidump/apfiles.c int ap_open_output_file(char *pathname) pathname 71 tools/power/acpi/tools/acpidump/apfiles.c if (ap_is_existing_file(pathname) != 0) { pathname 77 tools/power/acpi/tools/acpidump/apfiles.c file = fopen(pathname, "w"); pathname 79 tools/power/acpi/tools/acpidump/apfiles.c fprintf(stderr, "Could not open output file: %s\n", pathname); pathname 86 tools/power/acpi/tools/acpidump/apfiles.c gbl_output_filename = pathname; pathname 179 tools/power/acpi/tools/acpidump/apfiles.c struct acpi_table_header *ap_get_table_from_file(char *pathname, pathname 189 tools/power/acpi/tools/acpidump/apfiles.c file = fopen(pathname, "rb"); pathname 191 tools/power/acpi/tools/acpidump/apfiles.c fprintf(stderr, "Could not open input file: %s\n", pathname); pathname 200 tools/power/acpi/tools/acpidump/apfiles.c "Could not get input file size: %s\n", pathname); pathname 218 tools/power/acpi/tools/acpidump/apfiles.c fprintf(stderr, "Could not read input file: %s\n", pathname); pathname 178 tools/power/cpupower/utils/cpupower.c char pathname[32]; pathname 213 tools/power/cpupower/utils/cpupower.c sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); pathname 215 tools/power/cpupower/utils/cpupower.c stat(pathname, &statbuf) != 0) { pathname 354 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 362 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 364 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 458 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 464 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 466 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 501 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 559 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 561 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 584 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 587 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 589 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 618 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 621 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 623 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 643 tools/power/x86/intel-speed-select/isst-config.c const char *pathname = "/dev/isst_interface"; pathname 646 tools/power/x86/intel-speed-select/isst-config.c fd = open(pathname, O_RDWR); pathname 648 tools/power/x86/intel-speed-select/isst-config.c err(-1, "%s open failed", pathname); pathname 366 tools/power/x86/turbostat/turbostat.c char pathname[32]; pathname 374 tools/power/x86/turbostat/turbostat.c sprintf(pathname, "/dev/cpu/%d/msr", cpu); pathname 375 tools/power/x86/turbostat/turbostat.c fd = open(pathname, O_RDONLY); pathname 377 tools/power/x86/turbostat/turbostat.c err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); pathname 3145 tools/power/x86/turbostat/turbostat.c char pathname[32]; pathname 3147 tools/power/x86/turbostat/turbostat.c sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); pathname 3148 tools/power/x86/turbostat/turbostat.c if (stat(pathname, &sb)) pathname 3184 tools/power/x86/turbostat/turbostat.c char pathname[32]; pathname 3190 tools/power/x86/turbostat/turbostat.c sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); pathname 3191 tools/power/x86/turbostat/turbostat.c if (euidaccess(pathname, R_OK)) { pathname 629 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c char pathname[32]; pathname 632 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c sprintf(pathname, "/dev/cpu/%d/msr", cpu); pathname 633 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fd = open(pathname, O_RDONLY); pathname 635 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); pathname 639 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); pathname 650 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c char pathname[32]; pathname 654 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c sprintf(pathname, "/dev/cpu/%d/msr", cpu); pathname 655 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fd = open(pathname, O_RDWR); pathname 657 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); pathname 819 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c char pathname[64]; pathname 824 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c sprintf(pathname, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_%s_freq", pathname 827 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fp = fopen(pathname, "w"); pathname 830 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c perror(pathname); pathname 840 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c printf("echo %d > %s\n", khz, pathname); pathname 1104 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c char pathname[128]; pathname 1108 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c sprintf(pathname, "/sys/devices/system/cpu/cpu%d/topology/physical_package_id", cpu); pathname 1110 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c fp = fopen_or_die(pathname, "r"); pathname 1113 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c errx(1, "%s: failed to parse", pathname); pathname 1255 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c char pathname[32]; pathname 1257 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); pathname 1258 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c if (stat(pathname, &sb)) pathname 33 tools/testing/selftests/proc/fd-001-lookup.c static void test_lookup_pass(const char *pathname) pathname 39 tools/testing/selftests/proc/fd-001-lookup.c rv = lstat(pathname, &st); pathname 44 tools/testing/selftests/proc/fd-001-lookup.c static void test_lookup_fail(const char *pathname) pathname 49 tools/testing/selftests/proc/fd-001-lookup.c rv = lstat(pathname, &st); pathname 116 tools/testing/selftests/proc/fd-003-kthread.c static inline int sys_statx(int dirfd, const char *pathname, int flags, pathname 119 tools/testing/selftests/proc/fd-003-kthread.c return syscall(SYS_statx, dirfd, pathname, flags, mask, stx); pathname 122 tools/testing/selftests/proc/fd-003-kthread.c static void test_lookup_fail(int fd, const char *pathname) pathname 127 tools/testing/selftests/proc/fd-003-kthread.c rv = sys_statx(fd, pathname, AT_SYMLINK_NOFOLLOW, 0, (void *)stx); pathname 49 tools/testing/selftests/proc/proc-pid-vm.c static inline long sys_execveat(int dirfd, const char *pathname, char **argv, char **envp, int flags) pathname 51 tools/testing/selftests/proc/proc-pid-vm.c return syscall(SYS_execveat, dirfd, pathname, argv, envp, flags); pathname 236 tools/vm/page-types.c static int checked_open(const char *pathname, int flags) pathname 238 tools/vm/page-types.c int fd = open(pathname, flags); pathname 241 tools/vm/page-types.c perror(pathname);