Searched refs:n_reqs (Results 1 – 5 of 5) sorted by relevance
33 int n_reqs; member43 if (WARN(pi->n_reqs == BRCMF_PNO_MAX_BUCKETS, in brcmf_pno_store_request()49 pi->reqs[pi->n_reqs++] = req; in brcmf_pno_store_request()61 if (pi->n_reqs == 0) in brcmf_pno_remove_request()65 for (i = 0; i < pi->n_reqs; i++) { in brcmf_pno_remove_request()70 if (WARN(i == pi->n_reqs, "reqid not found\n")) { in brcmf_pno_remove_request()76 pi->n_reqs--; in brcmf_pno_remove_request()79 if (!pi->n_reqs || i == pi->n_reqs) in brcmf_pno_remove_request()83 while (i <= pi->n_reqs - 1) { in brcmf_pno_remove_request()163 for (ri = 0; ri < pi->n_reqs; ri++) in brcmf_pno_set_random()[all …]
51 const struct dtcs033_usb_requests *preqs, int n_reqs) in reg_reqs() argument56 while ((i < n_reqs) && (gspca_dev->usb_err >= 0)) { in reg_reqs()66 i, n_reqs); in reg_reqs()
85 atomic_t n_reqs; member
150 atomic_set(&pq->n_reqs, 0); in hfi1_user_sdma_alloc_queues()256 !atomic_read(&pq->n_reqs)); in hfi1_user_sdma_free_queues()394 atomic_inc(&pq->n_reqs); in hfi1_user_sdma_process_request()1398 if (atomic_dec_and_test(&pq->n_reqs)) in pq_update()
284 if (atomic_read(&pq->n_reqs) == pq->n_max_reqs) { in hfi1_write_iter()