Home
last modified time | relevance | path

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

/linux-4.1.27/tools/power/acpi/tools/acpidump/
Dapfiles.c49 static int ap_is_existing_file(char *pathname);
51 static int ap_is_existing_file(char *pathname) in ap_is_existing_file() argument
56 if (!stat(pathname, &stat_info)) { in ap_is_existing_file()
81 int ap_open_output_file(char *pathname) in ap_open_output_file() argument
87 if (ap_is_existing_file(pathname) != 0) { in ap_open_output_file()
93 file = acpi_os_open_file(pathname, ACPI_FILE_WRITING); in ap_open_output_file()
95 acpi_log_error("Could not open output file: %s\n", pathname); in ap_open_output_file()
102 gbl_output_filename = pathname; in ap_open_output_file()
195 struct acpi_table_header *ap_get_table_from_file(char *pathname, in ap_get_table_from_file() argument
206 acpi_os_open_file(pathname, ACPI_FILE_READING | ACPI_FILE_BINARY); in ap_get_table_from_file()
[all …]
Dacpidump.h107 int ap_dump_table_from_file(char *pathname);
124 int ap_open_output_file(char *pathname);
128 struct acpi_table_header *ap_get_table_from_file(char *pathname,
Dapdump.c396 int ap_dump_table_from_file(char *pathname) in ap_dump_table_from_file() argument
404 table = ap_get_table_from_file(pathname, &file_size); in ap_dump_table_from_file()
414 table->length, file_size, pathname); in ap_dump_table_from_file()
421 pathname, table->signature, file_size, file_size); in ap_dump_table_from_file()
/linux-4.1.27/drivers/acpi/acpica/
Dutxfmutex.c54 acpi_string pathname,
75 acpi_string pathname, in acpi_ut_get_mutex_object() argument
84 if (!ret_obj || (!handle && !pathname)) { in acpi_ut_get_mutex_object()
91 if (pathname != NULL) { in acpi_ut_get_mutex_object()
92 status = acpi_get_handle(handle, pathname, in acpi_ut_get_mutex_object()
136 acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout) in acpi_acquire_mutex() argument
143 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_acquire_mutex()
171 acpi_status acpi_release_mutex(acpi_handle handle, acpi_string pathname) in acpi_release_mutex() argument
178 status = acpi_ut_get_mutex_object(handle, pathname, &mutex_obj); in acpi_release_mutex()
Dnsarguments.c117 acpi_ns_check_acpi_compliance(char *pathname, in acpi_ns_check_acpi_compliance() argument
142 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_acpi_compliance()
153 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_acpi_compliance()
177 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_acpi_compliance()
185 ACPI_BIOS_ERROR_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_acpi_compliance()
210 acpi_ns_check_argument_count(char *pathname, in acpi_ns_check_argument_count() argument
225 ACPI_INFO_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
251 ACPI_WARN_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
258 ACPI_INFO_PREDEFINED((AE_INFO, pathname, in acpi_ns_check_argument_count()
283 ACPI_WARN_PREDEFINED((AE_INFO, pathname, ACPI_WARN_ALWAYS, in acpi_ns_check_argument_count()
[all …]
Duterror.c77 char *pathname, in acpi_ut_predefined_warning() argument
90 acpi_os_printf(ACPI_MSG_WARNING "%s: ", pathname); in acpi_ut_predefined_warning()
120 char *pathname, u8 node_flags, const char *format, ...) in acpi_ut_predefined_info() argument
132 acpi_os_printf(ACPI_MSG_INFO "%s: ", pathname); in acpi_ut_predefined_info()
162 char *pathname, in acpi_ut_predefined_bios_error() argument
175 acpi_os_printf(ACPI_MSG_BIOS_ERROR "%s: ", pathname); in acpi_ut_predefined_bios_error()
Dutstring.c571 void ut_convert_backslashes(char *pathname) in ut_convert_backslashes() argument
574 if (!pathname) { in ut_convert_backslashes()
578 while (*pathname) { in ut_convert_backslashes()
579 if (*pathname == '\\') { in ut_convert_backslashes()
580 *pathname = '/'; in ut_convert_backslashes()
583 pathname++; in ut_convert_backslashes()
Dutaddress.c208 char *pathname; in acpi_ut_check_address_range() local
241 pathname = in acpi_ut_check_address_range()
254 pathname)); in acpi_ut_check_address_range()
255 ACPI_FREE(pathname); in acpi_ut_check_address_range()
Dnsutils.c670 const char *pathname, in acpi_ns_get_node() argument
677 ACPI_FUNCTION_TRACE_PTR(ns_get_node, ACPI_CAST_PTR(char, pathname)); in acpi_ns_get_node()
681 if (!pathname) { in acpi_ns_get_node()
691 if (ACPI_IS_ROOT_PREFIX(pathname[0]) && (!pathname[1])) { in acpi_ns_get_node()
698 status = acpi_ns_internalize_name(pathname, &internal_path); in acpi_ns_get_node()
722 pathname, acpi_format_exception(status))); in acpi_ns_get_node()
Dnsxfeval.c81 acpi_string pathname, in acpi_evaluate_object_typed() argument
103 status = acpi_evaluate_object(handle, pathname, in acpi_evaluate_object_typed()
176 acpi_string pathname, in ACPI_EXPORT_SYMBOL()
210 if ((pathname) && (ACPI_IS_ROOT_PREFIX(pathname[0]))) { in ACPI_EXPORT_SYMBOL()
221 if (!pathname) { in ACPI_EXPORT_SYMBOL()
227 pathname)); in ACPI_EXPORT_SYMBOL()
234 info->relative_pathname = pathname; in ACPI_EXPORT_SYMBOL()
246 ACPI_WARN_PREDEFINED((AE_INFO, pathname, in ACPI_EXPORT_SYMBOL()
Dnsdump.c86 void acpi_ns_print_pathname(u32 num_segments, char *pathname) in acpi_ns_print_pathname() argument
104 ACPI_IS_PRINT(pathname[i]) ? in acpi_ns_print_pathname()
105 acpi_os_printf("%c", pathname[i]) : in acpi_ns_print_pathname()
109 pathname += ACPI_NAME_SIZE; in acpi_ns_print_pathname()
709 char *pathname; in acpi_ns_dump_one_object_path() local
725 pathname = acpi_ns_get_external_pathname(node); in acpi_ns_dump_one_object_path()
736 acpi_os_printf("%s\n", &pathname[1]); in acpi_ns_dump_one_object_path()
737 ACPI_FREE(pathname); in acpi_ns_dump_one_object_path()
Dnsxfname.c81 acpi_string pathname, acpi_handle * ret_handle) in acpi_get_handle() argument
91 if (!ret_handle || !pathname) { in acpi_get_handle()
111 if (ACPI_IS_ROOT_PREFIX(pathname[0])) { in acpi_get_handle()
117 if (!ACPI_STRCMP(pathname, ACPI_NS_ROOT_PATH)) { in acpi_get_handle()
132 acpi_ns_get_node(prefix_node, pathname, ACPI_NS_NO_UPSEARCH, &node); in acpi_get_handle()
Dnsaccess.c281 char *pathname, in acpi_ns_lookup() argument
289 char *path = pathname; in acpi_ns_lookup()
353 if (!pathname) { in acpi_ns_lookup()
429 pathname)); in acpi_ns_lookup()
Dacnamesp.h204 void acpi_ns_print_pathname(u32 num_segments, char *pathname);
235 acpi_ns_check_argument_count(char *pathname,
241 acpi_ns_check_acpi_compliance(char *pathname,
Dacutils.h639 void ut_convert_backslashes(char *pathname);
731 char *pathname,
737 char *pathname, u8 node_flags, const char *format, ...);
742 char *pathname,
Daclocal.h1085 char pathname[ACPI_DB_LINE_BUFFER_SIZE]; member
/linux-4.1.27/tools/perf/util/
Dpath.c96 char *pathname = get_pathname(); in mkpath() local
99 len = vsnprintf(pathname, PATH_MAX, fmt, args); in mkpath()
103 return cleanup_path(pathname); in mkpath()
109 char *pathname = get_pathname(); in perf_path() local
116 memcpy(pathname, perf_dir, len); in perf_path()
118 pathname[len++] = '/'; in perf_path()
120 len += vsnprintf(pathname + len, PATH_MAX - len, fmt, args); in perf_path()
124 return cleanup_path(pathname); in perf_path()
Dbuild-id.h26 int build_id_cache__list_build_ids(const char *pathname,
Dbuild-id.c303 int build_id_cache__list_build_ids(const char *pathname, in build_id_cache__list_build_ids() argument
313 dir_name = build_id_cache__dirname_from_path(pathname, false, false); in build_id_cache__list_build_ids()
Ddso.h219 bool is_kernel_module(const char *pathname);
Ddso.c168 bool is_kernel_module(const char *pathname) in is_kernel_module() argument
172 if (kmod_path__parse(&m, pathname)) in is_kernel_module()
/linux-4.1.27/security/integrity/ima/
Dima_main.c84 const char **pathname) in ima_rdwr_violation_check() argument
106 *pathname = ima_d_path(&file->f_path, pathbuf); in ima_rdwr_violation_check()
109 ima_add_violation(file, *pathname, "invalid_pcr", "ToMToU"); in ima_rdwr_violation_check()
111 ima_add_violation(file, *pathname, in ima_rdwr_violation_check()
163 const char *pathname = NULL; in process_measurement() local
198 &pathbuf, &pathname); in process_measurement()
232 if (!pathname) /* ima_rdwr_violation possibly pre-fetched */ in process_measurement()
233 pathname = ima_d_path(&file->f_path, &pathbuf); in process_measurement()
236 ima_store_measurement(iint, file, pathname, in process_measurement()
239 rc = ima_appraise_measurement(function, iint, file, pathname, in process_measurement()
[all …]
Dima_api.c325 char *pathname = NULL; in ima_d_path() local
329 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path()
330 if (IS_ERR(pathname)) { in ima_d_path()
333 pathname = NULL; in ima_d_path()
336 return pathname ?: (const char *)path->dentry->d_name.name; in ima_d_path()
DKconfig55 hash, defined as 20 bytes, and a null terminated pathname,
/linux-4.1.27/fs/
Dxattr.c367 static int path_setxattr(const char __user *pathname, in path_setxattr() argument
374 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_setxattr()
390 SYSCALL_DEFINE5(setxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
394 return path_setxattr(pathname, name, value, size, flags, LOOKUP_FOLLOW); in SYSCALL_DEFINE5()
397 SYSCALL_DEFINE5(lsetxattr, const char __user *, pathname, in SYSCALL_DEFINE5() argument
401 return path_setxattr(pathname, name, value, size, flags, 0); in SYSCALL_DEFINE5()
471 static ssize_t path_getxattr(const char __user *pathname, in path_getxattr() argument
478 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in path_getxattr()
490 SYSCALL_DEFINE4(getxattr, const char __user *, pathname, in SYSCALL_DEFINE4() argument
493 return path_getxattr(pathname, name, value, size, LOOKUP_FOLLOW); in SYSCALL_DEFINE4()
[all …]
Dstatfs.c77 int user_statfs(const char __user *pathname, struct kstatfs *st) in user_statfs() argument
83 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in user_statfs()
172 SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct statfs __user *, buf) in SYSCALL_DEFINE2() argument
175 int error = user_statfs(pathname, &st); in SYSCALL_DEFINE2()
181 SYSCALL_DEFINE3(statfs64, const char __user *, pathname, size_t, sz, struct statfs64 __user *, buf) in SYSCALL_DEFINE3() argument
187 error = user_statfs(pathname, &st); in SYSCALL_DEFINE3()
Dnamei.c3180 static int do_tmpfile(int dfd, struct filename *pathname, in do_tmpfile() argument
3188 int error = path_lookupat(dfd, pathname, in do_tmpfile()
3217 audit_inode(pathname, nd->path.dentry, 0); in do_tmpfile()
3242 static struct file *path_openat(int dfd, struct filename *pathname, in path_openat() argument
3257 error = do_tmpfile(dfd, pathname, nd, flags, op, file, &opened); in path_openat()
3261 error = path_init(dfd, pathname, flags, nd); in path_openat()
3265 error = do_last(nd, &path, file, op, &opened, pathname); in path_openat()
3283 error = do_last(nd, &path, file, op, &opened, pathname); in path_openat()
3305 struct file *do_filp_open(int dfd, struct filename *pathname, in do_filp_open() argument
3312 filp = path_openat(dfd, pathname, &nd, op, flags | LOOKUP_RCU); in do_filp_open()
[all …]
Dinternal.h102 extern struct file *do_filp_open(int dfd, struct filename *pathname,
Dopen.c118 static long do_sys_truncate(const char __user *pathname, loff_t length) in do_sys_truncate() argument
128 error = user_path_at(AT_FDCWD, pathname, lookup_flags, &path); in do_sys_truncate()
1051 SYSCALL_DEFINE2(creat, const char __user *, pathname, umode_t, mode) in SYSCALL_DEFINE2() argument
1053 return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); in SYSCALL_DEFINE2()
Dstat.c315 SYSCALL_DEFINE4(readlinkat, int, dfd, const char __user *, pathname, in SYSCALL_DEFINE4() argument
327 error = user_path_at_empty(dfd, pathname, lookup_flags, &path, &empty); in SYSCALL_DEFINE4()
Dblock_dev.c1713 struct block_device *lookup_bdev(const char *pathname) in lookup_bdev() argument
1720 if (!pathname || !*pathname) in lookup_bdev()
1723 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
Dcompat.c250 COMPAT_SYSCALL_DEFINE2(statfs, const char __user *, pathname, struct compat_statfs __user *, buf) in COMPAT_SYSCALL_DEFINE2() argument
253 int error = user_statfs(pathname, &tmp); in COMPAT_SYSCALL_DEFINE2()
301 COMPAT_SYSCALL_DEFINE3(statfs64, const char __user *, pathname, compat_size_t, sz, struct compat_st… in COMPAT_SYSCALL_DEFINE3() argument
309 error = user_statfs(pathname, &tmp); in COMPAT_SYSCALL_DEFINE3()
/linux-4.1.27/drivers/acpi/
Dutils.c291 acpi_string pathname, in acpi_evaluate_integer() argument
303 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_integer()
305 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer()
310 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); in acpi_evaluate_integer()
325 acpi_string pathname, in acpi_evaluate_reference() argument
342 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_reference()
350 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
355 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
360 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
377 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
[all …]
Dscan.c1742 char pathname[5] = { '_', 'P', 'R', '0' + state, '\0' }; in acpi_bus_init_power_state() local
1749 status = acpi_evaluate_object(device->handle, pathname, NULL, &buffer); in acpi_bus_init_power_state()
1765 pathname[2] = 'S'; in acpi_bus_init_power_state()
1766 if (acpi_has_method(device->handle, pathname)) in acpi_bus_init_power_state()
/linux-4.1.27/arch/parisc/kernel/
Dsys_parisc32.c28 const char __user * pathname) in sys32_fanotify_mark() argument
32 dfd, pathname); in sys32_fanotify_mark()
/linux-4.1.27/kernel/
Daudit_tree.c20 char pathname[]; member
87 strcpy(tree->pathname, s); in alloc_tree()
106 return tree->pathname; in audit_tree_path()
464 audit_log_untrustedstring(ab, rule->tree->pathname); in audit_tree_log_remove_rule()
602 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees()
631 int audit_make_tree(struct audit_krule *rule, char *pathname, u32 op) in audit_make_tree() argument
634 if (pathname[0] != '/' || in audit_make_tree()
639 rule->tree = alloc_tree(pathname); in audit_make_tree()
716 if (!strcmp(seed->pathname, tree->pathname)) { in audit_add_tree_rule()
735 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule()
[all …]
Dsysctl_binary.c1303 char *pathname; in binary_sysctl() local
1306 pathname = sysctl_getname(name, nlen, &table); in binary_sysctl()
1307 result = PTR_ERR(pathname); in binary_sysctl()
1308 if (IS_ERR(pathname)) in binary_sysctl()
1324 file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0); in binary_sysctl()
1333 __putname(pathname); in binary_sysctl()
Dacct.c190 static int acct_on(struct filename *pathname) in acct_on() argument
204 file = file_open_name(pathname, O_WRONLY|O_APPEND|O_LARGEFILE, 0); in acct_on()
Daudit.c1619 char *p, *pathname; in audit_log_d_path() local
1625 pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); in audit_log_d_path()
1626 if (!pathname) { in audit_log_d_path()
1630 p = d_path(path, pathname, PATH_MAX+11); in audit_log_d_path()
1636 kfree(pathname); in audit_log_d_path()
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
Dsyscalls.c62 static long do_spu_create(const char __user *pathname, unsigned int flags, in do_spu_create() argument
69 dentry = user_path_create(AT_FDCWD, pathname, &path, LOOKUP_DIRECTORY); in do_spu_create()
/linux-4.1.27/tools/perf/
Dbuiltin-buildid-cache.c224 static int build_id_cache__purge_path(const char *pathname) in build_id_cache__purge_path() argument
230 err = build_id_cache__list_build_ids(pathname, &list); in build_id_cache__purge_path()
236 pr_debug("Removing %s %s: %s\n", pos->s, pathname, in build_id_cache__purge_path()
244 pr_debug("Purging %s: %s\n", pathname, err ? "FAIL" : "Ok"); in build_id_cache__purge_path()
Dbuiltin-trace.c1261 static int trace__set_fd_pathname(struct thread *thread, int fd, const char *pathname) in trace__set_fd_pathname() argument
1282 ttrace->paths.table[fd] = strdup(pathname); in trace__set_fd_pathname()
1289 char linkname[PATH_MAX], pathname[PATH_MAX]; in thread__read_fd_path() local
1301 if (lstat(linkname, &st) < 0 || st.st_size + 1 > (off_t)sizeof(pathname)) in thread__read_fd_path()
1304 ret = readlink(linkname, pathname, sizeof(pathname)); in thread__read_fd_path()
1309 pathname[ret] = '\0'; in thread__read_fd_path()
1310 return trace__set_fd_pathname(thread, fd, pathname); in thread__read_fd_path()
/linux-4.1.27/security/tomoyo/
DKconfig12 This selects TOMOYO Linux, pathname-based access control.
63 This is the default pathname of policy loader which is called before
73 This is the default pathname of activation trigger.
Drealpath.c319 char *tomoyo_realpath_nofollow(const char *pathname) in tomoyo_realpath_nofollow() argument
323 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
Dgroup.c125 tomoyo_path_matches_group(const struct tomoyo_path_info *pathname, in tomoyo_path_matches_group() argument
132 if (!tomoyo_path_matches_pattern(pathname, member->member_name)) in tomoyo_path_matches_group()
Dcommon.h949 char *tomoyo_realpath_nofollow(const char *pathname);
958 (const struct tomoyo_path_info *pathname, const struct tomoyo_group *group);
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c64 COMPAT_SYSCALL_WRAP2(creat, const char __user *, pathname, umode_t, mode);
66 COMPAT_SYSCALL_WRAP1(unlink, const char __user *, pathname);
76 COMPAT_SYSCALL_WRAP2(mkdir, const char __user *, pathname, umode_t, mode);
77 COMPAT_SYSCALL_WRAP1(rmdir, const char __user *, pathname);
181 COMPAT_SYSCALL_WRAP3(mkdirat, int, dfd, const char __user *, pathname, umode_t, mode);
184 COMPAT_SYSCALL_WRAP3(unlinkat, int, dfd, const char __user *, pathname, int, flag);
/linux-4.1.27/include/acpi/
Dacpixf.h488 acpi_string pathname,
510 acpi_string pathname,
517 acpi_string pathname,
645 acpi_string pathname,
650 acpi_string pathname))
Dacpi_bus.h45 acpi_string pathname,
49 acpi_string pathname,
Dacpiosxf.h385 void *acpi_os_open_directory(char *pathname,
/linux-4.1.27/drivers/mtd/ubi/
Dkapi.c302 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode) in ubi_open_volume_path() argument
308 dbg_gen("open volume %s, mode %d", pathname, mode); in ubi_open_volume_path()
310 if (!pathname || !*pathname) in ubi_open_volume_path()
313 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
/linux-4.1.27/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c90 osl_get_customized_table(char *pathname,
1297 osl_get_customized_table(char *pathname, in osl_get_customized_table() argument
1312 table_dir = acpi_os_open_directory(pathname, "*", REQUEST_FILE_ONLY); in osl_get_customized_table()
1342 sprintf(table_filename, "%s/%4.4s%d", pathname, in osl_get_customized_table()
1345 sprintf(table_filename, "%s/%4.4s", pathname, in osl_get_customized_table()
/linux-4.1.27/Documentation/filesystems/
Dspufs.txt415 int spu_create(const char *pathname, int flags, mode_t mode);
421 pathname and returns a handle to associated with it. pathname must
424 ated on pathname and it is populated with files.
461 EFAULT pathname is not a valid string pointer in the current address
464 EINVAL pathname is not a directory in the spufs mount point.
466 ELOOP Too many symlinks were found while resolving pathname.
471 pathname was too long.
475 ENOENT Part of pathname could not be resolved.
488 A part of pathname is not a directory.
500 pathname must point to a location beneath the mount point of spufs. By
Dvfs.txt32 calls. The pathname argument that is passed to them is used by the VFS
35 translate a pathname (filename) into a specific dentry. Dentries live
40 some bits of the cache are missing. In order to resolve your pathname
101 will be attached to the mountpoint, so that when pathname resolution
1007 d_dname: called when the pathname of a dentry should be generated.
1009 pathname generation. (Instead of doing it when dentry is created,
Dpath-lookup.txt7 with the first component of the pathname (eg. root or cwd) with a known dentry,
DLocking156 by resolving the pathname passed to syscall.
Dproc.txt338 address perms offset dev inode pathname
373 The "pathname" shows the name associated file for this mapping. If the mapping
Dcoda.txt882 pathname srcname. The attributes of the newly created object are to
/linux-4.1.27/fs/notify/fanotify/
Dfanotify_user.c802 const char __user *, pathname) in SYSCALL_DEFINE5() argument
812 __func__, fanotify_fd, flags, dfd, pathname, mask); in SYSCALL_DEFINE5()
874 ret = fanotify_find_path(dfd, pathname, &path, flags); in SYSCALL_DEFINE5()
912 const char __user *, pathname) in COMPAT_SYSCALL_DEFINE6() argument
920 dfd, pathname); in COMPAT_SYSCALL_DEFINE6()
/linux-4.1.27/fs/nfs/
Dnfs4namespace.c32 static inline char *nfs4_pathname_string(const struct nfs4_pathname *pathname, in nfs4_pathname_string() argument
41 n = pathname->ncomponents; in nfs4_pathname_string()
43 const struct nfs4_string *component = &pathname->components[n]; in nfs4_pathname_string()
Dmount_clnt.c299 static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname) in encode_mntdirpath() argument
301 const u32 pathname_len = strlen(pathname); in encode_mntdirpath()
305 xdr_encode_opaque(p, pathname, pathname_len); in encode_mntdirpath()
/linux-4.1.27/include/uapi/linux/raid/
Dmd_u.h145 char pathname[4096]; member
/linux-4.1.27/security/
DKconfig66 bool "Security hooks for pathname based access control"
69 This enables the security hooks for pathname based access control.
71 implement pathname based access controls.
/linux-4.1.27/tools/perf/Documentation/
Dperf-inject.txt45 kallsyms pathname
Dperf-annotate.txt48 vmlinux pathname.
Dperf-script.txt173 vmlinux pathname
176 kallsyms pathname
Dperf-trace.txt110 Show tool stats such as number of times fd->pathname was discovered thru
Dperf-report.txt228 vmlinux pathname
231 kallsyms pathname
Dperf-diff.txt35 kallsyms pathname
/linux-4.1.27/include/linux/mtd/
Dubi.h243 struct ubi_volume_desc *ubi_open_volume_path(const char *pathname, int mode);
/linux-4.1.27/Documentation/device-mapper/
Dlinear.txt9 <dev path>: Full pathname to the underlying block-device, or a
Dstriped.txt14 <dev path>: Full pathname to the underlying block-device, or a
Ddm-flakey.txt22 <dev path>: Full pathname to the underlying block-device, or a
/linux-4.1.27/sound/oss/
DKconfig37 string "Full pathname of MSNDINIT.BIN firmware file"
48 string "Full pathname of MSNDPERM.BIN firmware file"
99 string "Full pathname of PNDSPINI.BIN firmware file"
110 string "Full pathname of PNDSPERM.BIN firmware file"
298 string "Full pathname of TRXPRO.HEX firmware file"
302 Enter the full pathname of your TRXPRO.HEX file, starting from /.
406 string "Full pathname of DSPxxx.LD firmware file"
410 Enter the full pathname of your DSPxxx.LD file or SYNTH.LD file,
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c264 char pathname[32]; in get_msr() local
267 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in get_msr()
268 fd = open(pathname, O_RDONLY); in get_msr()
270 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in get_msr()
276 err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); in get_msr()
1698 char pathname[32]; in check_dev_msr() local
1700 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in check_dev_msr()
1701 if (stat(pathname, &sb)) in check_dev_msr()
1714 char pathname[32]; in check_permissions() local
1729 sprintf(pathname, "/dev/cpu/%d/msr", base_cpu); in check_permissions()
[all …]
/linux-4.1.27/include/linux/
Dsyscalls.h479 asmlinkage long sys_unlink(const char __user *pathname);
516 asmlinkage long sys_creat(const char __user *pathname, umode_t mode);
581 asmlinkage long sys_mkdir(const char __user *pathname, umode_t mode);
584 asmlinkage long sys_rmdir(const char __user *pathname);
756 asmlinkage long sys_mkdirat(int dfd, const char __user * pathname, umode_t mode);
757 asmlinkage long sys_unlinkat(int dfd, const char __user * pathname, int flag);
824 const char __user *pathname);
Dcompat.h493 asmlinkage long compat_sys_statfs(const char __user *pathname,
497 asmlinkage long compat_sys_statfs64(const char __user *pathname,
/linux-4.1.27/Documentation/security/
DIMA-templates.txt7 and pathname. The filedata hash is limited to 20 bytes (md5/sha1).
8 The pathname is a null terminated string, limited to 255 characters.
Dtomoyo.txt38 The role of "pathname based access control" in security.
/linux-4.1.27/Documentation/mic/mpssd/
Dmpssd.c1400 char pathname[PATH_MAX]; in mic_config() local
1405 snprintf(pathname, PATH_MAX - 1, "%s/%s/%s", in mic_config()
1408 fd = open(pathname, O_RDONLY); in mic_config()
1411 mic->name, pathname, strerror(errno)); in mic_config()
1419 mic->name, pathname, strerror(errno)); in mic_config()
1425 mic->name, pathname, strerror(errno)); in mic_config()
/linux-4.1.27/tools/vm/
Dpage-types.c239 static int checked_open(const char *pathname, int flags) in checked_open() argument
241 int fd = open(pathname, flags); in checked_open()
244 perror(pathname); in checked_open()
/linux-4.1.27/Documentation/usb/
Dhotplug.txt37 holds the pathname "/sbin/hotplug". That parameter names a program
71 the pathname of the device, and is useful for devices with multiple and/or
/linux-4.1.27/fs/autofs4/
Ddev-ioctl.c194 static int find_autofs_mount(const char *pathname, in find_autofs_mount() argument
200 int err = kern_path_mountpoint(AT_FDCWD, pathname, &path, 0); in find_autofs_mount()
/linux-4.1.27/arch/alpha/kernel/
Dosf_sys.c339 SYSCALL_DEFINE3(osf_statfs, const char __user *, pathname, in SYSCALL_DEFINE3() argument
343 int error = user_statfs(pathname, &linux_stat); in SYSCALL_DEFINE3()
395 SYSCALL_DEFINE3(osf_statfs64, char __user *, pathname, in SYSCALL_DEFINE3() argument
399 int error = user_statfs(pathname, &linux_stat); in SYSCALL_DEFINE3()
/linux-4.1.27/Documentation/
Dmono.txt50 # Replace /usr/bin/mono with the correct pathname to
Ddynamic-debug-howto.txt155 The given string is compared against either the full pathname, the
156 src-root relative pathname, or the basename of the source file of
Dkernel-parameters.txt2195 [NFS] sets the pathname to the program which is used
2267 [NFS] [OBJLAYOUT] sets the pathname to the program which
Ddevices.txt20 Standard (FHS). The FHS is available from http://www.pathname.com/fhs/.
/linux-4.1.27/fs/notify/inotify/
Dinotify_user.c699 SYSCALL_DEFINE3(inotify_add_watch, int, fd, const char __user *, pathname, in SYSCALL_DEFINE3() argument
728 ret = inotify_find_inode(pathname, &path, flags); in SYSCALL_DEFINE3()
/linux-4.1.27/Documentation/acpi/
Dmethod-customizing.txt43 Note that the full pathname of the method in ACPI namespace
/linux-4.1.27/mm/
Dswapfile.c1811 struct filename *pathname; in SYSCALL_DEFINE1() local
1820 pathname = getname(specialfile); in SYSCALL_DEFINE1()
1821 if (IS_ERR(pathname)) in SYSCALL_DEFINE1()
1822 return PTR_ERR(pathname); in SYSCALL_DEFINE1()
1824 victim = file_open_name(pathname, O_RDWR|O_LARGEFILE, 0); in SYSCALL_DEFINE1()
1953 putname(pathname); in SYSCALL_DEFINE1()
/linux-4.1.27/fs/proc/
Dbase.c1404 char *pathname; in do_proc_readlink() local
1410 pathname = d_path(path, tmp, PAGE_SIZE); in do_proc_readlink()
1411 len = PTR_ERR(pathname); in do_proc_readlink()
1412 if (IS_ERR(pathname)) in do_proc_readlink()
1414 len = tmp + PAGE_SIZE - 1 - pathname; in do_proc_readlink()
1418 if (copy_to_user(buffer, pathname, len)) in do_proc_readlink()
/linux-4.1.27/Documentation/frv/
Dbooting.txt150 and the pathname on that server of the filesystem.
/linux-4.1.27/drivers/md/
Dmd.c5755 file->pathname[0] = '\0'; in get_bitmap_file()
5757 file->pathname, sizeof(file->pathname))), in get_bitmap_file()
5761 memmove(file->pathname, ptr, in get_bitmap_file()
5762 sizeof(file->pathname)-(ptr-file->pathname)); in get_bitmap_file()
/linux-4.1.27/fs/ext4/
Dsuper.c469 char pathname[80], *path; in __ext4_error_file() local
474 path = d_path(&(file->f_path), pathname, sizeof(pathname)); in __ext4_error_file()
/linux-4.1.27/Documentation/cgroups/
Dcgroups.txt290 supplying the pathname (relative to the mount point of the cgroup
/linux-4.1.27/
DCREDITS2953 E: quinlan@pathname.com
2954 W: http://www.pathname.com/~quinlan/
/linux-4.1.27/arch/arm/
DKconfig823 # This is sorted alphabetically by mach-* pathname. However, plat-*
/linux-4.1.27/Documentation/scsi/
Dncr53c8xx.txt323 The device associated with a host has the following pathname:
/linux-4.1.27/Documentation/RCU/
DRTFP.txt2532 on some seriously pathname-lookup intensive loads."