Home
last modified time | relevance | path

Searched refs:iue (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c36 struct iu_entry *iue; in srp_iu_pool_alloc() local
49 for (i = 0, iue = q->items; i < max; i++) { in srp_iu_pool_alloc()
50 kfifo_in(&q->queue, (void *)&iue, sizeof(void *)); in srp_iu_pool_alloc()
51 iue->sbuf = ring[i]; in srp_iu_pool_alloc()
52 iue++; in srp_iu_pool_alloc()
149 struct iu_entry *iue = NULL; in srp_iu_get() local
151 if (kfifo_out_locked(&target->iu_queue.queue, (void *)&iue, in srp_iu_get()
157 if (!iue) in srp_iu_get()
158 return iue; in srp_iu_get()
159 iue->target = target; in srp_iu_get()
[all …]
Dibmvscsi_tgt.c936 struct iu_entry *iue = cmd->iue; in ibmvscsis_free_cmd_resources() local
959 cmd->iue = NULL; in ibmvscsis_free_cmd_resources()
961 srp_iu_put(iue); in ibmvscsis_free_cmd_resources()
1285 struct iu_entry *iue; in ibmvscsis_get_free_cmd() local
1287 iue = srp_iu_get(&vscsi->target); in ibmvscsis_get_free_cmd()
1288 if (iue) { in ibmvscsis_get_free_cmd()
1296 cmd->iue = iue; in ibmvscsis_get_free_cmd()
1300 srp_iu_put(iue); in ibmvscsis_get_free_cmd()
1453 struct iu_entry *iue = cmd->iue; in ibmvscsis_copy_crq_packet() local
1466 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma); in ibmvscsis_copy_crq_packet()
[all …]
Dibmvscsi_tgt.h167 struct iu_entry *iue; member