Searched refs:free_sgpgs (Results 1 – 2 of 2) sorted by relevance
4834 mod->free_sgpgs = mod->num_sgpgs = cfg->drvcfg.num_sgpgs; in bfa_sgpg_attach()4902 if (mod->free_sgpgs < nsgpgs) in bfa_sgpg_malloc()4911 mod->free_sgpgs -= nsgpgs; in bfa_sgpg_malloc()4921 mod->free_sgpgs += nsgpg; in bfa_sgpg_mfree()4922 WARN_ON(mod->free_sgpgs > mod->num_sgpgs); in bfa_sgpg_mfree()4934 if (mod->free_sgpgs < wqe->nsgpg) in bfa_sgpg_mfree()4935 nsgpg = mod->free_sgpgs; in bfa_sgpg_mfree()4944 } while (mod->free_sgpgs && !list_empty(&mod->sgpg_wait_q)); in bfa_sgpg_mfree()4953 WARN_ON(nsgpg <= mod->free_sgpgs); in bfa_sgpg_wait()4960 if (mod->free_sgpgs) { in bfa_sgpg_wait()[all …]
65 int free_sgpgs; /* number of free SG pages */ member