Searched refs:num_reqs (Results 1 – 3 of 3) sorted by relevance
72 static atomic_t num_reqs = ATOMIC_INIT(0); variable104 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()
979 numreqs = atomic_read(&xprt->num_reqs); in xprt_transmit()1035 if (!atomic_add_unless(&xprt->num_reqs, 1, xprt->max_reqs)) in xprt_dynamic_alloc_slot()1040 atomic_dec(&xprt->num_reqs); in xprt_dynamic_alloc_slot()1048 if (atomic_add_unless(&xprt->num_reqs, -1, xprt->min_reqs)) { in xprt_dynamic_free_slot()1150 atomic_set(&xprt->num_reqs, num_prealloc); in xprt_alloc()
180 atomic_t num_reqs; /* total slots */ member