Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 248) sorted by relevance

12345678910

/openbmc/linux/tools/power/acpi/tools/acpidump/
H A Dapfiles.c14 static int ap_is_existing_file(char *pathname);
28 static int ap_is_existing_file(char *pathname) in ap_is_existing_file() argument
34 if (!stat(pathname, &stat_info)) { in ap_is_existing_file()
65 int ap_open_output_file(char *pathname) in ap_open_output_file() argument
71 if (ap_is_existing_file(pathname) != 0) { in ap_open_output_file()
77 file = fopen(pathname, "w"); in ap_open_output_file()
79 fprintf(stderr, "Could not open output file: %s\n", pathname); in ap_open_output_file()
86 gbl_output_filename = pathname; in ap_open_output_file()
189 file = fopen(pathname, "rb"); in ap_get_table_from_file()
191 fprintf(stderr, "Could not open input file: %s\n", pathname); in ap_get_table_from_file()
[all …]
H A Dapdump.c365 int ap_dump_table_from_file(char *pathname) in ap_dump_table_from_file() argument
373 table = ap_get_table_from_file(pathname, &file_size); in ap_dump_table_from_file()
381 pathname); in ap_dump_table_from_file()
389 table->length, file_size, pathname); in ap_dump_table_from_file()
396 pathname, table->signature, file_size, file_size); in ap_dump_table_from_file()
/openbmc/linux/drivers/acpi/acpica/
H A Dextrace.c132 u8 begin, u8 *aml, char *pathname) in acpi_ex_trace_point() argument
137 if (pathname) { in acpi_ex_trace_point()
141 begin ? "Begin" : "End", aml, pathname)); in acpi_ex_trace_point()
170 char *pathname = NULL; in acpi_ex_start_trace_method() local
199 pathname); in acpi_ex_start_trace_method()
202 if (pathname) { in acpi_ex_start_trace_method()
203 ACPI_FREE(pathname); in acpi_ex_start_trace_method()
227 char *pathname = NULL; in acpi_ex_stop_trace_method() local
241 pathname); in acpi_ex_stop_trace_method()
259 if (pathname) { in acpi_ex_stop_trace_method()
[all …]
H A Dutxfmutex.c18 acpi_string pathname,
39 acpi_string pathname, in acpi_ut_get_mutex_object() argument
48 if (!ret_obj || (!handle && !pathname)) { in acpi_ut_get_mutex_object()
55 if (pathname != NULL) { in acpi_ut_get_mutex_object()
57 acpi_get_handle(handle, pathname, in acpi_ut_get_mutex_object()
100 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) in acpi_acquire_mutex() argument
107 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_acquire_mutex()
136 acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) in ACPI_EXPORT_SYMBOL()
143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in ACPI_EXPORT_SYMBOL()
H A Dnsarguments.c94 acpi_ns_check_acpi_compliance(char *pathname, in acpi_ns_check_acpi_compliance() argument
119 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_acpi_compliance()
130 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_acpi_compliance()
154 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_acpi_compliance()
162 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_acpi_compliance()
187 acpi_ns_check_argument_count(char *pathname, in acpi_ns_check_argument_count() argument
206 ACPI_INFO_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
232 ACPI_WARN_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
239 ACPI_INFO_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
264 ACPI_WARN_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_argument_count()
[all …]
H A Dutstring.c196 void ut_convert_backslashes(char *pathname) in ut_convert_backslashes() argument
199 if (!pathname) { in ut_convert_backslashes()
203 while (*pathname) { in ut_convert_backslashes()
204 if (*pathname == '\\') { in ut_convert_backslashes()
205 *pathname = '/'; in ut_convert_backslashes()
208 pathname++; in ut_convert_backslashes()
H A Ddbexec.c165 info->pathname)); in acpi_db_execute_method()
201 info->pathname[0] = 0; in acpi_db_execute_setup()
203 if (acpi_ut_safe_strcat(info->pathname, sizeof(info->pathname), in acpi_db_execute_setup()
210 if (acpi_ut_safe_strcat(info->pathname, sizeof(info->pathname), in acpi_db_execute_setup()
216 acpi_db_prep_namestring(info->pathname); in acpi_db_execute_setup()
460 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
468 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
487 acpi_gbl_db_method_info.pathname); in acpi_db_execute()
567 info->pathname, return_obj.pointer, in acpi_db_method_thread()
631 acpi_gbl_db_method_info.pathname, in acpi_db_single_execution_thread()
[all …]
H A Duterror.c41 char *pathname, in acpi_ut_predefined_warning() argument
54 acpi_os_printf(ACPI_MSG_WARNING "%s: ", pathname); in acpi_ut_predefined_warning()
84 char *pathname, u16 node_flags, const char *format, ...) in acpi_ut_predefined_info() argument
96 acpi_os_printf(ACPI_MSG_INFO "%s: ", pathname); in acpi_ut_predefined_info()
126 char *pathname, in acpi_ut_predefined_bios_error() argument
139 acpi_os_printf(ACPI_MSG_BIOS_ERROR "%s: ", pathname); in acpi_ut_predefined_bios_error()
H A Dnsutils.c636 const char *pathname, in acpi_ns_get_node_unlocked() argument
644 ACPI_CAST_PTR(char, pathname)); in acpi_ns_get_node_unlocked()
648 if (!pathname) { in acpi_ns_get_node_unlocked()
659 if (ACPI_IS_ROOT_PREFIX(pathname[0]) && (!pathname[1])) { in acpi_ns_get_node_unlocked()
666 status = acpi_ns_internalize_name(pathname, &internal_path); in acpi_ns_get_node_unlocked()
683 pathname, acpi_format_exception(status))); in acpi_ns_get_node_unlocked()
714 const char *pathname, in acpi_ns_get_node() argument
719 ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname)); in acpi_ns_get_node()
726 status = acpi_ns_get_node_unlocked(prefix_node, pathname, in acpi_ns_get_node()
H A Dnsxfeval.c45 acpi_string pathname, in acpi_evaluate_object_typed() argument
70 if (pathname) { in acpi_evaluate_object_typed()
71 status = acpi_get_handle(handle, pathname, &target_handle); in acpi_evaluate_object_typed()
164 acpi_string pathname, in ACPI_EXPORT_SYMBOL()
198 if ((pathname) && (ACPI_IS_ROOT_PREFIX(pathname[0]))) { in ACPI_EXPORT_SYMBOL()
209 if (!pathname) { in ACPI_EXPORT_SYMBOL()
215 pathname)); in ACPI_EXPORT_SYMBOL()
222 info->relative_pathname = pathname; in ACPI_EXPORT_SYMBOL()
234 ACPI_WARN_PREDEFINED((AE_INFO, pathname, in ACPI_EXPORT_SYMBOL()
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-remote-noreap.sh13 pathname="$1"
14 if test "$pathname" = ""
16 echo Usage: kvm-remote-noreap.sh pathname
19 if ! test -d "$pathname"
21 echo Usage: kvm-remote-noreap.sh pathname
26 while test -d "$pathname"
28 find "$pathname" -type f -exec touch -c {} \; > /dev/null 2>&1
/openbmc/linux/tools/testing/selftests/exec/
H A Dnon-regular.c21 rc = rmdir(pathname); in rm()
23 rc = unlink(pathname); in rm()
27 TH_LOG("Not ENOENT: %s", pathname); in rm()
31 TH_LOG("Failed to remove: %s", pathname); in rm()
37 char *pathname; in FIXTURE() local
64 ASSERT_EQ(symlink(paths[i], self->pathname), 0); in setup_link()
84 ASSERT_EQ(mkdir(self->pathname, 0755), 0); in setup_dir()
103 rc = mknod(self->pathname, 0755 | variant->mode, dev); in setup_node()
137 ASSERT_EQ(mkfifo(self->pathname, 0755), 0); in setup_fifo()
152 rm(_metadata, self->pathname, variant->is_dir); in FIXTURE_SETUP()
[all …]
/openbmc/u-boot/tools/patman/
H A Dtools.py123 pathname = os.path.join(dirname, fname)
124 if os.path.exists(pathname):
125 return pathname
143 pathname = os.path.join(dirname, pattern)
144 files += glob.glob(pathname)
209 pathname = os.path.join(path, os.path.basename(fname))
210 if os.path.exists(pathname):
211 return pathname
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-hardlink.patch12 - if (!lp->pathname || !lp->src || !(Tdest && lp->target))
13 + if (!lp->pathname || !lp->src || (Tdest && !lp->target))
18 "sendhardlink: rname='%s' pathname='%s' src='%s' target='%s'\n",
19 rname, lp->pathname, lp->src, lp->target);
24 opts, lp->pathname, rname);
H A Drdist-6.1.5-links.patch15 + if (lp->pathname)
16 + free(lp->pathname);
39 - (void) strcpy(lp->pathname, target);
41 + lp->pathname = strdup(target);
49 + if (!lp->pathname || !lp->src || !(Tdest && lp->target))
71 - char pathname[BUFSIZ];
74 + char *pathname;
/openbmc/linux/Documentation/filesystems/spufs/
H A Dspu_create.rst20 int spu_create(const char *pathname, int flags, mode_t mode);
27 pathname and returns a handle to associated with it. pathname must
30 ated on pathname and it is populated with files.
69 EFAULT pathname is not a valid string pointer in the current address
72 EINVAL pathname is not a directory in the spufs mount point.
74 ELOOP Too many symlinks were found while resolving pathname.
79 pathname was too long.
83 ENOENT Part of pathname could not be resolved.
96 A part of pathname is not a directory.
110 pathname must point to a location beneath the mount point of spufs. By
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c61 char *pathname; member
149 strscpy(opt->pathname, p, NAME_MAX); in rnbd_clt_parse_map_options()
270 return sysfs_emit(page, "%s\n", dev->pathname); in mapping_path_show()
513 char pathname[NAME_MAX], *s; in rnbd_clt_get_path_name() local
515 strscpy(pathname, dev->pathname, sizeof(pathname)); in rnbd_clt_get_path_name()
516 while ((s = strchr(pathname, '/'))) in rnbd_clt_get_path_name()
519 ret = snprintf(buf, len, "%s@%s", pathname, dev->sess->sessname); in rnbd_clt_get_path_name()
531 len = strlen(dev->pathname) + strlen(dev->sess->sessname) + 2; in rnbd_clt_add_dev_symlink()
569 char pathname[NAME_MAX]; in rnbd_clt_map_device_store() local
582 opt.pathname = pathname; in rnbd_clt_map_device_store()
[all …]
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dimage-postinst-intercepts.bbclass19 for pathname, candidates in searched:
20 if os.path.isfile(pathname):
21 files.append(pathname)
22 chksums.append('%s:True' % pathname)
/openbmc/linux/security/integrity/ima/
H A Dima_main.c86 char **pathbuf, const char **pathname, in mmap_violation_check() argument
120 const char **pathname, in ima_rdwr_violation_check() argument
149 ima_add_violation(file, *pathname, iint, in ima_rdwr_violation_check()
152 ima_add_violation(file, *pathname, iint, in ima_rdwr_violation_check()
216 const char *pathname = NULL; in process_measurement() local
258 &pathbuf, &pathname, filename); in process_measurement()
330 &pathname, filename); in process_measurement()
375 pathname, xattr_value, in process_measurement()
381 &pathname, filename); in process_measurement()
395 pathname, "collect_data", in process_measurement()
[all …]
/openbmc/linux/fs/
H A Dstatfs.c97 int user_statfs(const char __user *pathname, struct kstatfs *st) in user_statfs() argument
103 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
192 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
195 int error = user_statfs(pathname, &st); in SYSCALL_DEFINE2()
201 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
207 error = user_statfs(pathname, &st); in SYSCALL_DEFINE3()
305 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
308 int error = user_statfs(pathname, &tmp); in COMPAT_SYSCALL_DEFINE2()
348 int kcompat_sys_statfs64(const char __user * pathname, compat_size_t sz, struct compat_statfs64 __u… in kcompat_sys_statfs64() argument
356 error = user_statfs(pathname, &tmp); in kcompat_sys_statfs64()
[all …]
H A Dxattr.c659 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
684 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
691 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
778 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
797 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
803 SYSCALL_DEFINE4(lgetxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
806 return path_getxattr(pathname, name, value, size, 0); in SYSCALL_DEFINE4()
883 return path_listxattr(pathname, list, size, 0); in SYSCALL_DEFINE3()
921 static int path_removexattr(const char __user *pathname, in path_removexattr() argument
946 return path_removexattr(pathname, name, LOOKUP_FOLLOW); in SYSCALL_DEFINE2()
[all …]
/openbmc/linux/security/loadpin/
H A Dloadpin.c28 char *cmdline, *pathname; in report_load() local
30 pathname = kstrdup_quotable_file(file, GFP_KERNEL); in report_load()
35 (pathname && pathname[0] != '<') ? "\"" : "", in report_load()
36 pathname, in report_load()
37 (pathname && pathname[0] != '<') ? "\"" : "", in report_load()
42 kfree(pathname); in report_load()
/openbmc/linux/include/linux/
H A Dinit_syscalls.h15 int __init init_unlink(const char *pathname);
16 int __init init_mkdir(const char *pathname, umode_t mode);
17 int __init init_rmdir(const char *pathname);
/openbmc/phosphor-ipmi-flash/internal/
H A Dsys.cpp32 std::int64_t SysImpl::getSize(const char* pathname) const in getSize()
35 int rc = ::stat(pathname, &results); in getSize()
44 int SysImpl::open(const char* pathname, int flags) const in open() argument
46 return ::open(pathname, flags); in open()
/openbmc/linux/kernel/
H A Daudit_fsnotify.c74 struct audit_fsnotify_mark *audit_alloc_mark(struct audit_krule *krule, char *pathname, int len) in audit_alloc_mark() argument
82 if (pathname[0] != '/' || pathname[len-1] == '/') in audit_alloc_mark()
85 dentry = kern_path_locked(pathname, &path); in audit_alloc_mark()
99 audit_mark->path = pathname; in audit_alloc_mark()

12345678910