/tools/testing/selftests/proc/ |
D | fd-002-posix-eq.c | 32 fd0 = open("/", O_DIRECTORY|O_RDONLY); in main() 36 fd1 = open(buf, O_RDONLY); in main() 40 fd2 = open(buf, O_RDONLY); in main()
|
D | setns-dcache.c | 95 nsfd = open(buf, O_RDONLY); in main() 102 (void)open("/proc/net/unix", O_RDONLY); in main() 116 fd = open("/proc/net/unix", O_RDONLY); in main()
|
D | setns-sysvipc.c | 94 nsfd = open(buf, O_RDONLY); in main() 101 (void)open("/proc/sysvipc/shm", O_RDONLY); in main() 115 fd = open("/proc/sysvipc/shm", O_RDONLY); in main()
|
D | proc-pid-vm.c | 205 fd1 = open(buf, O_RDONLY|O_CLOEXEC); in make_exe() 269 if (open("/", O_RDONLY|O_DIRECTORY|O_PATH) != 0) { in main() 321 fd = open(buf, O_RDONLY); in main() 340 fd = open(buf, O_RDONLY); in main() 396 fd = open(buf, O_RDONLY); in main() 432 fd = open(buf, O_RDONLY); in main()
|
D | proc-self-wchan.c | 27 fd = open("/proc/self/wchan", O_RDONLY); in main()
|
/tools/testing/selftests/efivarfs/ |
D | open-unlink.c | 20 fd = open(path, O_RDONLY); in set_immutable() 51 fd = open(path, O_RDONLY); in get_immutable() 89 fd = open(path, O_WRONLY | O_CREAT, 0600); in main() 115 fd = open(path, O_RDONLY); in main()
|
D | .gitignore | 2 open-unlink
|
D | Makefile | 4 TEST_GEN_FILES := open-unlink create-read
|
/tools/cgroup/ |
D | iocost_coef_gen.py | 102 with open(outfile.name, 'r') as f: 110 with open(elevator_path, 'w') as f: 112 with open(nomerges_path, 'w') as f: 142 with open(elevator_path, 'r') as f: 144 with open(nomerges_path, 'r') as f: 149 with open(elevator_path, 'w') as f: 151 with open(nomerges_path, 'w') as f:
|
D | cgroup_event_listener.c | 34 cfd = open(argv[1], O_RDONLY); in main() 43 event_control = open(event_control_path, O_WRONLY); in main()
|
/tools/usb/usbip/libsrc/ |
D | usbip_host_common.h | 25 int (*open)(struct usbip_host_driver *hdriver); member 57 if (!hdriver->ops.open) in usbip_driver_open() 59 return hdriver->ops.open(hdriver); in usbip_driver_open()
|
D | sysfs_utils.c | 16 fd = open(attr_path, O_WRONLY); in write_sysfs_attribute()
|
/tools/laptop/freefall/ |
D | freefall.c | 42 int fd = open(unload_heads_path, O_RDONLY); in valid_disk() 56 int fd = open(path, O_RDWR); in write_int() 125 fd = open("/dev/freefall", O_RDONLY); in main()
|
/tools/testing/selftests/timers/ |
D | clocksource-switch.c | 47 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); in get_clocksources() 79 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY); in get_cur_clocksource() 91 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); in change_clocksource()
|
D | rtcpie.c | 42 fd = open(default_rtc, O_RDONLY); in main() 54 fd = open(rtc, O_RDONLY); in main()
|
/tools/testing/selftests/bpf/ |
D | cgroup_helpers.c | 53 fd = open(path, O_RDONLY); in enable_all_controllers() 73 cfd = open(path, O_RDWR); in enable_all_controllers() 152 fd = open(cgroup_procs_path, O_WRONLY); in join_cgroup_from_top() 229 fd = open(cgroup_path, O_RDONLY); in create_and_get_cgroup()
|
D | test_lirc_mode2_user.c | 68 lircfd = open(argv[1], O_RDWR | O_NONBLOCK); in main() 81 inputfd = open(argv[2], O_RDONLY | O_NONBLOCK); in main()
|
/tools/testing/selftests/powerpc/dscr/ |
D | dscr.h | 79 fd = open(DSCR_DEFAULT, O_RDONLY); in get_default_dscr() 103 fd = open(DSCR_DEFAULT, O_RDWR); in set_default_dscr()
|
/tools/power/cpupower/utils/helpers/ |
D | msr.c | 33 fd = open(msr_file_name, O_RDONLY); in read_msr() 62 fd = open(msr_file_name, O_WRONLY); in write_msr()
|
D | sysfs.c | 23 fd = open(path, O_RDONLY); in sysfs_read_file() 70 fd = open(path, O_RDONLY); in sysfs_is_cpu_online() 134 fd = open(path, O_RDONLY); in sysfs_idlestate_read_file() 169 fd = open(path, O_WRONLY); in sysfs_idlestate_write_file()
|
/tools/perf/util/ |
D | zlib.c | 32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file() 85 int fd = open(input, O_RDONLY); in gzip_is_compressed()
|
/tools/perf/trace/strace/groups/ |
D | file | 9 open
|
/tools/testing/selftests/vm/ |
D | gup_benchmark.c | 81 filed = open(file, O_RDWR|O_CREAT); in main() 90 fd = open("/sys/kernel/debug/gup_benchmark", O_RDWR); in main()
|
/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 338 f_handle = open('cpu.csv', 'a') 372 f_handle = open('cpu.csv', 'a') 381 f_handle = open('/sys/kernel/debug/tracing/trace', 'w') 391 open('/sys/kernel/debug/tracing/events/power/pstate_sample/enable' 401 open('/sys/kernel/debug/tracing/events/power/pstate_sample/enable' 411 with open('/sys/kernel/debug/tracing/buffer_size_kb', 'w') as fp: 421 open('/sys/kernel/debug/tracing/buffer_size_kb' 434 data = open(filename, 'r').read()
|
/tools/testing/selftests/intel_pstate/ |
D | msr.c | 29 fd = open(msr_file_name, O_RDONLY); in main()
|