Searched refs:nsgpgs (Results 1 – 4 of 4) sorted by relevance
| /Linux-v5.4/drivers/scsi/bfa/ |
| D | bfa_svc.h | 68 int nsgpgs); 69 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs); 72 void bfa_sgpg_wait(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpgs);
|
| D | bfa_fcpim.c | 2439 ioim->nsgpgs = BFA_SGPG_NPAGE(ioim->nsges); in bfa_ioim_sgpg_alloced() 2603 u16 nsgpgs; in bfa_ioim_sgpg_alloc() local 2610 nsgpgs = BFA_SGPG_NPAGE(ioim->nsges); in bfa_ioim_sgpg_alloc() 2611 if (!nsgpgs) in bfa_ioim_sgpg_alloc() 2614 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs) in bfa_ioim_sgpg_alloc() 2616 bfa_sgpg_wait(ioim->bfa, &ioim->iosp->sgpg_wqe, nsgpgs); in bfa_ioim_sgpg_alloc() 2620 ioim->nsgpgs = nsgpgs; in bfa_ioim_sgpg_alloc() 2957 ioim->nsgpgs = 0; in bfa_ioim_alloc() 2973 if (ioim->nsgpgs > 0) in bfa_ioim_free() 2974 bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs); in bfa_ioim_free()
|
| D | bfa_fcpim.h | 170 u16 nsgpgs; /* number of SG pages */ member
|
| D | bfa_svc.c | 5242 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) in bfa_sgpg_malloc() argument 5248 if (mod->free_sgpgs < nsgpgs) in bfa_sgpg_malloc() 5251 for (i = 0; i < nsgpgs; i++) { in bfa_sgpg_malloc() 5257 mod->free_sgpgs -= nsgpgs; in bfa_sgpg_malloc()
|