Home
last modified time | relevance | path

Searched refs:nreaders (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/usb/mon/
Dmon_main.c42 if (mbus->nreaders == 0) { in mon_reader_add()
53 mbus->nreaders++; in mon_reader_add()
71 --mbus->nreaders; in mon_reader_del()
72 if (mbus->nreaders == 0) in mon_reader_del()
176 if (mbus->nreaders == 0 && (ubus = mbus->u_bus) != NULL) in mon_stop()
184 if (mon_bus0.nreaders == 0 && (ubus = mbus->u_bus) != NULL) { in mon_stop()
201 if (mon_bus0.nreaders != 0) in mon_bus_add()
409 if (mbus->nreaders) { in mon_exit()
412 mbus->nreaders, mbus->u_bus->busnum); in mon_exit()
Dmon_stat.c40 mbus->nreaders, mbus->cnt_events, mbus->cnt_text_lost); in mon_stat_open()
Dusb_mon.h31 int nreaders; /* Under mon_lock AND mbus->lock */ member
Dmon_text.c653 if (mbus->nreaders <= 0) { in mon_text_release()
Dmon_bin.c785 if (mbus->nreaders <= 0) { in mon_bin_release()
/Linux-v4.19/net/sunrpc/
Drpc_pipe.c91 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue()
139 if (pipe->nreaders) { in rpc_queue_upcall()
177 need_release = pipe->nreaders != 0 || pipe->nwriters != 0; in rpc_close_pipes()
178 pipe->nreaders = 0; in rpc_close_pipes()
228 first_open = pipe->nreaders == 0 && pipe->nwriters == 0; in rpc_pipe_open()
235 pipe->nreaders++; in rpc_pipe_open()
266 pipe->nreaders --; in rpc_pipe_release()
267 if (pipe->nreaders == 0) { in rpc_pipe_release()
277 last_close = pipe->nwriters == 0 && pipe->nreaders == 0; in rpc_pipe_release()
549 pipe->nreaders = 0; in init_pipe()
[all …]
/Linux-v4.19/include/linux/sunrpc/
Drpc_pipe_fs.h50 int nreaders; member
/Linux-v4.19/kernel/rcu/
Drcuperf.c90 torture_param(int, nreaders, -1, "Number of RCU reader threads");
690 nrealreaders = compute_real(nreaders); in rcu_perf_init()
Drcutorture.c101 torture_param(int, nreaders, -1, "Number of RCU reader threads");
1976 if (nreaders >= 0) { in rcu_torture_init()
1977 nrealreaders = nreaders; in rcu_torture_init()
1979 nrealreaders = num_online_cpus() - 2 - nreaders; in rcu_torture_init()
/Linux-v4.19/Documentation/RCU/
Dtorture.txt64 nreaders This is the number of RCU reading threads supported.
185 …rcu-torture:--- Start of test: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_no_idle_…
190 …rcu-torture:--- End of test: SUCCESS: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_n…
/Linux-v4.19/Documentation/admin-guide/
Dkernel-parameters.txt3681 rcuperf.nreaders= [KNL]
3692 the same as for rcuperf.nreaders.
3768 rcutorture.nreaders= [KNL]