Home
last modified time | relevance | path

Searched refs:num_reqs (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/ia64/hp/sim/
Dsimscsi.c72 static atomic_t num_reqs = ATOMIC_INIT(0); variable
104 atomic_dec(&num_reqs); in simscsi_interrupt()
318 if (atomic_read(&num_reqs) >= SIMSCSI_REQ_QUEUE_LEN) { in simscsi_queuecommand_lck()
321 atomic_inc(&num_reqs); in simscsi_queuecommand_lck()
/linux-4.4.14/net/sunrpc/
Dxprt.c983 numreqs = atomic_read(&xprt->num_reqs); in xprt_transmit()
1039 if (!atomic_add_unless(&xprt->num_reqs, 1, xprt->max_reqs)) in xprt_dynamic_alloc_slot()
1044 atomic_dec(&xprt->num_reqs); in xprt_dynamic_alloc_slot()
1052 if (atomic_add_unless(&xprt->num_reqs, -1, xprt->min_reqs)) { in xprt_dynamic_free_slot()
1154 atomic_set(&xprt->num_reqs, num_prealloc); in xprt_alloc()
/linux-4.4.14/include/linux/sunrpc/
Dxprt.h192 atomic_t num_reqs; /* total slots */ member