/kernel/liteos_a/testsuites/unittest/extended/signal/full/ |
D | It_ipc_fdclr_001.cpp | 41 fd_set reads; in Testcase() local 42 FD_ZERO(&reads); in Testcase() 54 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 57 FD_SET(pipeFd[0][0], &reads); in Testcase() 58 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 60 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 62 FD_SET(pipeFd[1][0], &reads); in Testcase() 63 FD_SET(pipeFd[2][0], &reads); // 2, pipe return on the 2nd loop in Testcase() 64 FD_SET(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase() 65 FD_CLR(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase() [all …]
|
D | It_ipc_fdzero_001.cpp | 42 fd_set reads; in Testcase() local 43 FD_ZERO(&reads); in Testcase() 56 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 59 FD_SET(pipeFd[0][0], &reads); in Testcase() 60 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 62 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 65 FD_SET(pipeFd[1][0], &reads); in Testcase() 66 FD_SET(pipeFd[2][0], &reads); // 2, pipe return on the 2nd loop in Testcase() 67 FD_SET(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase() 68 FD_ZERO(&reads); in Testcase() [all …]
|
D | It_ipc_fdset_001.cpp | 42 fd_set reads; in Testcase() local 43 FD_ZERO(&reads); in Testcase() 57 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 60 FD_SET(pipeFd[0][0], &reads); in Testcase() 61 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() 63 ret = FD_ISSET(pipeFd[0][0], &reads); in Testcase() 66 FD_SET(pipeFd[1][0], &reads); in Testcase() 67 FD_SET(pipeFd[2][0], &reads); // 2, pipe return on the 2nd loop in Testcase() 68 FD_SET(pipeFd[3][0], &reads); // 3, pipe return on the 3rd loop in Testcase() 69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase() [all …]
|
/kernel/linux/linux-5.10/tools/perf/scripts/perl/ |
D | rw-by-pid.pl | 21 my %reads; 31 $reads{$common_pid}{bytes_read} += $ret; 33 if (!defined ($reads{$common_pid}{bytes_read})) { 34 $reads{$common_pid}{bytes_read} = 0; 36 $reads{$common_pid}{errors}{$ret}++; 46 $reads{$common_pid}{bytes_requested} += $count; 47 $reads{$common_pid}{total_reads}++; 48 $reads{$common_pid}{comm} = $common_comm; 82 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=> 83 ($reads{$a}{bytes_read} || 0) } keys %reads) { [all …]
|
D | rwtop.pl | 27 my %reads; 44 $reads{$common_pid}{bytes_read} += $ret; 46 if (!defined ($reads{$common_pid}{bytes_read})) { 47 $reads{$common_pid}{bytes_read} = 0; 49 $reads{$common_pid}{errors}{$ret}++; 61 $reads{$common_pid}{bytes_requested} += $count; 62 $reads{$common_pid}{total_reads}++; 63 $reads{$common_pid}{comm} = $common_comm; 136 foreach my $pid (sort { ($reads{$b}{bytes_read} || 0) <=> 137 ($reads{$a}{bytes_read} || 0) } keys %reads) { [all …]
|
D | rw-by-file.pl | 25 my %reads; 34 $reads{$fd}{bytes_requested} += $count; 35 $reads{$fd}{total_reads}++; 57 foreach my $fd (sort {$reads{$b}{bytes_requested} <=> 58 $reads{$a}{bytes_requested}} keys %reads) { 59 my $total_reads = $reads{$fd}{total_reads}; 60 my $bytes_requested = $reads{$fd}{bytes_requested};
|
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/ |
D | It_ipc_fdisset_001.cpp | 39 fd_set reads; in Testcase() local 45 FD_ZERO(&reads); in Testcase() 46 FD_SET(pipeFd[0], &reads); in Testcase() 47 ret = select(pipeFd[0] + 1, &reads, NULL, NULL, NULL); in Testcase() 49 ret = FD_ISSET(pipeFd[0], &reads); in Testcase()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvif/ |
D | timer.c | 30 if (wait->reads == 0) { in nvif_timer_wait_test() 36 if (WARN_ON(wait->reads++ == 16)) in nvif_timer_wait_test() 40 wait->reads = 1; in nvif_timer_wait_test() 55 wait->reads = 0; in nvif_timer_wait_init()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
D | IO_test_pselect_001.cpp | 43 fd_set reads; in Testcase1() local 48 FD_ZERO(&reads); in Testcase1() 49 FD_SET(pipeFd[0], &reads); in Testcase1() 50 ret = select(pipeFd[0] + 1, &reads, nullptr, nullptr, nullptr); in Testcase1() 52 ret = FD_ISSET(pipeFd[0], &reads); in Testcase1()
|
/kernel/linux/linux-5.10/tools/io_uring/ |
D | io_uring-cp.c | 125 unsigned long reads, writes; in copy_file() local 131 writes = reads = offset = 0; in copy_file() 140 had_reads = reads; in copy_file() 144 if (reads + writes >= QD) in copy_file() 156 reads++; in copy_file() 159 if (had_reads != reads) { in copy_file() 214 reads--; in copy_file()
|
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
D | zylonite-wm97xx.c | 33 u8 reads; /* number of coord reads per read cycle */ member 89 int reads = 0; in wm97xx_acc_pen_down() local 111 if (reads) in wm97xx_acc_pen_down() 133 reads++; in wm97xx_acc_pen_down() 134 } while (reads < cinfo[sp_idx].reads); in wm97xx_acc_pen_down()
|
D | mainstone-wm97xx.c | 37 u8 reads; /* number of coord reads per read cycle */ member 123 int reads = 0; in wm97xx_acc_pen_down() local 144 if (reads) in wm97xx_acc_pen_down() 166 reads++; in wm97xx_acc_pen_down() 167 } while (reads < cinfo[sp_idx].reads); in wm97xx_acc_pen_down()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/ |
D | delay.rst | 5 Device-Mapper's "delay" target delays reads and/or writes 13 With separate write parameters, the first set is only used for reads. 30 # splitting reads and writes to different devices $1 $2
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_trace.h | 75 __field(uint32_t, reads) 83 __entry->reads = read_count; 95 (unsigned long)__entry->reads,
|
/kernel/linux/linux-5.10/tools/memory-model/litmus-tests/ |
D | Z6.0+pooncerelease+poacquirerelease+fencembonceonce.litmus | 7 * when there is but one non-reads-from (AKA non-rf) link, does not suffice 8 * if there is more than one. Of the three processes, only P1() reads from 11 * to P0() is a read-to-write link (AKA a "from-reads" or just "fr" link).
|
D | README | 7 successive reads from the same variable are ordered. 24 Test of independent reads from independent writes with smp_mb() 25 between each pairs of reads. In other words, is smp_mb() 32 Test of independent reads from independent writes with nothing 33 between each pairs of reads. In other words, is anything at all 54 load-buffering litmus test, where each process reads from one 59 litmus test, where each process reads from one of two variables then 96 process writes data and then a flag, and the other process reads 175 the other process reads from these same variables, the corresponding 209 reads-from link (rf) and internal to the P0() process. This is [all …]
|
D | IRIW+poonceonces+OnceOnce.litmus | 6 * Test of independent reads from independent writes with nothing 7 * between each pairs of reads. In other words, is anything at all
|
D | IRIW+fencembonceonces+OnceOnce.litmus | 6 * Test of independent reads from independent writes with smp_mb() 7 * between each pairs of reads. In other words, is smp_mb() sufficient to
|
D | ISA2+pooncerelease+poacquirerelease+poacquireonce.litmus | 9 * case (P2() to P0()), each process reads from the preceding process's 10 * write. In memory-model-speak, there is only one non-reads-from
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
D | base.c | 32 if (wait->reads == 0) { in nvkm_timer_wait_test() 38 if (wait->reads++ == 16) { in nvkm_timer_wait_test() 44 wait->reads = 1; in nvkm_timer_wait_test() 59 wait->reads = 0; in nvkm_timer_wait_init()
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | kyber-iosched.rst | 6 reads and synchronous writes. Kyber will throttle requests in order to meet 11 Target latency for reads (in nanoseconds).
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | io.h | 107 __io_reads_ins(reads, u8, b, __io_br(), __io_ar(addr)) 108 __io_reads_ins(reads, u16, w, __io_br(), __io_ar(addr)) 109 __io_reads_ins(reads, u32, l, __io_br(), __io_ar(addr)) 136 __io_reads_ins(reads, u64, q, __io_br(), __io_ar(addr))
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | iostats.rst | 65 Field 1 -- # of reads completed (unsigned long) 66 This is the total number of reads completed successfully. 68 Field 2 -- # of reads merged, field 6 -- # of writes merged (unsigned long) 70 efficiency. Thus two 4K reads may become one 8K read before it is 78 This is the total number of milliseconds spent by all reads (as 161 Field 1 -- # of reads issued 162 This is the total number of reads issued to this partition. 178 words, the number of reads for partitions is counted slightly before time 183 reads/writes before merges for partitions and after for disks. Since a 185 the number of reads/writes issued can be several times higher than the [all …]
|
/kernel/linux/linux-5.10/tools/lib/traceevent/Documentation/ |
D | libtraceevent-record_parse.txt | 34 It reads the "common_type" field. The _tep_ argument is the trace event parser 38 It reads the "common_pid" field. The _tep_ argument is the trace event parser 42 record _rec_. It reads the "common_preempt_count" field. The _tep_ argument is 46 It reads the "common_flags" field. The _tep_ argument is the trace event parser
|
/kernel/linux/linux-5.10/Documentation/ABI/testing/ |
D | procfs-diskstats | 13 4 reads completed successfully 14 5 reads merged
|