Searched refs:n_reqs (Results 1 – 4 of 4) sorted by relevance
60 const struct dtcs033_usb_requests *preqs, int n_reqs) in reg_reqs() argument65 while ((i < n_reqs) && (gspca_dev->usb_err >= 0)) { in reg_reqs()75 i, n_reqs); in reg_reqs()
72 atomic_t n_reqs; member
390 atomic_set(&pq->n_reqs, 0); in hfi1_user_sdma_alloc_queues()459 for (i = 0, j = 0; i < atomic_read(&pq->n_reqs) && in hfi1_user_sdma_free_queues()689 atomic_inc(&pq->n_reqs); in hfi1_user_sdma_process_request()1391 atomic_dec(&pq->n_reqs); in user_sdma_txreq_cb()1398 atomic_dec(&pq->n_reqs); in user_sdma_txreq_cb()1403 if (!atomic_read(&pq->n_reqs)) in user_sdma_txreq_cb()
462 if (atomic_read(&pq->n_reqs) == pq->n_max_reqs) { in hfi1_write_iter()