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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bfa/
H A Dbfa_sgpg.c74 mod->free_sgpgs = mod->num_sgpgs;
131 if (mod->free_sgpgs < nsgpgs)
140 mod->free_sgpgs -= nsgpgs;
152 mod->free_sgpgs += nsgpg;
153 bfa_assert(mod->free_sgpgs <= mod->num_sgpgs);
165 if (mod->free_sgpgs < wqe->nsgpg)
166 nsgpg = mod->free_sgpgs;
175 } while (mod->free_sgpgs && !list_empty(&mod->sgpg_wait_q));
184 bfa_assert(nsgpg > mod->free_sgpgs);
191 if (mod->free_sgpgs) {
[all...]
H A Dbfa_sgpg_priv.h60 int free_sgpgs; /* number of free SG pages */ member in struct:bfa_sgpg_mod_s

Completed in 57 milliseconds