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