Home
last modified time | relevance | path

Searched refs:reads (Results 1 - 25 of 100) sorted by relevance

1234

/kernel/linux/linux-5.10/tools/perf/scripts/perl/
H A Drw-by-pid.pl21 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;
78 "# reads", "bytes_requested", "bytes_read");
82 foreach my $pid (sort { ($reads{
[all...]
H A Drwtop.pl27 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;
132 "# reads", "bytes_req", "bytes_read");
136 foreach my $pid (sort { ($reads{
[all...]
H A Drw-by-file.pl25 my %reads;
34 $reads{$fd}{bytes_requested} += $count;
35 $reads{$fd}{total_reads}++;
54 printf("%6s %10s %10s\n", "fd", "# reads", "bytes_requested");
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/linux/linux-6.6/tools/perf/scripts/perl/
H A Drw-by-pid.pl21 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;
78 "# reads", "bytes_requested", "bytes_read");
82 foreach my $pid (sort { ($reads{
[all...]
H A Drwtop.pl27 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;
132 "# reads", "bytes_req", "bytes_read");
136 foreach my $pid (sort { ($reads{
[all...]
H A Drw-by-file.pl25 my %reads;
34 $reads{$fd}{bytes_requested} += $count;
35 $reads{$fd}{total_reads}++;
54 printf("%6s %10s %10s\n", "fd", "# reads", "bytes_requested");
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/full/
H A DIt_ipc_fdclr_001.cpp41 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); // in Testcase()
[all...]
H A DIt_ipc_fdzero_001.cpp42 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...]
H A DIt_ipc_fdset_001.cpp42 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, NUL in Testcase()
[all...]
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
H A DIt_ipc_fdisset_001.cpp39 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/
H A Dtimer.c30 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/linux/linux-6.6/drivers/gpu/drm/nouveau/nvif/
H A Dtimer.c30 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/
H A DIO_test_pselect_001.cpp43 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/drivers/input/touchscreen/
H A Dzylonite-wm97xx.c33 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()
H A Dmainstone-wm97xx.c37 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/tools/io_uring/
H A Dio_uring-cp.c125 unsigned long reads, writes; in copy_file() local
131 writes = reads = offset = 0; in copy_file()
138 * Queue up as many reads as we can 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-6.6/drivers/input/touchscreen/
H A Dmainstone-wm97xx.c38 u8 reads; /* number of coord reads per read cycle */ member
118 int reads = 0; in wm97xx_acc_pen_down() local
140 if (reads) in wm97xx_acc_pen_down()
162 reads++; in wm97xx_acc_pen_down()
163 } while (reads < cinfo[sp_idx].reads); in wm97xx_acc_pen_down()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_trace.h75 __field(uint32_t, reads)
83 __entry->reads = read_count;
92 TP_printk("%s:%d reads=%08ld (%08ld total), writes=%08ld (%08ld total)",
95 (unsigned long)__entry->reads,
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dbase.c32 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-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dbase.c32 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/arch/riscv/include/asm/
H A Dio.h43 * - Ordered WRT timer reads, so udelay and friends don't get elided by the
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-6.6/arch/riscv/include/asm/
H A Dio.h43 * - Ordered WRT timer reads, so udelay and friends don't get elided by the
94 __io_reads_ins(reads, u8, b, __io_br(), __io_ar(addr))
95 __io_reads_ins(reads, u16, w, __io_br(), __io_ar(addr))
96 __io_reads_ins(reads, u32, l, __io_br(), __io_ar(addr))
123 __io_reads_ins(reads, u64, q, __io_br(), __io_ar(addr))
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dguillemot.c54 int reads; member
65 * guillemot_read_packet() reads Guillemot joystick data.
102 * guillemot_poll() reads and analyzes Guillemot joystick data.
112 guillemot->reads++; in guillemot_poll()
252 printk(KERN_INFO "guillemot.c: Failed %d reads out of %d on %s\n", guillemot->reads, guillemot->bads, guillemot->phys); in guillemot_disconnect()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dguillemot.c51 int reads; member
62 * guillemot_read_packet() reads Guillemot joystick data.
99 * guillemot_poll() reads and analyzes Guillemot joystick data.
109 guillemot->reads++; in guillemot_poll()
249 printk(KERN_INFO "guillemot.c: Failed %d reads out of %d on %s\n", guillemot->reads, guillemot->bads, guillemot->phys); in guillemot_disconnect()
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A Dresctrl_val.c298 * @bw_report: Bandwidth report type (reads, writes)
307 float reads, writes, of_mul_read, of_mul_write; in get_mem_bw_imc() local
311 reads = 0, writes = 0, of_mul_read = 1, of_mul_write = 1; in get_mem_bw_imc()
367 reads += r->return_value.value * of_mul_read * SCALE; in get_mem_bw_imc()
376 if (strcmp(bw_report, "reads") == 0) { in get_mem_bw_imc()
377 *bw_imc = reads; in get_mem_bw_imc()
386 *bw_imc = reads + writes; in get_mem_bw_imc()

Completed in 8 milliseconds

1234