/src/sys/dev/pci/ |
if_mcx.c | 2270 unsigned int mhm_seg_count; member in struct:mcx_hwmem 8305 segs, pages, &mhm->mhm_seg_count, BUS_DMA_NOWAIT) != 0) 8308 if (mhm->mhm_seg_count < pages) { 8312 sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count, KM_SLEEP); 8314 nseglen = sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count; 8331 mhm->mhm_segs, mhm->mhm_seg_count, len, BUS_DMA_NOWAIT) != 0) 8344 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8363 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8364 kmem_free(mhm->mhm_segs, sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count);
|
if_mcx.c | 2270 unsigned int mhm_seg_count; member in struct:mcx_hwmem 8305 segs, pages, &mhm->mhm_seg_count, BUS_DMA_NOWAIT) != 0) 8308 if (mhm->mhm_seg_count < pages) { 8312 sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count, KM_SLEEP); 8314 nseglen = sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count; 8331 mhm->mhm_segs, mhm->mhm_seg_count, len, BUS_DMA_NOWAIT) != 0) 8344 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8363 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8364 kmem_free(mhm->mhm_segs, sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count);
|
if_mcx.c | 2270 unsigned int mhm_seg_count; member in struct:mcx_hwmem 8305 segs, pages, &mhm->mhm_seg_count, BUS_DMA_NOWAIT) != 0) 8308 if (mhm->mhm_seg_count < pages) { 8312 sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count, KM_SLEEP); 8314 nseglen = sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count; 8331 mhm->mhm_segs, mhm->mhm_seg_count, len, BUS_DMA_NOWAIT) != 0) 8344 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8363 bus_dmamem_free(sc->sc_dmat, mhm->mhm_segs, mhm->mhm_seg_count); 8364 kmem_free(mhm->mhm_segs, sizeof(*mhm->mhm_segs) * mhm->mhm_seg_count);
|