Lines Matching refs:current_infop
2293 struct lpfc_nvmet_ctx_info *current_infop) in lpfc_nvmet_replenish_context() argument
2310 if (current_infop->nvmet_ctx_start_cpu) in lpfc_nvmet_replenish_context()
2311 get_infop = current_infop->nvmet_ctx_start_cpu; in lpfc_nvmet_replenish_context()
2313 get_infop = current_infop->nvmet_ctx_next_cpu; in lpfc_nvmet_replenish_context()
2316 if (get_infop == current_infop) { in lpfc_nvmet_replenish_context()
2325 ¤t_infop->nvmet_ctx_list); in lpfc_nvmet_replenish_context()
2326 current_infop->nvmet_ctx_list_cnt = in lpfc_nvmet_replenish_context()
2331 current_infop->nvmet_ctx_start_cpu = get_infop; in lpfc_nvmet_replenish_context()
2332 list_remove_head(¤t_infop->nvmet_ctx_list, in lpfc_nvmet_replenish_context()
2374 struct lpfc_nvmet_ctx_info *current_infop; in lpfc_nvmet_unsol_fcp_buffer() local
2399 current_infop = lpfc_get_ctx_list(phba, current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
2400 spin_lock_irqsave(¤t_infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_unsol_fcp_buffer()
2401 if (current_infop->nvmet_ctx_list_cnt) { in lpfc_nvmet_unsol_fcp_buffer()
2402 list_remove_head(¤t_infop->nvmet_ctx_list, in lpfc_nvmet_unsol_fcp_buffer()
2404 current_infop->nvmet_ctx_list_cnt--; in lpfc_nvmet_unsol_fcp_buffer()
2406 ctx_buf = lpfc_nvmet_replenish_context(phba, current_infop); in lpfc_nvmet_unsol_fcp_buffer()
2408 spin_unlock_irqrestore(¤t_infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_unsol_fcp_buffer()