Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/bfa/
Dbfa_svc.h44 struct list_head sgpg_q; /* queue of alloced sgpgs */ member
67 struct list_head sgpg_q; /* queue of free SG pages */ member
75 bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
77 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs);
Dbfa_svc.c5203 INIT_LIST_HEAD(&mod->sgpg_q); in bfa_sgpg_attach()
5238 list_add_tail(&hsgpg->qe, &mod->sgpg_q); in bfa_sgpg_attach()
5250 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) in bfa_sgpg_malloc() argument
5260 bfa_q_deq(&mod->sgpg_q, &hsgpg); in bfa_sgpg_malloc()
5262 list_add_tail(&hsgpg->qe, sgpg_q); in bfa_sgpg_malloc()
5270 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) in bfa_sgpg_mfree() argument
5278 list_splice_tail_init(sgpg_q, &mod->sgpg_q); in bfa_sgpg_mfree()
5292 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg); in bfa_sgpg_mfree()
5319 list_splice_tail_init(&mod->sgpg_q, &wqe->sgpg_q); in bfa_sgpg_wait()
5336 bfa_sgpg_mfree(bfa, &wqe->sgpg_q, in bfa_sgpg_wcancel()
[all …]
Dbfa_fcpim.h180 struct list_head sgpg_q; /* allocated SG pages */ member
Dbfa_fcpim.c2448 list_splice_tail_init(&ioim->iosp->sgpg_wqe.sgpg_q, &ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2449 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2621 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs) in bfa_ioim_sgpg_alloc()
2628 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloc()
2782 INIT_LIST_HEAD(&ioim->sgpg_q); in bfa_ioim_attach()
2980 bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs); in bfa_ioim_free()