Home
last modified time | relevance | path

Searched refs:pathname (Results 26 – 50 of 240) sorted by relevance

12345678910

/openbmc/linux/scripts/gdb/linux/
H A Dproc.py180 pathname = ""
184 pathname = vfs.dentry_name(mntpoint) + pathname
189 if (pathname == ""):
190 pathname = "/"
200 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
/openbmc/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c683 char pathname[32]; in get_msr() local
687 fd = open(pathname, O_RDONLY); in get_msr()
706 char pathname[32]; in put_msr() local
711 fd = open(pathname, O_RDWR); in put_msr()
961 char pathname[64]; in update_cpufreq_scaling_freq() local
969 fp = fopen(pathname, "w"); in update_cpufreq_scaling_freq()
972 perror(pathname); in update_cpufreq_scaling_freq()
1234 char pathname[128]; in get_pkg_num() local
1240 fp = fopen_or_die(pathname, "r"); in get_pkg_num()
1386 char pathname[32]; in probe_dev_msr() local
[all …]
/openbmc/linux/tools/testing/selftests/proc/
H A Dfd-001-lookup.c33 static void test_lookup_pass(const char *pathname) in test_lookup_pass() argument
39 rv = lstat(pathname, &st); in test_lookup_pass()
44 static void test_lookup_fail(const char *pathname) in test_lookup_fail() argument
49 rv = lstat(pathname, &st); in test_lookup_fail()
H A Dfd-003-kthread.c116 static inline int sys_statx(int dirfd, const char *pathname, int flags, in sys_statx() argument
119 return syscall(SYS_statx, dirfd, pathname, flags, mask, stx); in sys_statx()
122 static void test_lookup_fail(int fd, const char *pathname) in test_lookup_fail() argument
127 rv = sys_statx(fd, pathname, AT_SYMLINK_NOFOLLOW, 0, (void *)stx); in test_lookup_fail()
/openbmc/linux/drivers/acpi/acpica/
H A Dutaddress.c166 char *pathname; in acpi_ut_check_address_range() local
199 pathname = in acpi_ut_check_address_range()
213 pathname)); in acpi_ut_check_address_range()
214 ACPI_FREE(pathname); in acpi_ut_check_address_range()
H A Ddbmethod.c364 char *pathname; in acpi_db_evaluate_object() local
372 pathname = acpi_ns_get_external_pathname(node); in acpi_db_evaluate_object()
373 if (!pathname) { in acpi_db_evaluate_object()
381 ACPI_FREE(pathname); in acpi_db_evaluate_object()
412 acpi_os_printf("%-32s returned %s\n", pathname, in acpi_db_evaluate_object()
417 pathname, return_obj.pointer, in acpi_db_evaluate_object()
424 ACPI_FREE(pathname); in acpi_db_evaluate_object()
H A Dnsdump.c50 void acpi_ns_print_pathname(u32 num_segments, const char *pathname) in acpi_ns_print_pathname() argument
68 isprint((int)pathname[i]) ? in acpi_ns_print_pathname()
69 acpi_os_printf("%c", pathname[i]) : in acpi_ns_print_pathname()
73 pathname += ACPI_NAMESEG_SIZE; in acpi_ns_print_pathname()
679 char *pathname; in acpi_ns_dump_one_object_path() local
695 pathname = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_ns_dump_one_object_path()
706 acpi_os_printf("%s\n", &pathname[1]); in acpi_ns_dump_one_object_path()
707 ACPI_FREE(pathname); in acpi_ns_dump_one_object_path()
/openbmc/linux/tools/power/acpi/tools/acpidump/
H A Dacpidump.h63 int ap_dump_table_from_file(char *pathname);
80 int ap_open_output_file(char *pathname);
84 struct acpi_table_header *ap_get_table_from_file(char *pathname,
/openbmc/linux/arch/arm64/kernel/
H A Dsys32.c23 COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname, in COMPAT_SYSCALL_DEFINE3() argument
38 return kcompat_sys_statfs64(pathname, sz, buf); in COMPAT_SYSCALL_DEFINE3()
88 COMPAT_SYSCALL_DEFINE4(aarch32_truncate64, const char __user *, pathname, in COMPAT_SYSCALL_DEFINE4() argument
91 return ksys_truncate(pathname, arg_u64(length)); in COMPAT_SYSCALL_DEFINE4()
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.hpp33 virtual int open(const char* pathname, int flags) const = 0;
57 virtual std::int64_t getSize(const char* pathname) const = 0;
68 int open(const char* pathname, int flags) const override;
93 std::int64_t getSize(const char* pathname) const override;
/openbmc/u-boot/tools/binman/
H A Dstate.py79 pathname = GetFdtPath(fname)
82 pathname = tools.GetInputFilename(fname)
83 data = tools.ReadFile(pathname)
84 return pathname, data
/openbmc/openbmc/poky/scripts/tiny/
H A Ddirsize.py24 pathname = path + "/" + p
25 ss = os.lstat(pathname)
27 r.records.append(Record.create(pathname))
/openbmc/phosphor-fan-presence/
H A Dutility.hpp64 void open(const std::string& pathname, int flags) in open() argument
66 fd = ::open(pathname.c_str(), flags); in open()
70 std::format("Failed to open file device path {}", pathname) in open()
/openbmc/linux/fs/
H A Dinit.c218 int __init init_unlink(const char *pathname) in init_unlink() argument
220 return do_unlinkat(AT_FDCWD, getname_kernel(pathname)); in init_unlink()
223 int __init init_mkdir(const char *pathname, umode_t mode) in init_mkdir() argument
229 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in init_mkdir()
242 int __init init_rmdir(const char *pathname) in init_rmdir() argument
244 return do_rmdir(AT_FDCWD, getname_kernel(pathname)); in init_rmdir()
/openbmc/linux/security/integrity/ima/
H A Dima_api.c439 char *pathname = NULL; in ima_d_path() local
443 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path()
444 if (IS_ERR(pathname)) { in ima_d_path()
447 pathname = NULL; in ima_d_path()
451 if (!pathname) { in ima_d_path()
456 pathname = namebuf; in ima_d_path()
459 return pathname; in ima_d_path()
/openbmc/linux/tools/perf/bench/
H A Dsyscall.c57 const char *pathname = "/bin/true"; in test_execve() local
58 char *const argv[] = { (char *)pathname, NULL }; in test_execve()
65 execve(pathname, argv, NULL); in test_execve()
/openbmc/linux/fs/smb/server/
H A Dmisc.c165 char *pathname, *ab_pathname, *nt_pathname; in convert_to_nt_pathname() local
168 pathname = kmalloc(PATH_MAX, GFP_KERNEL); in convert_to_nt_pathname()
169 if (!pathname) in convert_to_nt_pathname()
172 ab_pathname = d_path(path, pathname, PATH_MAX); in convert_to_nt_pathname()
195 kfree(pathname); in convert_to_nt_pathname()
/openbmc/linux/tools/perf/pmu-events/arch/nds32/
H A Dmapfile.csv2 # MIDR,Version,JSON/file/pathname,Type
9 # JSON/file/pathname is the path to JSON file, relative
/openbmc/linux/drivers/acpi/
H A Dutils.c248 acpi_string pathname, in acpi_evaluate_integer() argument
260 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_integer()
262 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer()
267 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); in acpi_evaluate_integer()
334 acpi_string pathname, in acpi_evaluate_reference() argument
351 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_reference()
359 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
364 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
369 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
387 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/powerpc/
H A Dmapfile.csv2 # PVR,Version,JSON/file/pathname,Type
8 # JSON/file/pathname is the path to JSON file, relative
/openbmc/linux/tools/perf/pmu-events/arch/riscv/
H A Dmapfile.csv2 # MVENDORID-MARCHID-MIMPID,Version,JSON/file/pathname,Type
11 # JSON/file/pathname is the path to JSON file, relative
/openbmc/linux/kernel/
H A Daudit_tree.c22 char pathname[]; member
97 tree = kmalloc(struct_size(tree, pathname, strlen(s) + 1), GFP_KERNEL); in alloc_tree()
106 strcpy(tree->pathname, s); in alloc_tree()
125 return tree->pathname; in audit_tree_path()
536 audit_log_untrustedstring(ab, rule->tree->pathname); in audit_tree_log_remove_rule()
695 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees()
728 if (pathname[0] != '/' || in audit_make_tree()
734 rule->tree = alloc_tree(pathname); in audit_make_tree()
809 if (!strcmp(seed->pathname, tree->pathname)) { in audit_add_tree_rule()
828 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule()
[all …]
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-log.h16 fn("<%s@%s> " fmt, (dev)->pathname, \
20 fn("<%s@%s>: " fmt, (dev)->pathname, \
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_uprobe_autoattach.c92 int BPF_UPROBE(handle_uprobe_byname2, const char *pathname, const char *mode) in BPF_UPROBE() argument
99 uprobe_byname2_parm1 = (u64)(long)pathname; in BPF_UPROBE()
/openbmc/linux/fs/nfs/
H A Dnfs4namespace.c34 static ssize_t nfs4_pathname_len(const struct nfs4_pathname *pathname) in nfs4_pathname_len() argument
39 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_len()
40 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_len()
57 static char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument
64 len = nfs4_pathname_len(pathname); in nfs4_pathname_string()
73 for (i = 0; i < pathname->ncomponents; i++) { in nfs4_pathname_string()
74 const struct nfs4_string *component = &pathname->components[i]; in nfs4_pathname_string()

12345678910