Lines Matching refs:get_infop
2313 struct lpfc_nvmet_ctx_info *get_infop; in lpfc_nvmet_replenish_context() local
2327 get_infop = current_infop->nvmet_ctx_start_cpu; in lpfc_nvmet_replenish_context()
2329 get_infop = current_infop->nvmet_ctx_next_cpu; in lpfc_nvmet_replenish_context()
2332 if (get_infop == current_infop) { in lpfc_nvmet_replenish_context()
2333 get_infop = get_infop->nvmet_ctx_next_cpu; in lpfc_nvmet_replenish_context()
2336 spin_lock(&get_infop->nvmet_ctx_list_lock); in lpfc_nvmet_replenish_context()
2339 if (get_infop->nvmet_ctx_list_cnt) { in lpfc_nvmet_replenish_context()
2340 list_splice_init(&get_infop->nvmet_ctx_list, in lpfc_nvmet_replenish_context()
2343 get_infop->nvmet_ctx_list_cnt - 1; in lpfc_nvmet_replenish_context()
2344 get_infop->nvmet_ctx_list_cnt = 0; in lpfc_nvmet_replenish_context()
2345 spin_unlock(&get_infop->nvmet_ctx_list_lock); in lpfc_nvmet_replenish_context()
2347 current_infop->nvmet_ctx_start_cpu = get_infop; in lpfc_nvmet_replenish_context()
2355 spin_unlock(&get_infop->nvmet_ctx_list_lock); in lpfc_nvmet_replenish_context()
2356 get_infop = get_infop->nvmet_ctx_next_cpu; in lpfc_nvmet_replenish_context()