Lines Matching refs:free_req_head
89 int free_req_head; member
213 while (q->free_req_head != -1 && in nvme_free_req_queue_cb()
257 q->free_req_head = -1; in nvme_create_queue_pair()
261 req->free_req_next = q->free_req_head; in nvme_create_queue_pair()
262 q->free_req_head = i; in nvme_create_queue_pair()
304 req = &q->reqs[q->free_req_head]; in nvme_get_free_req_nofail_locked()
305 q->free_req_head = req->free_req_next; in nvme_get_free_req_nofail_locked()
314 if (q->free_req_head == -1) { in nvme_get_free_req_nowait()
328 while (q->free_req_head == -1) { in nvme_get_free_req()
339 req->free_req_next = q->free_req_head; in nvme_put_free_req_locked()
340 q->free_req_head = req - q->reqs; in nvme_put_free_req_locked()