Lines Matching refs:deferfcp

729 	struct nvmet_fc_defer_fcp_req *deferfcp;  in nvmet_fc_free_fcp_iod()  local
749 deferfcp = list_first_entry_or_null(&queue->pending_cmd_list, in nvmet_fc_free_fcp_iod()
751 if (!deferfcp) { in nvmet_fc_free_fcp_iod()
758 list_del(&deferfcp->req_list); in nvmet_fc_free_fcp_iod()
760 fcpreq = deferfcp->fcp_req; in nvmet_fc_free_fcp_iod()
763 list_add_tail(&deferfcp->req_list, &queue->avail_defer_list); in nvmet_fc_free_fcp_iod()
887 struct nvmet_fc_defer_fcp_req *deferfcp, *tempptr; in nvmet_fc_delete_target_queue() local
920 list_for_each_entry_safe(deferfcp, tempptr, &queue->avail_defer_list, in nvmet_fc_delete_target_queue()
922 list_del(&deferfcp->req_list); in nvmet_fc_delete_target_queue()
923 kfree(deferfcp); in nvmet_fc_delete_target_queue()
927 deferfcp = list_first_entry_or_null(&queue->pending_cmd_list, in nvmet_fc_delete_target_queue()
929 if (!deferfcp) in nvmet_fc_delete_target_queue()
932 list_del(&deferfcp->req_list); in nvmet_fc_delete_target_queue()
936 deferfcp->fcp_req); in nvmet_fc_delete_target_queue()
939 deferfcp->fcp_req); in nvmet_fc_delete_target_queue()
942 deferfcp->fcp_req); in nvmet_fc_delete_target_queue()
947 kfree(deferfcp); in nvmet_fc_delete_target_queue()
2645 struct nvmet_fc_defer_fcp_req *deferfcp; in nvmet_fc_rcv_fcp_req() local
2690 deferfcp = list_first_entry_or_null(&queue->avail_defer_list, in nvmet_fc_rcv_fcp_req()
2692 if (deferfcp) { in nvmet_fc_rcv_fcp_req()
2694 list_del(&deferfcp->req_list); in nvmet_fc_rcv_fcp_req()
2699 deferfcp = kmalloc(sizeof(*deferfcp), GFP_KERNEL); in nvmet_fc_rcv_fcp_req()
2700 if (!deferfcp) { in nvmet_fc_rcv_fcp_req()
2711 deferfcp->fcp_req = fcpreq; in nvmet_fc_rcv_fcp_req()
2714 list_add_tail(&deferfcp->req_list, &queue->pending_cmd_list); in nvmet_fc_rcv_fcp_req()