Home
last modified time | relevance | path

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

/linux-3.4.99/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.c4829 INIT_LIST_HEAD(&mod->sgpg_q); in bfa_sgpg_attach()
4864 list_add_tail(&hsgpg->qe, &mod->sgpg_q); in bfa_sgpg_attach()
4896 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) in bfa_sgpg_malloc() argument
4906 bfa_q_deq(&mod->sgpg_q, &hsgpg); in bfa_sgpg_malloc()
4908 list_add_tail(&hsgpg->qe, sgpg_q); in bfa_sgpg_malloc()
4916 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) in bfa_sgpg_mfree() argument
4924 list_splice_tail_init(sgpg_q, &mod->sgpg_q); in bfa_sgpg_mfree()
4938 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg); in bfa_sgpg_mfree()
4965 list_splice_tail_init(&mod->sgpg_q, &wqe->sgpg_q); in bfa_sgpg_wait()
4982 bfa_sgpg_mfree(bfa, &wqe->sgpg_q, in bfa_sgpg_wcancel()
[all …]
Dbfa_fcpim.h175 struct list_head sgpg_q; /* allocated SG pages */ member
Dbfa_fcpim.c2436 list_splice_tail_init(&ioim->iosp->sgpg_wqe.sgpg_q, &ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2437 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloced()
2609 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs) in bfa_ioim_sgpg_alloc()
2616 ioim->sgpg = bfa_q_first(&ioim->sgpg_q); in bfa_ioim_sgpg_alloc()
2770 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()