Searched refs:num_reqs (Results 1 – 4 of 4) sorted by relevance
73 static atomic_t num_reqs = ATOMIC_INIT(0); variable105 atomic_dec(&num_reqs); in simscsi_interrupt()319 if (atomic_read(&num_reqs) >= SIMSCSI_REQ_QUEUE_LEN) { in simscsi_queuecommand_lck()322 atomic_inc(&num_reqs); in simscsi_queuecommand_lck()
1111 if (xprt->num_reqs >= xprt->max_reqs) in xprt_dynamic_alloc_slot()1113 ++xprt->num_reqs; in xprt_dynamic_alloc_slot()1119 --xprt->num_reqs; in xprt_dynamic_alloc_slot()1127 if (xprt->num_reqs > xprt->min_reqs) { in xprt_dynamic_free_slot()1128 --xprt->num_reqs; in xprt_dynamic_free_slot()1165 xprt->num_reqs); in xprt_alloc_slot()1234 xprt->num_reqs = num_prealloc; in xprt_alloc()
201 unsigned int num_reqs; /* total slots */ member
721 unsigned num_reqs; member815 if (aio_req->num_reqs == 1) { in ceph_aio_complete_req()1022 aio_req->num_reqs++; in ceph_direct_read_write()1077 if (aio_req->num_reqs == 0) { in ceph_direct_read_write()