Home
last modified time | relevance | path

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

/linux/drivers/scsi/bfa/
H A Dbfa_svc.c5187 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) in bfa_sgpg_mfree() argument
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()
5209 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg); in bfa_sgpg_mfree()
5210 wqe->nsgpg -= nsgpg; in bfa_sgpg_mfree()
5211 if (wqe->nsgpg == 0) { in bfa_sgpg_mfree()
5219 bfa_sgpg_wait(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpg) in bfa_sgpg_wait() argument
5223 WARN_ON(nsgpg <= 0); in bfa_sgpg_wait()
[all …]
H A Dbfa_svc.h32 int nsgpg; /* pages to be allocated */ member