Lines Matching refs:current_infop
2301 struct lpfc_nvmet_ctx_info *current_infop) in lpfc_nvmet_replenish_context() argument
2318 if (current_infop->nvmet_ctx_start_cpu) in lpfc_nvmet_replenish_context()
2319 get_infop = current_infop->nvmet_ctx_start_cpu; in lpfc_nvmet_replenish_context()
2321 get_infop = current_infop->nvmet_ctx_next_cpu; in lpfc_nvmet_replenish_context()
2324 if (get_infop == current_infop) { in lpfc_nvmet_replenish_context()
2333 ¤t_infop->nvmet_ctx_list); in lpfc_nvmet_replenish_context()
2334 current_infop->nvmet_ctx_list_cnt = in lpfc_nvmet_replenish_context()
2339 current_infop->nvmet_ctx_start_cpu = get_infop; in lpfc_nvmet_replenish_context()
2340 list_remove_head(¤t_infop->nvmet_ctx_list, in lpfc_nvmet_replenish_context()
2382 struct lpfc_nvmet_ctx_info *current_infop; in lpfc_nvmet_unsol_fcp_buffer() local
2407 current_infop = lpfc_get_ctx_list(phba, current_cpu, idx); in lpfc_nvmet_unsol_fcp_buffer()
2408 spin_lock_irqsave(¤t_infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_unsol_fcp_buffer()
2409 if (current_infop->nvmet_ctx_list_cnt) { in lpfc_nvmet_unsol_fcp_buffer()
2410 list_remove_head(¤t_infop->nvmet_ctx_list, in lpfc_nvmet_unsol_fcp_buffer()
2412 current_infop->nvmet_ctx_list_cnt--; in lpfc_nvmet_unsol_fcp_buffer()
2414 ctx_buf = lpfc_nvmet_replenish_context(phba, current_infop); in lpfc_nvmet_unsol_fcp_buffer()
2416 spin_unlock_irqrestore(¤t_infop->nvmet_ctx_list_lock, iflag); in lpfc_nvmet_unsol_fcp_buffer()