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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/bfa/
H A Dbfa_sgpg_priv.h42 struct list_head sgpg_q; /* queue of alloced sgpgs */ member in struct:bfa_sgpg_wqe_s
64 struct list_head sgpg_q; /* queue of free SG pages */ member in struct:bfa_sgpg_mod_s
69 bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
71 void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q,
H A Dbfa_sgpg.c57 INIT_LIST_HEAD(&mod->sgpg_q);
84 list_add_tail(&hsgpg->qe, &mod->sgpg_q);
123 bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs) argument
135 bfa_q_deq(&mod->sgpg_q, &hsgpg);
137 list_add_tail(&hsgpg->qe, sgpg_q);
145 bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg) argument
155 list_splice_tail_init(sgpg_q, &mod->sgpg_q);
169 bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg);
196 list_splice_tail_init(&mod->sgpg_q,
[all...]
H A Dbfa_fcpim_priv.h83 struct list_head sgpg_q; /* allocated SG pages */ member in struct:bfa_ioim_s
H A Dbfa_ioim.c752 list_splice_tail_init(&ioim->iosp->sgpg_wqe.sgpg_q, &ioim->sgpg_q);
891 if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs)
915 ioim->sgpg = sgpg = bfa_q_first(&ioim->sgpg_q);
1117 INIT_LIST_HEAD(&ioim->sgpg_q);
1325 bfa_assert_fp(list_empty(&ioim->sgpg_q)
1329 bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs);

Completed in 160 milliseconds