Home
last modified time | relevance | path

Searched refs:inflights (Results 1 – 5 of 5) sorted by relevance

/drivers/lightnvm/
Drrpc.h119 struct rrpc_inflight inflights; member
176 spin_lock_irq(&rrpc->inflights.lock); in __rrpc_lock_laddr()
177 list_for_each_entry(rtmp, &rrpc->inflights.reqs, list) { in __rrpc_lock_laddr()
180 spin_unlock_irq(&rrpc->inflights.lock); in __rrpc_lock_laddr()
188 list_add_tail(&r->list, &rrpc->inflights.reqs); in __rrpc_lock_laddr()
189 spin_unlock_irq(&rrpc->inflights.lock); in __rrpc_lock_laddr()
224 spin_lock_irqsave(&rrpc->inflights.lock, flags); in rrpc_unlock_laddr()
226 spin_unlock_irqrestore(&rrpc->inflights.lock, flags); in rrpc_unlock_laddr()
Drrpc.c1081 spin_lock_init(&rrpc->inflights.lock); in rrpc_core_init()
1082 INIT_LIST_HEAD(&rrpc->inflights.reqs); in rrpc_core_init()
/drivers/crypto/qat/qat_common/
Dadf_transport.c119 if (atomic_add_return(1, ring->inflights) > in adf_send_message()
121 atomic_dec(ring->inflights); in adf_send_message()
155 atomic_sub(msg_counter, ring->inflights); in adf_handle_response()
287 atomic_set(ring->inflights, 0); in adf_create_ring()
429 ring->inflights = in adf_init_bank()
433 if (!ring->inflights) in adf_init_bank()
442 ring->inflights = tx_ring->inflights; in adf_init_bank()
457 kfree(ring->inflights); in adf_init_bank()
542 kfree(ring->inflights); in cleanup_bank()
Dadf_transport_internal.h61 atomic_t *inflights; member
/drivers/vhost/
Dscsi.c187 struct vhost_scsi_inflight inflights[2]; member
248 old_inflight[i] = &vs->vqs[i].inflights[idx]; in vhost_scsi_init_inflight()
252 new_inflight = &vs->vqs[i].inflights[idx ^ 1]; in vhost_scsi_init_inflight()
267 inflight = &svq->inflights[svq->inflight_idx]; in vhost_scsi_get_inflight()