Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/usb/mon/
Dmon_main.c41 if (mbus->nreaders == 0) { in mon_reader_add()
52 mbus->nreaders++; in mon_reader_add()
70 --mbus->nreaders; in mon_reader_del()
71 if (mbus->nreaders == 0) in mon_reader_del()
172 if (mbus->nreaders == 0 && (ubus = mbus->u_bus) != NULL) in mon_stop()
180 if (mon_bus0.nreaders == 0 && (ubus = mbus->u_bus) != NULL) { in mon_stop()
197 if (mon_bus0.nreaders != 0) in mon_bus_add()
405 if (mbus->nreaders) { in mon_exit()
408 mbus->nreaders, mbus->u_bus->busnum); in mon_exit()
Dmon_stat.c37 mbus->nreaders, mbus->cnt_events, mbus->cnt_text_lost); in mon_stat_open()
Dusb_mon.h30 int nreaders; /* Under mon_lock AND mbus->lock */ member
Dmon_text.c617 if (mbus->nreaders <= 0) { in mon_text_release()
Dmon_bin.c780 if (mbus->nreaders <= 0) { in mon_bin_release()
/linux-2.6.39/net/sunrpc/
Drpc_pipe.c72 if (rpci->nreaders == 0) { in rpc_timeout_upcall_queue()
99 if (rpci->nreaders) { in rpc_queue_upcall()
137 need_release = rpci->nreaders != 0 || rpci->nwriters != 0; in rpc_close_pipes()
138 rpci->nreaders = 0; in rpc_close_pipes()
188 first_open = rpci->nreaders == 0 && rpci->nwriters == 0; in rpc_pipe_open()
195 rpci->nreaders++; in rpc_pipe_open()
225 rpci->nreaders --; in rpc_pipe_release()
226 if (rpci->nreaders == 0) { in rpc_pipe_release()
236 last_close = rpci->nwriters == 0 && rpci->nreaders == 0; in rpc_pipe_release()
1050 rpci->nreaders = 0; in init_once()
/linux-2.6.39/include/linux/sunrpc/
Drpc_pipe_fs.h31 int nreaders; member
/linux-2.6.39/kernel/
Drcutorture.c55 static int nreaders = -1; /* # reader threads, defaults to 2*ncpus */ variable
72 module_param(nreaders, int, 0444);
73 MODULE_PARM_DESC(nreaders, "Number of RCU reader threads");
1462 if (nreaders >= 0) in rcu_torture_init()
1463 nrealreaders = nreaders; in rcu_torture_init()
/linux-2.6.39/Documentation/RCU/
Dtorture.txt59 nreaders This is the number of RCU reading threads supported.
103 rcu-torture: --- Start of test: nreaders=16 stat_interval=0 verbose=0