Home
last modified time | relevance | path

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

/drivers/scsi/bfa/
Dbfa_svc.h43 struct list_head sgpg_q; /* queue of alloced sgpgs */ member
66 struct list_head sgpg_q; /* queue of free SG pages */ member
74 bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
76 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs);
Dbfa_svc.c5300 INIT_LIST_HEAD(&mod->sgpg_q); in bfa_sgpg_attach()
5335 list_add_tail(&hsgpg->qe, &mod->sgpg_q); in bfa_sgpg_attach()
5367 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) in bfa_sgpg_malloc() argument
5377 bfa_q_deq(&mod->sgpg_q, &hsgpg); in bfa_sgpg_malloc()
5379 list_add_tail(&hsgpg->qe, sgpg_q); in bfa_sgpg_malloc()
5387 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) in bfa_sgpg_mfree() argument
5395 list_splice_tail_init(sgpg_q, &mod->sgpg_q); in bfa_sgpg_mfree()
5409 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg); in bfa_sgpg_mfree()
5436 list_splice_tail_init(&mod->sgpg_q, &wqe->sgpg_q); in bfa_sgpg_wait()
5453 bfa_sgpg_mfree(bfa, &wqe->sgpg_q, in bfa_sgpg_wcancel()
[all …]
Dbfa_fcpim.c2447 list_splice_tail_init(&ioim->iosp->sgpg_wqe.sgpg_q, &ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2448 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2620 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs) in bfa_ioim_sgpg_alloc()
2627 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloc()
2781 INIT_LIST_HEAD(&ioim->sgpg_q); in bfa_ioim_attach()
2979 bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs); in bfa_ioim_free()
Dbfa_fcpim.h179 struct list_head sgpg_q; /* allocated SG pages */ member