Home
last modified time | relevance | path

Searched refs:free_sgpgs (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/scsi/bfa/
Dbfa_svc.c5180 mod->free_sgpgs = mod->num_sgpgs = cfg->drvcfg.num_sgpgs; in bfa_sgpg_attach()
5228 if (mod->free_sgpgs < nsgpgs) in bfa_sgpg_malloc()
5237 mod->free_sgpgs -= nsgpgs; in bfa_sgpg_malloc()
5247 mod->free_sgpgs += nsgpg; in bfa_sgpg_mfree()
5248 WARN_ON(mod->free_sgpgs > mod->num_sgpgs); in bfa_sgpg_mfree()
5260 if (mod->free_sgpgs < wqe->nsgpg) in bfa_sgpg_mfree()
5261 nsgpg = mod->free_sgpgs; in bfa_sgpg_mfree()
5270 } while (mod->free_sgpgs && !list_empty(&mod->sgpg_wait_q)); in bfa_sgpg_mfree()
5279 WARN_ON(nsgpg <= mod->free_sgpgs); in bfa_sgpg_wait()
5286 if (mod->free_sgpgs) { in bfa_sgpg_wait()
[all …]
Dbfa_svc.h58 int free_sgpgs; /* number of free SG pages */ member