Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/rcu/
Drefscale.c86 torture_param(int, nreaders, -1, "Number of readers, -1 for 75% of CPUs.");
883 for (i = 0; i < nreaders; i++) { in reset_readers()
941 set_cpus_allowed_ptr(current, cpumask_of(nreaders % nr_cpu_ids)); in main_func()
956 while (atomic_read(&n_init) < nreaders + 1) in main_func()
965 atomic_set(&nreaders_exp, nreaders); in main_func()
966 atomic_set(&n_started, nreaders); in main_func()
967 atomic_set(&n_warmedup, nreaders); in main_func()
968 atomic_set(&n_cooleddown, nreaders); in main_func()
972 for (r = 0; r < nreaders; r++) { in main_func()
978 nreaders); in main_func()
[all …]
Drcuscale.c93 torture_param(int, nreaders, -1, "Number of RCU reader threads");
1123 nrealreaders = compute_real(nreaders); in rcu_scale_init()
Drcutorture.c103 torture_param(int, nreaders, -1, "Number of RCU reader threads");
3803 if (nreaders >= 0) { in rcu_torture_init()
3804 nrealreaders = nreaders; in rcu_torture_init()
3806 nrealreaders = num_online_cpus() - 2 - nreaders; in rcu_torture_init()
/linux-6.12.1/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()
165 if (mbus->nreaders == 0 && (ubus = mbus->u_bus) != NULL) in mon_stop()
173 if (mon_bus0.nreaders == 0 && (ubus = mbus->u_bus) != NULL) { in mon_stop()
190 if (mon_bus0.nreaders != 0) in mon_bus_add()
396 if (mbus->nreaders) { in mon_exit()
399 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.c788 if (mbus->nreaders <= 0) { in mon_bin_release()
/linux-6.12.1/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()
544 pipe->nreaders = 0; in init_pipe()
[all …]
/linux-6.12.1/include/linux/sunrpc/
Drpc_pipe_fs.h48 int nreaders; member
/linux-6.12.1/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.12.1/Documentation/translations/it_IT/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.12.1/fs/nfsd/
Dnfs4recover.c1532 return pipe->nreaders || pipe->nwriters; in cld_running()
/linux-6.12.1/Documentation/admin-guide/
Dkernel-parameters.txt5283 rcuscale.nreaders= [KNL]
5294 the same as for rcuscale.nreaders.
5398 rcutorture.nreaders= [KNL]
5718 refscale.nreaders= [KNL]