Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/rcu/
Drefscale.c82 torture_param(int, nreaders, -1, "Number of readers, -1 for 75% of CPUs.");
613 for (i = 0; i < nreaders; i++) { in reset_readers()
669 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
684 while (atomic_read(&n_init) < nreaders + 1) in main_func()
693 atomic_set(&nreaders_exp, nreaders); in main_func()
694 atomic_set(&n_started, nreaders); in main_func()
695 atomic_set(&n_warmedup, nreaders); in main_func()
696 atomic_set(&n_cooleddown, nreaders); in main_func()
700 for (r = 0; r < nreaders; r++) { in main_func()
706 nreaders); in main_func()
[all …]
Drcuscale.c90 torture_param(int, nreaders, -1, "Number of RCU reader threads");
850 nrealreaders = compute_real(nreaders); in rcu_scale_init()
Drcutorture.c101 torture_param(int, nreaders, -1, "Number of RCU reader threads");
3463 if (nreaders >= 0) { in rcu_torture_init()
3464 nrealreaders = nreaders; in rcu_torture_init()
3466 nrealreaders = num_online_cpus() - 2 - nreaders; in rcu_torture_init()
/linux-6.1.9/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-6.1.9/net/sunrpc/
Drpc_pipe.c93 if (pipe->nreaders == 0) { in rpc_timeout_upcall_queue()
141 if (pipe->nreaders) { in rpc_queue_upcall()
179 need_release = pipe->nreaders != 0 || pipe->nwriters != 0; in rpc_close_pipes()
180 pipe->nreaders = 0; in rpc_close_pipes()
223 first_open = pipe->nreaders == 0 && pipe->nwriters == 0; in rpc_pipe_open()
230 pipe->nreaders++; in rpc_pipe_open()
261 pipe->nreaders --; in rpc_pipe_release()
262 if (pipe->nreaders == 0) { in rpc_pipe_release()
272 last_close = pipe->nwriters == 0 && pipe->nreaders == 0; in rpc_pipe_release()
545 pipe->nreaders = 0; in init_pipe()
[all …]
/linux-6.1.9/include/linux/sunrpc/
Drpc_pipe_fs.h48 int nreaders; member
/linux-6.1.9/Documentation/RCU/
Dtorture.rst26 …rcu-torture:--- Start of test: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_no_idle_…
31 …rcu-torture:--- End of test: SUCCESS: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_n…
/linux-6.1.9/fs/nfsd/
Dnfs4recover.c1510 return pipe->nreaders || pipe->nwriters; in cld_running()
/linux-6.1.9/Documentation/admin-guide/
Dkernel-parameters.txt4872 rcuscale.nreaders= [KNL]
4883 the same as for rcuscale.nreaders.
4982 rcutorture.nreaders= [KNL]
5242 refscale.nreaders= [KNL]