Lines Matching refs:fep

198 	ndi_fmcentry_t *fep, *pp;  in i_ndi_fmc_destroy()  local
205 for (fep = fcp->fc_head; fep != NULL; fep = pp) { in i_ndi_fmc_destroy()
206 pp = fep->fce_next; in i_ndi_fmc_destroy()
207 kmem_cache_free(ndi_fm_entry_cache, fep); in i_ndi_fmc_destroy()
225 ndi_fmcentry_t *fep, **fpp; in ndi_fmc_insert() local
252 fep = kmem_cache_alloc(ndi_fm_entry_cache, KM_NOSLEEP); in ndi_fmc_insert()
253 if (fep == NULL) { in ndi_fmc_insert()
262 fep->fce_bus_specific = bus_specific; in ndi_fmc_insert()
263 fep->fce_resource = resource; in ndi_fmc_insert()
264 fep->fce_next = NULL; in ndi_fmc_insert()
269 *fpp = fep; in ndi_fmc_insert()
270 fep->fce_prev = fcp->fc_tail; in ndi_fmc_insert()
272 fcp->fc_tail->fce_next = fep; in ndi_fmc_insert()
274 fcp->fc_head = fep; in ndi_fmc_insert()
275 fcp->fc_tail = fep; in ndi_fmc_insert()
288 ndi_fmcentry_t *fep; in ndi_fmc_remove() local
310 fep = ((ddi_dma_impl_t *)resource)->dmai_error.err_fep; in ndi_fmc_remove()
323 fep = ((ddi_acc_impl_t *)resource)->ahi_err->err_fep; in ndi_fmc_remove()
332 if (fep == NULL) { in ndi_fmc_remove()
343 if (fep == fcp->fc_head) in ndi_fmc_remove()
344 fcp->fc_head = fep->fce_next; in ndi_fmc_remove()
346 fep->fce_prev->fce_next = fep->fce_next; in ndi_fmc_remove()
347 if (fep == fcp->fc_tail) in ndi_fmc_remove()
348 fcp->fc_tail = fep->fce_prev; in ndi_fmc_remove()
350 fep->fce_next->fce_prev = fep->fce_prev; in ndi_fmc_remove()
353 kmem_cache_free(ndi_fm_entry_cache, fep); in ndi_fmc_remove()
362 ndi_fmcentry_t *fep; in ndi_fmc_entry_error() local
385 for (fep = fcp->fc_head; fep != NULL; fep = fep->fce_next) { in ndi_fmc_entry_error()
396 fep->fce_resource) : in ndi_fmc_entry_error()
398 fep->fce_resource); in ndi_fmc_entry_error()
403 status = compare_func(dip, fep->fce_resource, in ndi_fmc_entry_error()
404 bus_err_state, fep->fce_bus_specific); in ndi_fmc_entry_error()
415 ddi_acc_handle_t ap = fep->fce_resource; in ndi_fmc_entry_error()
422 ddi_dma_handle_t dp = fep->fce_resource; in ndi_fmc_entry_error()
521 ndi_fmcentry_t *fep; in ndi_fmc_entry_error_all() local
543 for (fep = fcp->fc_head; fep != NULL; fep = fep->fce_next) { in ndi_fmc_entry_error_all()
548 fep->fce_resource) : in ndi_fmc_entry_error_all()
550 fep->fce_resource); in ndi_fmc_entry_error_all()
559 ddi_acc_handle_t ap = fep->fce_resource; in ndi_fmc_entry_error_all()
566 ddi_dma_handle_t dp = fep->fce_resource; in ndi_fmc_entry_error_all()