Home
last modified time | relevance | path

Searched refs:pathname (Results 51 – 75 of 240) sorted by relevance

12345678910

/openbmc/linux/arch/powerpc/platforms/cell/spufs/
H A Dsyscalls.c63 static long do_spu_create(const char __user *pathname, unsigned int flags, in do_spu_create() argument
70 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
/openbmc/gpioplus/src/gpioplus/internal/
H A Dsys.hpp19 virtual int open(const char* pathname, int flags) const = 0;
48 int open(const char* pathname, int flags) const override;
H A Dsys.cpp13 int SysImpl::open(const char* pathname, int flags) const in open() argument
15 return ::open(pathname, flags); in open()
H A Dfd.cpp15 Fd::Fd(const char* pathname, int flags, const Sys* sys) : in Fd() argument
16 sys(sys), fd(sys->open(pathname, flags)) in Fd()
/openbmc/linux/drivers/block/rnbd/
H A Drnbd-clt.c60 kfree(dev->pathname); in rnbd_clt_put_dev()
1421 const char *pathname, in init_dev() argument
1447 pathname, sess->sessname, ret); in init_dev()
1451 dev->pathname = kstrdup(pathname, GFP_KERNEL); in init_dev()
1452 if (!dev->pathname) { in init_dev()
1492 if (strlen(dev->pathname) == strlen(pathname) && in __exists_dev()
1493 !strcmp(dev->pathname, pathname)) { in __exists_dev()
1511 found = __exists_dev(pathname, sessname); in exists_devpath()
1546 const char *pathname, in rnbd_clt_map_device() argument
1561 if (exists_devpath(pathname, sessname)) in rnbd_clt_map_device()
[all …]
H A Drnbd-clt.h119 char *pathname; member
134 const char *pathname,
H A Drnbd-srv.c266 char pathname[NAME_MAX]; in create_sess() local
269 err = rtrs_srv_get_path_name(rtrs, pathname, sizeof(pathname)); in create_sess()
271 pr_err("rtrs_srv_get_path_name(%s): %d\n", pathname, err); in create_sess()
287 strscpy(srv_sess->sessname, pathname, sizeof(srv_sess->sessname)); in create_sess()
572 strscpy(sdev->pathname, open_msg->dev_name, sizeof(sdev->pathname)); in rnbd_srv_create_set_sess_dev()
666 if (!strcmp(sess_dev->pathname, dev_name)) in find_srv_sess_dev()
/openbmc/linux/drivers/acpi/acpica/
H A Dnsxfname.c47 const char *pathname, acpi_handle *ret_handle) in acpi_get_handle() argument
57 if (!ret_handle || !pathname) { in acpi_get_handle()
77 if (ACPI_IS_ROOT_PREFIX(pathname[0])) { in acpi_get_handle()
83 if (!strcmp(pathname, ACPI_NS_ROOT_PATH)) { in acpi_get_handle()
98 acpi_ns_get_node(prefix_node, pathname, ACPI_NS_NO_UPSEARCH, &node); in acpi_get_handle()
H A Ddbtest.c979 char *pathname; in acpi_db_evaluate_one_predefined_name() local
1003 pathname = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_db_evaluate_one_predefined_name()
1004 if (!pathname) { in acpi_db_evaluate_one_predefined_name()
1012 ACPI_FREE(pathname); in acpi_db_evaluate_one_predefined_name()
1066 pathname, arg_type); in acpi_db_evaluate_one_predefined_name()
1088 pathname, acpi_format_exception(status)); in acpi_db_evaluate_one_predefined_name()
1090 ACPI_FREE(pathname); in acpi_db_evaluate_one_predefined_name()
H A Dnsaccess.c281 char *pathname, in acpi_ns_lookup() argument
289 char *path = pathname; in acpi_ns_lookup()
357 if (!pathname) { in acpi_ns_lookup()
433 (ACPI_UINT32_MAX, pathname, NULL, in acpi_ns_lookup()
H A Ddbnames.c405 char *pathname; in acpi_db_walk_for_predefined_names() local
413 pathname = acpi_ns_get_normalized_pathname(node, TRUE); in acpi_db_walk_for_predefined_names()
414 if (!pathname) { in acpi_db_walk_for_predefined_names()
427 acpi_os_printf("%-32s Arguments %X, Return Types: %s", pathname, in acpi_db_walk_for_predefined_names()
442 acpi_ns_check_acpi_compliance(pathname, node, predefined); in acpi_db_walk_for_predefined_names()
444 ACPI_FREE(pathname); in acpi_db_walk_for_predefined_names()
H A Dutdebug.c602 acpi_trace_point(acpi_trace_event_type type, u8 begin, u8 *aml, char *pathname) in acpi_trace_point() argument
607 acpi_ex_trace_point(type, begin, aml, pathname); in acpi_trace_point()
610 acpi_os_trace_point(type, begin, aml, pathname); in acpi_trace_point()
/openbmc/u-boot/include/
H A Dos.h61 int os_open(const char *pathname, int flags);
84 int os_unlink(const char *pathname);
/openbmc/linux/kernel/bpf/
H A Dinode.c436 static int bpf_obj_do_pin(int path_fd, const char __user *pathname, void *raw, in bpf_obj_do_pin() argument
445 dentry = user_path_create(path_fd, pathname, &path, 0); in bpf_obj_do_pin()
478 int bpf_obj_pin_user(u32 ufd, int path_fd, const char __user *pathname) in bpf_obj_pin_user() argument
488 ret = bpf_obj_do_pin(path_fd, pathname, raw, type); in bpf_obj_pin_user()
495 static void *bpf_obj_do_get(int path_fd, const char __user *pathname, in bpf_obj_do_get() argument
503 ret = user_path_at(path_fd, pathname, LOOKUP_FOLLOW, &path); in bpf_obj_do_get()
527 int bpf_obj_get_user(int path_fd, const char __user *pathname, int flags) in bpf_obj_get_user() argument
538 raw = bpf_obj_do_get(path_fd, pathname, &type, f_flags); in bpf_obj_get_user()
/openbmc/linux/tools/power/cpupower/utils/
H A Dcpupower.c181 char pathname[32]; in main() local
218 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in main()
220 stat(pathname, &statbuf) != 0) { in main()
/openbmc/linux/lib/
H A Dstring_helpers.c701 char *temp, *pathname; in kstrdup_quotable_file() local
711 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file()
712 if (IS_ERR(pathname)) in kstrdup_quotable_file()
713 pathname = kstrdup("<too_long>", gfp); in kstrdup_quotable_file()
715 pathname = kstrdup_quotable(pathname, gfp); in kstrdup_quotable_file()
718 return pathname; in kstrdup_quotable_file()
/openbmc/linux/tools/perf/util/
H A Dbuild-id.c137 int filename__sprintf_build_id(const char *pathname, char *sbuild_id) in filename__sprintf_build_id() argument
142 ret = filename__read_build_id(pathname, &bid); in filename__sprintf_build_id()
238 char *pathname; in build_id_cache__valid_id() local
242 pathname = build_id_cache__origname(sbuild_id); in build_id_cache__valid_id()
243 if (!pathname) in build_id_cache__valid_id()
246 if (!strcmp(pathname, DSO__NAME_KALLSYMS)) in build_id_cache__valid_id()
248 else if (pathname[0] == '/') in build_id_cache__valid_id()
249 ret = filename__sprintf_build_id(pathname, real_sbuild_id); in build_id_cache__valid_id()
254 free(pathname); in build_id_cache__valid_id()
578 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi, in build_id_cache__list_build_ids() argument
[all …]
H A Dbuild-id.h29 int filename__sprintf_build_id(const char *pathname, char *sbuild_id);
65 int build_id_cache__list_build_ids(const char *pathname, struct nsinfo *nsi,
/openbmc/linux/kernel/
H A Daudit_watch.c508 char *pathname; in audit_dupe_exe() local
510 pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL); in audit_dupe_exe()
511 if (!pathname) in audit_dupe_exe()
514 audit_mark = audit_alloc_mark(new, pathname, strlen(pathname)); in audit_dupe_exe()
516 kfree(pathname); in audit_dupe_exe()
/openbmc/linux/security/tomoyo/
H A Drealpath.c299 char *tomoyo_realpath_nofollow(const char *pathname) in tomoyo_realpath_nofollow() argument
303 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A Drtrs.h56 const char *pathname,
178 int rtrs_srv_get_path_name(struct rtrs_srv_sess *sess, char *pathname,
/openbmc/qemu/tests/qtest/
H A Di440fx-test.c293 char *pathname; in create_blob_file() local
297 fd = g_file_open_tmp("blob_XXXXXX", &pathname, &error); in create_blob_file()
305 g_file_set_contents(pathname, (char *)buf, BLOB_SIZE, &error); in create_blob_file()
308 return pathname; in create_blob_file()
/openbmc/qemu/include/qemu/
H A Dpath.h5 const char *path(const char *pathname);
/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_flash.c68 const char *pathname; member
372 plat->pathname = dev_read_string(dev, "sandbox,filepath"); in sandbox_flash_ofdata_to_platdata()
398 priv->fd = os_open(plat->pathname, OS_O_RDONLY); in sandbox_flash_probe()
400 return os_get_filesize(plat->pathname, &priv->file_size); in sandbox_flash_probe()
/openbmc/linux/tools/lib/bpf/
H A Dbpf.h297 LIBBPF_API int bpf_obj_pin(int fd, const char *pathname);
298 LIBBPF_API int bpf_obj_pin_opts(int fd, const char *pathname,
311 LIBBPF_API int bpf_obj_get(const char *pathname);
312 LIBBPF_API int bpf_obj_get_opts(const char *pathname,

12345678910