Home
last modified time | relevance | path

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

/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.c27 struct iu_entry *iue; in srp_iu_pool_alloc() local
40 for (i = 0, iue = q->items; i < max; i++) { in srp_iu_pool_alloc()
41 kfifo_in(&q->queue, (void *)&iue, sizeof(void *)); in srp_iu_pool_alloc()
42 iue->sbuf = ring[i]; in srp_iu_pool_alloc()
43 iue++; in srp_iu_pool_alloc()
140 struct iu_entry *iue = NULL; in srp_iu_get() local
142 if (kfifo_out_locked(&target->iu_queue.queue, (void *)&iue, in srp_iu_get()
148 if (!iue) in srp_iu_get()
149 return iue; in srp_iu_get()
150 iue->target = target; in srp_iu_get()
[all …]
Dibmvscsi_tgt.c927 struct iu_entry *iue = cmd->iue; in ibmvscsis_free_cmd_resources() local
950 cmd->iue = NULL; in ibmvscsis_free_cmd_resources()
952 srp_iu_put(iue); in ibmvscsis_free_cmd_resources()
1276 struct iu_entry *iue; in ibmvscsis_get_free_cmd() local
1278 iue = srp_iu_get(&vscsi->target); in ibmvscsis_get_free_cmd()
1279 if (iue) { in ibmvscsis_get_free_cmd()
1287 cmd->iue = iue; in ibmvscsis_get_free_cmd()
1291 srp_iu_put(iue); in ibmvscsis_get_free_cmd()
1444 struct iu_entry *iue = cmd->iue; in ibmvscsis_copy_crq_packet() local
1457 vscsi->dds.window[LOCAL].liobn, iue->sbuf->dma); in ibmvscsis_copy_crq_packet()
[all …]
Dibmvscsi_tgt.h158 struct iu_entry *iue; member