/kernel/linux/linux-5.10/kernel/ |
H A D | audit_fsnotify.c | 74 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()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | audit_fsnotify.c | 74 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()
|
/kernel/linux/linux-6.6/tools/power/acpi/tools/acpidump/ |
H A D | apdump.c | 357 * PARAMETERS: pathname - File containing the binary ACPI table 365 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()
|
H A D | acpidump.h | 63 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,
|
/third_party/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown02.c | 29 * 3) lchown(2) returns -1 and sets errno to EFAULT if pathname points 31 * 4) lchown(2) returns -1 and sets errno to ENAMETOOLONG if the pathname 34 * component in pathname is not a directory. 88 char *pathname; member 126 char *file_name = test_cases[i].pathname; in main() 252 test_cases[pos].pathname = tst_get_bad_addr(cleanup); in setup_efault() 279 memset(test_cases[pos].pathname, 'a', PATH_MAX + 1); in setup_longpath() 280 test_cases[pos].pathname[PATH_MAX + 1] = '\0'; in setup_longpath()
|
/third_party/zlib/contrib/minizip/ |
H A D | zip.h | 116 extern zipFile ZEXPORT zipOpen(const char *pathname, int append); 117 extern zipFile ZEXPORT zipOpen64(const void *pathname, int append); 120 pathname contain on Windows XP a filename like "c:\\zlib\\zlib113.zip" or on 122 if the file pathname exist and append==APPEND_STATUS_CREATEAFTER, the zip 125 if the file pathname exist and append==APPEND_STATUS_ADDINZIP, we will 137 extern zipFile ZEXPORT zipOpen2(const char *pathname, 142 extern zipFile ZEXPORT zipOpen2_64(const void *pathname, 147 extern zipFile ZEXPORT zipOpen3(const void *pathname,
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | nsxfeval.c | 27 * pathname - Object pathname (optional) 45 acpi_string pathname, in acpi_evaluate_object_typed() 70 if (pathname) { in acpi_evaluate_object_typed() 71 status = acpi_get_handle(handle, pathname, &target_handle); in acpi_evaluate_object_typed() 148 * pathname - Object pathname (optional) in ACPI_EXPORT_SYMBOL() 164 acpi_string pathname, in ACPI_EXPORT_SYMBOL() 194 * 1) Null node, valid pathname from root (absolute path) in ACPI_EXPORT_SYMBOL() 195 * 2) Node and valid pathname (pat in ACPI_EXPORT_SYMBOL() 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) acpi_evaluate_object_typed() argument [all...] |
H A D | dbmethod.c | 364 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 D | utaddress.c | 166 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()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | nsxfeval.c | 27 * pathname - Object pathname (optional) 45 acpi_string pathname, in acpi_evaluate_object_typed() 70 if (pathname) { in acpi_evaluate_object_typed() 71 status = acpi_get_handle(handle, pathname, &target_handle); in acpi_evaluate_object_typed() 148 * pathname - Object pathname (optional) in ACPI_EXPORT_SYMBOL() 164 acpi_string pathname, in ACPI_EXPORT_SYMBOL() 194 * 1) Null node, valid pathname from root (absolute path) in ACPI_EXPORT_SYMBOL() 195 * 2) Node and valid pathname (pat in ACPI_EXPORT_SYMBOL() 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) acpi_evaluate_object_typed() argument [all...] |
H A D | dbmethod.c | 364 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()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | module.c | 52 char *n, *p, *pathname; in pa_module_exists() local 74 pathname = pa_sprintf_malloc("%s" PA_PATH_SEP "%s" PA_SOEXT, p, n); in pa_module_exists() 75 result = access(pathname, F_OK) == 0 ? true : false; in pa_module_exists() 76 pa_log_debug("Checking for existence of '%s': %s", pathname, result ? "success" : "failure"); in pa_module_exists() 77 pa_xfree(pathname); in pa_module_exists() 89 pathname = pa_sprintf_malloc("%s" PA_PATH_SEP "src" PA_PATH_SEP "modules" PA_PATH_SEP "%s" PA_SOEXT, p, n); in pa_module_exists() 91 pathname = pa_sprintf_malloc("%s" PA_PATH_SEP ".libs" PA_PATH_SEP "%s" PA_SOEXT, p, n); in pa_module_exists() 93 result = access(pathname, F_OK) == 0 ? true : false; in pa_module_exists() 94 pa_log_debug("Checking for existence of '%s': %s", pathname, result ? "success" : "failure"); in pa_module_exists() 95 pa_xfree(pathname); in pa_module_exists() [all...] |
/third_party/ltp/include/ |
H A D | tst_safe_macros.h | 27 int safe_access(const char *filename, const int lineno, const char *pathname, 43 #define SAFE_CREAT(pathname, mode) \ 44 safe_creat(__FILE__, __LINE__, NULL, (pathname), (mode)) 80 #define SAFE_MKDIR(pathname, mode) \ 81 safe_mkdir(__FILE__, __LINE__, NULL, (pathname), (mode)) 83 #define SAFE_RMDIR(pathname) \ 84 safe_rmdir(__FILE__, __LINE__, NULL, (pathname)) 89 #define SAFE_OPEN(pathname, oflags, ...) \ 90 safe_open(__FILE__, __LINE__, NULL, (pathname), (oflags), \ 164 #define SAFE_UNLINK(pathname) \ [all...] |
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidump/ |
H A D | acpidump.h | 63 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,
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | path.c | 52 char *pathname = get_pathname(); in mkpath() local 55 len = vsnprintf(pathname, PATH_MAX, fmt, args); in mkpath() 59 return cleanup_path(pathname); in mkpath()
|
/third_party/ltp/testcases/kernel/syscalls/readlinkat/ |
H A D | readlinkat02.c | 18 * - readlinkat() fails with ENOTDIR if the pathname is relative and 23 * - readlinkat() fails with ENOENT when the pathname does not exists. 37 const char *pathname; member 56 TST_EXP_FAIL(readlinkat(*tc->fd, tc->pathname, buf, tc->bufsiz), in verify_readlinkat() 58 *tc->fd, tc->pathname, tc->bufsiz); in verify_readlinkat()
|
/third_party/ltp/testcases/kernel/syscalls/stat/ |
H A D | stat03.c | 33 char *pathname; member 49 TST_EXP_FAIL(stat(tc->pathname, &stat_buf), tc->exp_errno); in verify_stat() 65 TC[i].pathname = tst_get_bad_addr(NULL); in setup()
|
/third_party/selinux/libselinux/include/selinux/ |
H A D | restorecon.h | 14 * @pathname: specifies file/directory to relabel. 25 extern int selinux_restorecon(const char *pathname, 29 * @pathname: specifies file/directory to relabel. 37 extern int selinux_restorecon_parallel(const char *pathname, 73 * Convert passed-in pathname to canonical pathname. 78 * device number than the pathname from which the descent began. 172 * @pathname: specifies directory path to check. 202 extern int selinux_restorecon_xattr(const char *pathname, 211 /* Delete non-matching digests from each directory in pathname [all...] |
/kernel/linux/linux-5.10/security/integrity/ima/ |
H A D | ima_api.c | 383 * ima_d_path - return a pointer to the full pathname 385 * Attempt to return a pointer to the full pathname for use in the 394 char *pathname = NULL; in ima_d_path() local 398 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path() 399 if (IS_ERR(pathname)) { in ima_d_path() 402 pathname = NULL; in ima_d_path() 406 if (!pathname) { in ima_d_path() 408 pathname = namebuf; in ima_d_path() 411 return pathname; in ima_d_path()
|
/kernel/linux/linux-5.10/lib/ |
H A D | string_helpers.c | 626 * Returns allocated NULL-terminated string containing pathname, 632 char *temp, *pathname; in kstrdup_quotable_file() local 642 pathname = file_path(file, temp, PATH_MAX + 11); in kstrdup_quotable_file() 643 if (IS_ERR(pathname)) in kstrdup_quotable_file() 644 pathname = kstrdup("<too_long>", gfp); in kstrdup_quotable_file() 646 pathname = kstrdup_quotable(pathname, gfp); in kstrdup_quotable_file() 649 return pathname; in kstrdup_quotable_file()
|
/kernel/linux/linux-6.6/security/integrity/ima/ |
H A D | ima_api.c | 423 * ima_d_path - return a pointer to the full pathname 425 * Attempt to return a pointer to the full pathname for use in the 434 char *pathname = NULL; in ima_d_path() local 438 pathname = d_absolute_path(path, *pathbuf, PATH_MAX); in ima_d_path() 439 if (IS_ERR(pathname)) { in ima_d_path() 442 pathname = NULL; in ima_d_path() 446 if (!pathname) { in ima_d_path() 448 pathname = namebuf; in ima_d_path() 451 return pathname; in ima_d_path()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | sys32.c | 23 COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname, in COMPAT_SYSCALL_DEFINE3() 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() 91 return ksys_truncate(pathname, arg_u64(length)); in COMPAT_SYSCALL_DEFINE4()
|
/kernel/linux/linux-6.6/arch/arm64/kernel/ |
H A D | sys32.c | 23 COMPAT_SYSCALL_DEFINE3(aarch32_statfs64, const char __user *, pathname, in COMPAT_SYSCALL_DEFINE3() 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() 91 return ksys_truncate(pathname, arg_u64(length)); in COMPAT_SYSCALL_DEFINE4()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | fd-001-lookup.c | 33 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 D | fd-003-kthread.c | 116 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()
|