Searched refs:ioreq_freelist (Results 1 – 2 of 2) sorted by relevance
158 struct list_head ioreq_freelist; /* Free list of ioreq's */ member206 if (likely(!list_empty(&scm->ioreq_freelist))) { in csio_get_scsi_ioreq()207 req = list_first_entry(&scm->ioreq_freelist, in csio_get_scsi_ioreq()219 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_put_scsi_ioreq()227 list_splice_init(reqlist, &scm->ioreq_freelist); in csio_put_scsi_ioreq_list()
2434 INIT_LIST_HEAD(&scm->ioreq_freelist); in csio_scsim_init()2466 list_add_tail(&ioreq->sm.sm_list, &scm->ioreq_freelist); in csio_scsim_init()2480 while (!list_empty(&scm->ioreq_freelist)) { in csio_scsim_init()2483 tmp = list_first_entry(&scm->ioreq_freelist, in csio_scsim_init()2511 while (!list_empty(&scm->ioreq_freelist)) { in csio_scsim_exit()2514 tmp = list_first_entry(&scm->ioreq_freelist, in csio_scsim_exit()