Home
last modified time | relevance | path

Searched refs:pathname (Results 126 - 150 of 555) sorted by relevance

12345678910>>...23

/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dutaddress.c166 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/tools/testing/selftests/proc/
H A Dfd-003-kthread.c116 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()
H A Dfd-001-lookup.c33 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()
/third_party/NuttX/fs/vfs/
H A Dfs_symlink.c40 char *pathname = (char *)path; in follow_symlink() local
55 ret = vfs_normalize_pathat(dirfd, pathname, fullpath); in follow_symlink()
81 pathname = buffer; in follow_symlink()
82 ret = newvnode->vop->Readlink(newvnode, pathname, PATH_MAX); in follow_symlink()
/third_party/ltp/include/lapi/
H A Dfsmount.h86 static inline int fspick(int dirfd, const char *pathname, unsigned int flags) in fspick() argument
88 return tst_syscall(__NR_fspick, dirfd, pathname, flags); in fspick()
103 static inline int open_tree(int dirfd, const char *pathname, unsigned int flags) in open_tree() argument
105 return tst_syscall(__NR_open_tree, dirfd, pathname, flags); in open_tree()
H A Dfaccessat.h16 int faccessat2(int dirfd, const char *pathname, int mode, int flags) in faccessat2() argument
18 return tst_syscall(__NR_faccessat2, dirfd, pathname, mode, flags); in faccessat2()
H A Dreadlinkat.h14 static inline int readlinkat(int dirfd, const char *pathname, in readlinkat() argument
17 return tst_syscall(__NR_readlinkat, dirfd, pathname, buf, bufsiz); in readlinkat()
/third_party/ltp/testcases/kernel/syscalls/access/
H A Daccess02.c15 * - test the accessibility of the file referred to by symbolic link if the pathname points to a symbolic link
40 const char *pathname; member
60 TST_EXP_PASS_SILENT(access(tc->pathname, tc->mode), in access_test()
61 "access(%s, %s) as %s", tc->pathname, tc->name, user); in access_test()
140 tc->pathname, tc->name, user); in access_test()
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod06.c27 * 2) mknod(2) returns -1 and sets errno to EFAULT if pathname points
30 * component in pathname does not exist.
31 * 4) mknod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname
34 * component in pathname is not a directory.
98 char *pathname; member
138 node_name = Test_cases[ind].pathname; in main()
202 if (!Test_cases[ind].pathname) in setup()
203 Test_cases[ind].pathname = tst_get_bad_addr(cleanup); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
H A Dchmod06.c18 * 3) chmod(2) returns -1 and sets errno to EFAULT if pathname points
20 * 4) chmod(2) returns -1 and sets errno to ENAMETOOLONG if the pathname
23 * component in pathname is not a directory.
51 char *pathname; member
75 TEST(chmod(tc[i].pathname, tc[i].mode)); in run()
115 if (!tc[i].pathname) in setup()
116 tc[i].pathname = bad_addr; in setup()
/third_party/ltp/testcases/kernel/syscalls/truncate/
H A Dtruncate03.c18 * - truncate(2) returns -1 and sets errno to EFAULT if pathname points
21 * of a pathname exceeded 255 characters or entire pathname exceeds 1023
30 * links were encountered in translating the pathname.
63 char *pathname; member
110 if (!test_cases[n].pathname) in setup()
111 test_cases[n].pathname = tst_get_bad_addr(NULL); in setup()
120 TST_EXP_FAIL(truncate(tc->pathname, tc->length), tc->exp_errno); in verify_truncate()
/kernel/linux/linux-5.10/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c680 char pathname[32]; in get_msr() local
683 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in get_msr()
684 fd = open(pathname, O_RDONLY); in get_msr()
686 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in get_msr()
691 err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); in get_msr()
703 char pathname[32]; in put_msr() local
707 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in put_msr()
708 fd = open(pathname, O_RDWR); in put_msr()
710 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in put_msr()
872 char pathname[6 in update_cpufreq_scaling_freq() local
1145 char pathname[128]; get_pkg_num() local
1296 char pathname[32]; probe_dev_msr() local
[all...]
/kernel/linux/linux-6.6/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c683 char pathname[32]; in get_msr() local
686 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in get_msr()
687 fd = open(pathname, O_RDONLY); in get_msr()
689 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in get_msr()
694 err(-1, "%s offset 0x%llx read failed", pathname, (unsigned long long)offset); in get_msr()
706 char pathname[32]; in put_msr() local
710 sprintf(pathname, "/dev/cpu/%d/msr", cpu); in put_msr()
711 fd = open(pathname, O_RDWR); in put_msr()
713 err(-1, "%s open failed, try chown or chmod +r /dev/cpu/*/msr, or run as root", pathname); in put_msr()
961 char pathname[6 in update_cpufreq_scaling_freq() local
1234 char pathname[128]; get_pkg_num() local
1385 char pathname[32]; probe_dev_msr() local
[all...]
/third_party/musl/src/time/
H A D__tz.c160 char buf[NAME_MAX+25], *pathname=buf+24; in do_tzset() local
255 /* Non-suid can use an absolute tzfile pathname or a relative in do_tzset()
276 memcpy(pathname, s, l+1); in do_tzset()
277 pathname[l] = 0; in do_tzset()
280 tzdata_map = __map_tzdata_file(cota_path, pathname, &tzdata_map_size, &map_offset, &map_size); in do_tzset()
287 tzdata_map = __map_tzdata_file(try, pathname, &tzdata_map_size, &map_offset, &map_size); in do_tzset()
305 memcpy(pathname, s, l+1); in do_tzset()
306 pathname[l] = 0; in do_tzset()
309 memcpy(pathname-l, try, l); in do_tzset()
310 map = __map_file(pathname in do_tzset()
[all...]
/third_party/python/Lib/
H A Dzipimport.py199 def get_data(self, pathname):
200 """get_data(pathname) -> string with file data.
202 Return the data associated with 'pathname'. Raise OSError if
206 pathname = pathname.replace(alt_path_sep, path_sep)
208 key = pathname
209 if pathname.startswith(self.archive + path_sep):
210 key = pathname[len(self.archive + path_sep):]
641 def _unmarshal_code(self, pathname, fullpath, fullname, data):
678 raise TypeError(f'compiled module {pathname!
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dutils.c267 acpi_string pathname, in acpi_evaluate_integer()
279 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_integer()
281 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer()
286 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); in acpi_evaluate_integer()
301 acpi_string pathname, in acpi_evaluate_reference()
318 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_reference()
326 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
331 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
336 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
354 acpi_util_eval_error(handle, pathname, statu in acpi_evaluate_reference()
266 acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data) acpi_evaluate_integer() argument
300 acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list) acpi_evaluate_reference() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dutils.c248 acpi_string pathname, in acpi_evaluate_integer()
260 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_integer()
262 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_integer()
267 acpi_util_eval_error(handle, pathname, AE_BAD_DATA); in acpi_evaluate_integer()
334 acpi_string pathname, in acpi_evaluate_reference()
351 status = acpi_evaluate_object(handle, pathname, arguments, &buffer); in acpi_evaluate_reference()
359 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
364 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
369 acpi_util_eval_error(handle, pathname, status); in acpi_evaluate_reference()
387 acpi_util_eval_error(handle, pathname, statu in acpi_evaluate_reference()
247 acpi_evaluate_integer(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, unsigned long long *data) acpi_evaluate_integer() argument
333 acpi_evaluate_reference(acpi_handle handle, acpi_string pathname, struct acpi_object_list *arguments, struct acpi_handle_list *list) acpi_evaluate_reference() argument
[all...]
/kernel/linux/linux-6.6/fs/smb/server/
H A Dmisc.c165 char *pathname, *ab_pathname, *nt_pathname; in convert_to_nt_pathname() local
168 pathname = kmalloc(PATH_MAX, GFP_KERNEL); in convert_to_nt_pathname()
169 if (!pathname) in convert_to_nt_pathname()
172 ab_pathname = d_path(path, pathname, PATH_MAX); in convert_to_nt_pathname()
195 kfree(pathname); in convert_to_nt_pathname()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/serializable/
H A DCompatibilityTest.java137 public boolean accept(File pathname) { in getFileList()
138 return pathname.isDirectory(); in getFileList()
144 public boolean accept(File pathname) { in getFileList()
145 return pathname.isFile() && pathname.getName().endsWith(".dat"); in getFileList()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DCompatibilityTest.java134 public boolean accept(File pathname) { in getFileList()
135 return pathname.isDirectory(); in getFileList()
141 public boolean accept(File pathname) { in getFileList()
142 return pathname.isFile() && pathname.getName().endsWith(".dat"); in getFileList()
/third_party/ltp/testcases/kernel/syscalls/chown/
H A Dchown04.c19 * 3. Chown() returns -1 and sets errno to EFAULT if pathname points outside
21 * 4. Chown() returns -1 and sets errno to ENAMETOOLONG if the pathname
26 * in pathname is not a directory.
28 * were encountered in resolving pathname.
55 char *pathname; member
61 {(char *)-1, EFAULT, "with unaccessible pathname points"},
62 {long_path, ENAMETOOLONG, "when pathname is too long"},
77 TST_EXP_FAIL(CHOWN(tc[i].pathname, uid, gid), tc[i].exp_errno, in run()
85 tc[2].pathname = tst_get_bad_addr(NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdir/
H A Dmkdir03.c38 char *pathname; member
54 TEST(mkdir(tc->pathname, MODE)); in verify_mkdir()
79 TC[i].pathname = tst_get_bad_addr(NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/futimesat/
H A Dfutimesat01.c50 static const char pathname[] = "futimesattestdir", variable
106 SAFE_MKDIR(cleanup, pathname, 0700); in setup()
108 fds[0] = SAFE_OPEN(cleanup, pathname, O_DIRECTORY); in setup()
/third_party/python/Include/
H A Dimport.h18 const char *pathname /* decoded from the filesystem encoding */
23 const char *pathname, /* decoded from the filesystem encoding */
30 PyObject *pathname,
/third_party/pulseaudio/src/utils/
H A Dpadsp.c2463 int access(const char *pathname, int mode) { argument
2465 debug(DEBUG_LEVEL_VERBOSE, __FILE__": access(%s)\n", pathname?pathname:"NULL");
2467 if (!pathname ||
2468 !is_audio_device_node(pathname)) {
2470 return _access(pathname, mode);
2474 debug(DEBUG_LEVEL_NORMAL, __FILE__": access(%s, %x) = EACCESS\n", pathname, mode);
2479 debug(DEBUG_LEVEL_NORMAL, __FILE__": access(%s, %x) = OK\n", pathname, mode);
2484 int stat(const char *pathname, struct stat *buf) { argument
2492 if (!pathname ||
2540 stat64(const char *pathname, struct stat64 *buf) global() argument
2618 __xstat(int ver, const char *pathname, struct stat *buf) global() argument
2638 __xstat64(int ver, const char *pathname, struct stat64 *buf) global() argument
[all...]

Completed in 15 milliseconds

12345678910>>...23