/linux-master/tools/testing/cxl/test/ |
H A D | cxl.c | 580 mock_acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, argument 586 if (!adev || strcmp(pathname, METHOD_NAME__UID) != 0) 587 return acpi_evaluate_integer(handle, pathname, arguments, data);
|
/linux-master/block/ |
H A D | bdev.c | 1118 * @pathname: Name of the block device in the filesystem. 1121 * Lookup the block device's dev_t at @pathname in the current 1127 int lookup_bdev(const char *pathname, dev_t *dev) argument 1133 if (!pathname || !*pathname) 1136 error = kern_path(pathname, LOOKUP_FOLLOW, &path);
|
/linux-master/include/linux/ |
H A D | blkdev.h | 1481 int lookup_bdev(const char *pathname, dev_t *dev); 1550 int __init early_lookup_bdev(const char *pathname, dev_t *dev); 1572 static inline int early_lookup_bdev(const char *pathname, dev_t *dev) argument
|
H A D | bpf.h | 2352 int bpf_obj_pin_user(u32 ufd, int path_fd, const char __user *pathname); 2353 int bpf_obj_get_user(int path_fd, const char __user *pathname, int flags); 2711 static inline int bpf_obj_get_user(const char __user *pathname, int flags) argument
|
/linux-master/fs/smb/server/ |
H A D | vfs.c | 69 char *pathname, unsigned int flags, 79 if (pathname[0] == '\0') { 80 pathname = share_conf->path; 86 filename = getname_kernel(pathname); 68 ksmbd_vfs_path_lookup_locked(struct ksmbd_share_config *share_conf, char *pathname, unsigned int flags, struct path *parent_path, struct path *path) argument
|
H A D | smb2pdu.c | 5885 char *link_name = NULL, *target_name = NULL, *pathname = NULL; local 5895 pathname = kmalloc(PATH_MAX, GFP_KERNEL); 5896 if (!pathname) 5908 target_name = file_path(filp, pathname, PATH_MAX); 5950 kfree(pathname);
|
H A D | vfs_cache.c | 762 char *pathname, *ab_pathname; local 765 pathname = kmalloc(PATH_MAX, GFP_KERNEL); 766 if (!pathname) 769 ab_pathname = d_path(&fp->filp->f_path, pathname, PATH_MAX); 771 kfree(pathname); 780 kfree(pathname);
|
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 1511 char pathname[32]; local 1519 sprintf(pathname, "/dev/cpu/%d/msr", cpu); 1520 fd = open(pathname, O_RDONLY); 1523 "or run with --no-msr, or run as root", pathname); 4588 char pathname[64]; local 4593 sprintf(pathname, "/sys/devices/system/cpu/cpu%d/topology/thread_siblings", base_cpu); 4595 filep = fopen_or_die(pathname, "r"); 5123 char pathname[32]; local 5128 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); 5129 if (stat(pathname, 5169 char pathname[32]; local [all...] |
/linux-master/include/acpi/ |
H A D | acpi_bus.h | 26 acpi_string pathname, 28 bool acpi_evaluate_reference(acpi_handle handle, acpi_string pathname,
|
/linux-master/drivers/acpi/ |
H A D | scan.c | 1034 char pathname[5] = { '_', 'P', 'R', '0' + state, '\0' }; local 1041 status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer); 1054 pathname[2] = 'S'; 1055 if (acpi_has_method(device->handle, pathname))
|
/linux-master/kernel/bpf/ |
H A D | syscall.c | 2965 u64_to_user_ptr(attr->pathname)); 2981 return bpf_obj_get_user(path_fd, u64_to_user_ptr(attr->pathname),
|
/linux-master/fs/ext4/ |
H A D | super.c | 888 char pathname[80], *path; local 895 path = file_path(file, pathname, sizeof(pathname));
|
/linux-master/fs/ |
H A D | namei.c | 12 /* [Feb 1997 T. Schoebel-Theuer] Complete rewrite of the pathname 48 * Fundamental changes in the pathname lookup mechanisms (namei) 50 * to know the _real_ pathname, not the user-supplied one, in case 60 * With the new dcache, the pathname is stored at each inode, at least as 102 * if the pathname has trailing slashes - follow. 122 * POSIX.1 2.4: an empty pathname is invalid (ENOENT). 159 * names_cache allocation for the pathname, and re-do the copy from 2243 * This is the basic name resolution function, turning a pathname into 2319 /* pathname or trailing symlink, done */ 2393 /* Absolute pathname 3818 do_filp_open(int dfd, struct filename *pathname, const struct open_flags *op) argument 3929 kern_path_create(int dfd, const char *pathname, struct path *path, unsigned int lookup_flags) argument 3949 user_path_create(int dfd, const char __user *pathname, struct path *path, unsigned int lookup_flags) argument [all...] |
/linux-master/drivers/acpi/acpica/ |
H A D | dbnames.c | 134 /* Build the final pathname */ 318 /* Get the full pathname to this object */ 323 acpi_os_printf("Could Not get pathname for object %p\n", 405 char *pathname; local 413 pathname = acpi_ns_get_normalized_pathname(node, TRUE); 414 if (!pathname) { 427 acpi_os_printf("%-32s Arguments %X, Return Types: %s", pathname, 442 acpi_ns_check_acpi_compliance(pathname, node, predefined); 444 ACPI_FREE(pathname); 539 /* Get and display the full pathname t [all...] |
/linux-master/mm/ |
H A D | filemap.c | 3856 char pathname[128]; local 3861 path = file_path(filp, pathname, sizeof(pathname));
|
/linux-master/tools/testing/selftests/devices/ |
H A D | test_discoverable_devices.py | 164 test_name = f"{current_node['meta']['pathname']}.{intf_num}.driver" 176 test_name = current_node["meta"]["pathname"] + ".driver" 181 pathname = "" 184 pathname = str(device["path"]) 192 pathname = pathname + "/" + dev_type 195 pathname += "@" + str(device["dt-mmio"]) 198 pathname = pathname + "/" + device["name"] 200 return pathname [all...] |
/linux-master/include/linux/mtd/ |
H A D | ubi.h | 233 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
|
/linux-master/fs/xfs/ |
H A D | xfs_trace.h | 4622 __array(char, pathname, 256) 4625 char pathname[257]; 4631 memset(pathname, 0, sizeof(pathname)); 4632 path = file_path(file, pathname, sizeof(pathname) - 1); 4635 strncpy(__entry->pathname, path, sizeof(__entry->pathname)); 4640 __entry->pathname)
|
/linux-master/drivers/mtd/ubi/ |
H A D | ubi.h | 960 int ubi_get_num_by_path(const char *pathname, int *ubi_num, int *vol_id);
|
H A D | kapi.c | 284 * @pathname: volume character device node path 290 int ubi_get_num_by_path(const char *pathname, int *ubi_num, int *vol_id) argument 296 error = kern_path(pathname, LOOKUP_FOLLOW, &path); 319 * @pathname: volume character device node path 325 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) argument 329 dbg_gen("open volume %s, mode %d", pathname, mode); 331 if (!pathname || !*pathname) 334 error = ubi_get_num_by_path(pathname, &ubi_num, &vol_id);
|
/linux-master/tools/power/x86/x86_energy_perf_policy/ |
H A D | x86_energy_perf_policy.c | 683 char pathname[32]; local 686 sprintf(pathname, "/dev/cpu/%d/msr", cpu); 687 fd = open(pathname, O_RDONLY); 689 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); 694 err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); 706 char pathname[32]; local 710 sprintf(pathname, "/dev/cpu/%d/msr", cpu); 711 fd = open(pathname, O_RDWR); 713 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); 961 char pathname[6 local 1234 char pathname[128]; local 1386 char pathname[32]; local [all...] |
/linux-master/tools/perf/util/ |
H A D | probe-event.c | 744 int ntevs, const char *pathname) 751 map = dso__new_map(pathname); 752 if (!map || get_text_start_address(pathname, &stext, NULL) < 0) { 753 pr_warning("Failed to get ELF symbols for %s\n", pathname); 3410 char *pathname; local 3424 pathname = build_id_cache__origname(nd->s); 3425 ret = find_cached_events(pev, &tmp_tevs, pathname); 3430 free(pathname); 743 post_process_offline_probe_trace_events(struct probe_trace_event *tevs, int ntevs, const char *pathname) argument
|
H A D | pmu.c | 2025 int perf_pmu__event_source_devices_scnprintf(char *pathname, size_t size) argument 2031 return scnprintf(pathname, size, "%s/bus/event_source/devices/", sysfs); 2049 * then pathname will be filled with
|
H A D | pmu.h | 266 int perf_pmu__event_source_devices_scnprintf(char *pathname, size_t size);
|
/linux-master/tools/perf/ |
H A D | builtin-trace.c | 1212 * is_open: is this "open" or "openat"? To associate the fd returned in sys_exit with the pathname in sys_enter. 1213 * args_size: sum of the sizes of the syscall arguments, anything after that is augmented stuff: pathname for openat, etc. 1355 zfree(&file->pathname); 1392 static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname) argument 1399 if (stat(pathname, &st) == 0) 1401 file->pathname = strdup(pathname); 1402 if (file->pathname) 1411 char linkname[PATH_MAX], pathname[PATH_MAX]; local 1424 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) [all...] |