/kernel/linux/linux-6.6/rust/kernel/sync/ |
H A D | locked_by.rs | 9 /// Allows access to some data to be serialised by a lock that does not wrap it. 16 /// [`LockedBy`] wraps the data in lieu of another locking primitive, and only allows access to it 25 /// compile-time that access to `InnerFile` is only granted when an `InnerDirectory` is also 54 /// let inner_file = file.inner.access(&guard); 91 /// that the right owner is being used to access the protected data. If the owner is freed, the 94 /// because in any case at most one thread (or CPU) can access the protected data at a time. 118 pub fn access<'a>(&'a self, owner: &'a U) -> &'a T { in access() functions
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | fncache.c | 60 res = access(name, R_OK) == 0; in file_available()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/dscr/ |
H A D | dscr_sysfs_test.c | 55 if (access(file, F_OK)) in check_all_cpu_dscr_defaults()
|
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/mce/ |
H A D | inject-ra-err.c | 42 SKIP_IF(access(devname, F_OK)); in test_ra_error()
|
/kernel/linux/linux-6.6/tools/testing/selftests/timens/ |
H A D | timens.h | 107 if (access("/proc/self/ns/time", F_OK) < 0) in nscheck()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | trace_vprintk.c | 31 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_vprintk()
|
H A D | trace_printk.c | 38 if (access(TRACEFS_PIPE, F_OK) == 0) in serial_test_trace_printk()
|
/kernel/liteos_a/kernel/extended/plimit/ |
H A D | los_devicelimit.h | 69 INT16 access; member
|
/kernel/linux/linux-6.6/tools/cgroup/ |
H A D | cgroup_event_listener.c | 70 ret = access(event_control_path, W_OK); in main()
|
/kernel/liteos_a/testsuites/unittest/drivers/hid/smoke/ |
H A D | hid_test_001.cpp | 51 ret = access(MOUSE_DEV_PATH, 0); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/drivers/storage/smoke/ |
H A D | storage_test_001.cpp | 49 ret = access(STORAGE_DEV_PATH, 0); in Testcase()
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vulkan.h | 240 VkAccessFlagBits access[AV_NUM_DATA_POINTERS]; member
|
/third_party/alsa-utils/alsamixer/ |
H A D | proc_files.c | 72 if (access(file_name, F_OK) == 0) { in add_item()
|
/third_party/gn/src/util/ |
H A D | msg_loop.cc | 16 #define g_current (*__g_current_impl.access())
|
/third_party/ltp/testcases/cve/ |
H A D | cve-2022-4378.c | 52 if (access(tc->path, W_OK)) { in run()
|
/third_party/ltp/testcases/kernel/containers/userns/ |
H A D | userns07.c | 77 if (access("/proc/self/setgroups", F_OK) == 0) { in run()
|
/third_party/ltp/lib/ |
H A D | get_path.c | 47 if (!access(path, R_OK) && !stat(path, &st) && S_ISREG(st.st_mode)) in file_exist()
|
/third_party/node/test/fixtures/postject-copy/node_modules/postject/dist/ |
H A D | cli.js | 26 await fs.access(resource, constants.R_OK);
|
/third_party/node/deps/npm/node_modules/ip-address/node_modules/sprintf-js/src/ |
H A D | sprintf.js | 45 throw new Error(sprintf('[sprintf] Cannot access property "%s" of undefined value "%s"', ph.keys[k], ph.keys[k-1]))
|
/third_party/ltp/testcases/kernel/syscalls/sched_rr_get_interval/ |
H A D | sched_rr_get_interval01.c | 47 proc_flag = !access(PROC_SCHED_RR_TIMESLICE_MS, F_OK); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/setrlimit/ |
H A D | setrlimit03.c | 61 if (!access(NR_OPEN_PATH, F_OK)) in setup()
|
/third_party/ltp/testcases/kernel/security/cap_bound/ |
H A D | cap_bounds_r.c | 49 if (access(PROC_CAP_LAST, R_OK) == 0) { in main()
|
/third_party/ltp/testcases/kernel/syscalls/io_setup/ |
H A D | io_setup01.c | 80 if (!access("/proc/sys/fs/aio-max-nr", F_OK)) { in verify_io_setup()
|
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/ |
H A D | perf_event_open03.c | 40 if (access(INTEL_PT_PATH, F_OK)) in setup()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
H A D | fcntl35.c | 52 if (!access("/proc/sys/fs/pipe-max-size", F_OK)) { in setup()
|