Home
last modified time | relevance | path

Searched refs:sgpg_q (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/scsi/bfa/
Dbfa_svc.h36 struct list_head sgpg_q; /* queue of alloced sgpgs */ member
59 struct list_head sgpg_q; /* queue of free SG pages */ member
67 bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
69 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs);
Dbfa_svc.c5189 INIT_LIST_HEAD(&mod->sgpg_q); in bfa_sgpg_attach()
5224 list_add_tail(&hsgpg->qe, &mod->sgpg_q); in bfa_sgpg_attach()
5236 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) in bfa_sgpg_malloc() argument
5246 bfa_q_deq(&mod->sgpg_q, &hsgpg); in bfa_sgpg_malloc()
5248 list_add_tail(&hsgpg->qe, sgpg_q); in bfa_sgpg_malloc()
5256 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) in bfa_sgpg_mfree() argument
5264 list_splice_tail_init(sgpg_q, &mod->sgpg_q); in bfa_sgpg_mfree()
5278 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg); in bfa_sgpg_mfree()
5305 list_splice_tail_init(&mod->sgpg_q, &wqe->sgpg_q); in bfa_sgpg_wait()
5322 bfa_sgpg_mfree(bfa, &wqe->sgpg_q, in bfa_sgpg_wcancel()
[all …]
Dbfa_fcpim.h172 struct list_head sgpg_q; /* allocated SG pages */ member
Dbfa_fcpim.c2434 list_splice_tail_init(&ioim->iosp->sgpg_wqe.sgpg_q, &ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2435 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2608 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs) in bfa_ioim_sgpg_alloc()
2615 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloc()
2769 INIT_LIST_HEAD(&ioim->sgpg_q); in bfa_ioim_attach()
2968 bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs); in bfa_ioim_free()