/tools/testing/selftests/fpu/ |
D | test_fpu.c | 29 if (read(fd, dummy, 1) < 0) { in main() 35 if (read(fd, dummy, 1) < 0) { in main() 50 if (read(fd, dummy, 1) < 0) { in main()
|
/tools/perf/tests/ |
D | sample-parsing.c | 70 COMP(read.group.nr); in samples_same() 72 COMP(read.one.value); in samples_same() 74 COMP(read.time_enabled); in samples_same() 76 COMP(read.time_running); in samples_same() 79 for (i = 0; i < s1->read.group.nr; i++) in samples_same() 80 MCOMP(read.group.values[i]); in samples_same() 82 COMP(read.one.id); in samples_same() 232 .read = { in do_test() 268 sample.read.group.nr = 4; in do_test() 269 sample.read.group.values = values; in do_test() [all …]
|
/tools/virtio/virtio-trace/ |
D | README | 13 2) Create a read/write thread per CPU. Each thread is bound to a CPU. 14 The read/write threads hold it. 17 the controller wake read/write threads. 18 5) The read/write threads start to read trace data from ring-buffers and 20 6) If the controller receives a stop order from a host, the read/write threads 21 stop to read trace data. 31 trace-agent-ctl.c: includes controller function for read/write threads 32 trace-agent-rw.c: includes read/write threads function 103 read/write threads in the agent wait for start order from host. If you add -o 112 4) Start to read trace data by ordering from a host [all …]
|
/tools/testing/selftests/powerpc/mm/ |
D | large_vm_fork_separation.c | 49 FAIL_IF(read(p2c[0], &c, 1) != 1); in test() 56 FAIL_IF(read(p2c[0], &c, 1) != 1); in test() 62 FAIL_IF(read(c2p[0], &c, 1) != 1); in test()
|
/tools/memory-model/litmus-tests/ |
D | CoRR+poonceonce+Once.litmus | 6 * Test of read-read coherence, that is, whether or not two successive
|
D | CoRW+poonceonce+Once.litmus | 6 * Test of read-write coherence, that is, whether or not a read from
|
D | CoWR+poonceonce+Once.litmus | 6 * Test of write-read coherence, that is, whether or not a write to a 7 * given variable and a later read from that same variable are ordered.
|
/tools/testing/selftests/powerpc/ptrace/ |
D | perf-hwbreak.c | 110 res = read(fd[i], &c, sizeof(c)); in read_fds() 225 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtestsingle() 276 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtest_dar_outside() 291 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtest_dar_outside() 306 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtest_dar_outside() 321 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtest_dar_outside() 336 res = read(break_fd, &breaks, sizeof(unsigned long long)); in runtest_dar_outside() 385 res = read(fd1, &breaks1, sizeof(breaks1)); in test_process_multi_diff_addr() 387 res = read(fd2, &breaks2, sizeof(breaks2)); in test_process_multi_diff_addr() 430 res = read(fd1, &breaks1, sizeof(breaks1)); in test_process_multi_same_addr() [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | send_signal.c | 63 ASSERT_EQ(read(pipe_p2c[0], buf, 1), 1, "pipe_read"); in test_send_signal_common() 72 ASSERT_EQ(read(pipe_p2c[0], buf, 1), 1, "pipe_read"); in test_send_signal_common() 110 ASSERT_EQ(read(pipe_c2p[0], buf, 1), 1, "pipe_read"); in test_send_signal_common() 121 err = read(pipe_c2p[0], buf, 1); in test_send_signal_common()
|
/tools/testing/selftests/proc/ |
D | proc-loadavg-001.c | 47 rv = read(fd, buf, sizeof(buf)); in main() 65 rv = read(fd, buf, sizeof(buf)); in main()
|
D | setns-dcache.c | 88 if (read(fd[0], &_, 1) != 1) { in main() 122 rv = read(fd, buf, sizeof(buf)); in main()
|
D | setns-sysvipc.c | 87 if (read(fd[0], &_, 1) != 1) { in main() 122 rv = read(fd, buf, sizeof(buf)); in main()
|
D | proc-self-wchan.c | 35 if (read(fd, buf, sizeof(buf)) != 1) in main()
|
/tools/leds/ |
D | led_hw_brightness_mon.c | 53 read(fd, buf, sizeof(buf)); in main() 69 ret = read(fd, buf, sizeof(buf)); in main()
|
/tools/io_uring/ |
D | io_uring-cp.c | 28 int read; member 76 if (data->read) in queue_prepped() 99 data->read = 1; in queue_read() 113 data->read = 0; in queue_write() 215 if (data->read) { in copy_file()
|
/tools/perf/ |
D | .gitignore | 8 perf-read-vdso32 9 perf-read-vdsox32
|
/tools/testing/selftests/ftrace/test.d/ |
D | functions | 20 while read line; do 26 while read line; do 42 while read line; do 52 grep -v '^#' set_ftrace_filter | while read t; do 81 while read line; do 98 while read line; do
|
/tools/memory-model/Documentation/ |
D | cheatsheet.txt | 27 R: Read, for example, READ_ONCE(), or read portion of RMW 31 DR: Dependent read (address dependency) 33 RMW: Atomic read-modify-write operation
|
/tools/testing/selftests/vm/ |
D | compaction_test.c | 70 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { in prereq() 101 if (read(fd, initial_nr_hugepages, sizeof(initial_nr_hugepages)) <= 0) { in check_compaction() 123 if (read(fd, nr_hugepages, sizeof(nr_hugepages)) <= 0) { in check_compaction()
|
/tools/perf/arch/s390/util/ |
D | header.c | 35 int read; in get_cpuid() local 60 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid() 103 while ((read = getline(&line, &line_sz, sysinfo)) != -1) { in get_cpuid()
|
/tools/testing/selftests/landlock/ |
D | ptrace_test.c | 78 if (read(fd, buf, 1) < 0) { in get_yama_ptrace_scope() 333 ASSERT_EQ(1, read(pipe_parent[0], &buf_child, 1)); in TEST_F() 377 ASSERT_EQ(1, read(pipe_parent[0], &buf_child, 1)); in TEST_F() 394 ASSERT_EQ(1, read(pipe_child[0], &buf_parent, 1)); in TEST_F()
|
/tools/testing/selftests/efivarfs/ |
D | .gitignore | 2 create-read
|
/tools/testing/selftests/filesystems/fuse/ |
D | test_fuse.h | 82 ssize_t res = read(fuse_dev, &bytes_in, \ 93 ssize_t res = read(fuse_dev, &bytes_in, \ 104 ssize_t res = read(fuse_dev, &bytes_in, \ 119 ssize_t res = read(fuse_dev, &bytes_in, \ 131 ssize_t res = read(fuse_dev, &bytes_in, \ 146 TEST(res = read(fuse_dev, &bytes_in, sizeof(bytes_in)), \
|
/tools/testing/selftests/rtc/ |
D | rtctest.c | 66 rc = read(self->fd, &data, sizeof(data)); 101 rc = read(self->fd, &data, sizeof(unsigned long)); in TEST_F() 154 rc = read(self->fd, &data, sizeof(unsigned long)); in TEST_F() 204 rc = read(self->fd, &data, sizeof(unsigned long)); in TEST_F() 256 rc = read(self->fd, &data, sizeof(unsigned long)); 306 rc = read(self->fd, &data, sizeof(unsigned long));
|
/tools/testing/selftests/nci/ |
D | nci_dev.c | 329 len = read(dev_fd, buf, 258); in virtual_dev_open() 338 len = read(dev_fd, buf, 258); in virtual_dev_open() 347 len = read(dev_fd, buf, 258); in virtual_dev_open() 369 len = read(dev_fd, buf, 258); in virtual_dev_open_v2() 379 len = read(dev_fd, buf, 258); in virtual_dev_open_v2() 388 len = read(dev_fd, buf, 258); in virtual_dev_open_v2() 460 len = read(dev_fd, buf, 258); in virtual_deinit() 482 len = read(dev_fd, buf, 258); in virtual_deinit_v2() 545 len = read(dev_fd, buf, 258); in virtual_poll_start() 567 len = read(dev_fd, buf, 258); in virtual_poll_stop() [all …]
|