Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/scsi/bfa/
A Dbfa_svc.c5194 mod->free_sgpgs = mod->num_sgpgs = cfg->drvcfg.num_sgpgs; in bfa_sgpg_attach()
5242 if (mod->free_sgpgs < nsgpgs) in bfa_sgpg_malloc()
5251 mod->free_sgpgs -= nsgpgs; in bfa_sgpg_malloc()
5261 mod->free_sgpgs += nsgpg; in bfa_sgpg_mfree()
5262 WARN_ON(mod->free_sgpgs > mod->num_sgpgs); in bfa_sgpg_mfree()
5274 if (mod->free_sgpgs < wqe->nsgpg) in bfa_sgpg_mfree()
5275 nsgpg = mod->free_sgpgs; in bfa_sgpg_mfree()
5293 WARN_ON(nsgpg <= mod->free_sgpgs); in bfa_sgpg_wait()
5300 if (mod->free_sgpgs) { in bfa_sgpg_wait()
5306 wqe->nsgpg -= mod->free_sgpgs; in bfa_sgpg_wait()
[all …]
A Dbfa_svc.h58 int free_sgpgs; /* number of free SG pages */ member

Completed in 17 milliseconds