Searched refs:nsgpg (Results 1 – 2 of 2) sorted by relevance
5192 mod->free_sgpgs += nsgpg; in bfa_sgpg_mfree()5205 if (mod->free_sgpgs < wqe->nsgpg) in bfa_sgpg_mfree()5206 nsgpg = mod->free_sgpgs; in bfa_sgpg_mfree()5208 nsgpg = wqe->nsgpg; in bfa_sgpg_mfree()5210 wqe->nsgpg -= nsgpg; in bfa_sgpg_mfree()5211 if (wqe->nsgpg == 0) { in bfa_sgpg_mfree()5223 WARN_ON(nsgpg <= 0); in bfa_sgpg_wait()5224 WARN_ON(nsgpg <= mod->free_sgpgs); in bfa_sgpg_wait()5226 wqe->nsgpg_total = wqe->nsgpg = nsgpg; in bfa_sgpg_wait()5237 wqe->nsgpg -= mod->free_sgpgs; in bfa_sgpg_wait()[all …]
32 int nsgpg; /* pages to be allocated */ member