Searched refs:pathname (Results 26 - 50 of 135) sorted by relevance

123456

/linux-master/tools/testing/cxl/test/
H A Dmock.h15 acpi_string pathname,
/linux-master/security/loadpin/
H A Dloadpin.c29 char *cmdline, *pathname; local
31 pathname = kstrdup_quotable_file(file, GFP_KERNEL);
36 (pathname && pathname[0] != '<') ? "\"" : "",
37 pathname,
38 (pathname && pathname[0] != '<') ? "\"" : "",
43 kfree(pathname);
/linux-master/scripts/gdb/linux/
H A Dproc.py173 "mount", "super_block", "devname", "pathname", "fstype"))
180 pathname = ""
184 pathname = vfs.dentry_name(mntpoint) + pathname
189 if (pathname == ""):
190 pathname = "/"
200 pathname, fstype, rd, info_opts(FS_INFO, s_flags),
/linux-master/fs/
H A Dxattr.c658 static int path_setxattr(const char __user *pathname, argument
666 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
683 SYSCALL_DEFINE5(setxattr, const char __user *, pathname,
687 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW);
690 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname,
694 return path_setxattr(pathname, name, value, size, flags, 0);
777 static ssize_t path_getxattr(const char __user *pathname, argument
784 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path);
796 SYSCALL_DEFINE4(getxattr, const char __user *, pathname,
799 return path_getxattr(pathname, nam
855 path_listxattr(const char __user *pathname, char __user *list, size_t size, unsigned int lookup_flags) argument
920 path_removexattr(const char __user *pathname, const char __user *name, unsigned int lookup_flags) argument
[all...]
H A Dinit.c217 int __init init_unlink(const char *pathname) argument
219 return do_unlinkat(AT_FDCWD, getname_kernel(pathname));
222 int __init init_mkdir(const char *pathname, umode_t mode) argument
228 dentry = kern_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY);
240 int __init init_rmdir(const char *pathname) argument
242 return do_rmdir(AT_FDCWD, getname_kernel(pathname));
/linux-master/drivers/block/rnbd/
H A Drnbd-clt-sysfs.c61 char *pathname; member in struct:rnbd_map_options
149 strscpy(opt->pathname, p, NAME_MAX);
270 return sysfs_emit(page, "%s\n", dev->pathname);
513 char pathname[NAME_MAX], *s; local
515 strscpy(pathname, dev->pathname, sizeof(pathname));
516 while ((s = strchr(pathname, '/')))
519 ret = snprintf(buf, len, "%s@%s", pathname, dev->sess->sessname);
531 len = strlen(dev->pathname)
569 char pathname[NAME_MAX]; local
[all...]
H A Drnbd-clt.h119 char *pathname; member in struct:rnbd_clt_dev
134 const char *pathname,
H A Drnbd-srv.h58 char pathname[NAME_MAX]; member in struct:rnbd_srv_sess_dev
/linux-master/drivers/acpi/acpica/
H A Dnsxfeval.c27 * pathname - Object pathname (optional)
45 acpi_string pathname,
70 if (pathname) {
71 status = acpi_get_handle(handle, pathname, &target_handle);
148 * pathname - Object pathname (optional)
164 acpi_string pathname,
194 * 1) Null node, valid pathname from root (absolute path)
195 * 2) Node and valid pathname (pat
44 acpi_evaluate_object_typed(acpi_handle handle, acpi_string pathname, struct acpi_object_list *external_params, struct acpi_buffer *return_buffer, acpi_object_type return_type) argument
[all...]
H A Ddbmethod.c364 char *pathname; local
372 pathname = acpi_ns_get_external_pathname(node);
373 if (!pathname) {
381 ACPI_FREE(pathname);
412 acpi_os_printf("%-32s returned %s\n", pathname,
417 pathname, return_obj.pointer,
424 ACPI_FREE(pathname);
H A Dnsdump.c42 * pathname - The compressed (internal) path
46 * DESCRIPTION: Print an object's full namespace pathname
50 void acpi_ns_print_pathname(u32 num_segments, const char *pathname) argument
68 isprint((int)pathname[i]) ?
69 acpi_os_printf("%c", pathname[i]) :
73 pathname += ACPI_NAMESEG_SIZE;
97 * DESCRIPTION: Print an object's full namespace pathname
98 * Manages allocation/freeing of a pathname buffer
115 /* Convert handle to a full pathname and print it (with supplied message) */
667 * DESCRIPTION: Dump the full pathname t
679 char *pathname; local
[all...]
H A Dnsxfname.c32 * pathname - Pointer to an asciiz string containing the
47 const char *pathname, acpi_handle *ret_handle)
57 if (!ret_handle || !pathname) {
72 * 1) Fully qualified pathname
73 * 2) Parent + Relative pathname
77 if (ACPI_IS_ROOT_PREFIX(pathname[0])) {
83 if (!strcmp(pathname, ACPI_NS_ROOT_PATH)) {
98 acpi_ns_get_node(prefix_node, pathname, ACPI_NS_NO_UPSEARCH, &node);
112 * PARAMETERS: handle - Handle to be converted to a pathname
113 * name_type - Full pathname o
46 acpi_get_handle(acpi_handle parent, const char *pathname, acpi_handle *ret_handle) argument
[all...]
/linux-master/security/integrity/ima/
H A Dima_api.c424 * ima_d_path - return a pointer to the full pathname
426 * Attempt to return a pointer to the full pathname for use in the
435 char *pathname = NULL; local
439 pathname = d_absolute_path(path, *pathbuf, PATH_MAX);
440 if (IS_ERR(pathname)) {
443 pathname = NULL;
447 if (!pathname) {
449 pathname = namebuf;
452 return pathname;
H A Dima_main.c86 char **pathbuf, const char **pathname,
98 *pathname = ima_d_path(&file->f_path, pathbuf,
100 integrity_audit_msg(AUDIT_INTEGRITY_DATA, inode, *pathname,
120 const char **pathname,
146 *pathname = ima_d_path(&file->f_path, pathbuf, filename);
149 ima_add_violation(file, *pathname, iint,
152 ima_add_violation(file, *pathname, iint,
216 const char *pathname = NULL; local
258 &pathbuf, &pathname, filename);
330 &pathname, filenam
85 mmap_violation_check(enum ima_hooks func, struct file *file, char **pathbuf, const char **pathname, char *filename) argument
116 ima_rdwr_violation_check(struct file *file, struct ima_iint_cache *iint, int must_measure, char **pathbuf, const char **pathname, char *filename) argument
476 const char *pathname = NULL; local
[all...]
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c683 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/fs/smb/server/
H A Dmisc.c165 char *pathname, *ab_pathname, *nt_pathname; local
168 pathname = kmalloc(PATH_MAX, GFP_KERNEL);
169 if (!pathname)
172 ab_pathname = d_path(path, pathname, PATH_MAX);
195 kfree(pathname);
/linux-master/tools/power/cpupower/utils/
H A Dcpupower.c181 char pathname[32]; local
218 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu);
220 stat(pathname, &statbuf) != 0) {
/linux-master/tools/perf/util/
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,
H A Dprobe-file.h59 int probe_cache__scan_sdt(struct probe_cache *pcache, const char *pathname);
/linux-master/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,
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_attach_probe.c64 int BPF_UPROBE(handle_uprobe_byname2, const char *pathname, const char *mode) argument
/linux-master/fs/nfs/
H A Dnfs4namespace.c34 static ssize_t nfs4_pathname_len(const struct nfs4_pathname *pathname) argument
39 for (i = 0; i < pathname->ncomponents; i++) {
40 const struct nfs4_string *component = &pathname->components[i];
55 * Convert the NFSv4 pathname components into a standard posix path.
57 static char *nfs4_pathname_string(const struct nfs4_pathname *pathname, argument
64 len = nfs4_pathname_len(pathname);
73 for (i = 0; i < pathname->ncomponents; i++) {
74 const struct nfs4_string *component = &pathname->components[i];
/linux-master/kernel/
H A Daudit_watch.c508 char *pathname; local
510 pathname = kstrdup(audit_mark_path(old->exe), GFP_KERNEL);
511 if (!pathname)
514 audit_mark = audit_alloc_mark(new, pathname, strlen(pathname));
516 kfree(pathname);
H A Daudit_tree.c22 char pathname[]; member in struct:audit_tree
97 tree = kmalloc(struct_size(tree, pathname, strlen(s) + 1), GFP_KERNEL);
106 strcpy(tree->pathname, s);
125 return tree->pathname;
536 audit_log_untrustedstring(ab, rule->tree->pathname);
695 err = kern_path(tree->pathname, 0, &path);
725 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) argument
728 if (pathname[0] != '/' ||
734 rule->tree = alloc_tree(pathname);
809 if (!strcmp(seed->pathname, tre
[all...]
/linux-master/security/tomoyo/
H A Dgroup.c120 * tomoyo_path_matches_group - Check whether the given pathname matches members of the given pathname group.
122 * @pathname: The name of pathname.
125 * Returns matched member's pathname if @pathname matches pathnames in @group,
131 tomoyo_path_matches_group(const struct tomoyo_path_info *pathname, argument
140 if (!tomoyo_path_matches_pattern(pathname, member->member_name))

Completed in 351 milliseconds

123456