Searched refs:xnf_btop (Results 1 – 1 of 1) sorted by relevance
161 #define xnf_btop(addr) ((addr) >> PAGESHIFT) macro230 xnf_btop((uintptr_t)mp->b_wptr - 1) - xnf_btop((uintptr_t)mp->b_rptr) + 1)641 xnf_btop(pa_to_ma(xnfp->xnf_tx_ring_phys_addr)), 0); in xnf_setup_rings()653 xnf_btop(pa_to_ma(xnfp->xnf_rx_ring_phys_addr)), 0); in xnf_setup_rings()1824 xnf_btop(pa_to_ma(dma_cookie->dmac_laddress)); in xnf_mblk_map()2750 bdesc->buf_mfn = pfn_to_mfn(xnf_btop(bdesc->buf_phys)); in xnf_buf_constructor()2841 bdesc->buf_mfn = pfn_to_mfn(xnf_btop(bdesc->buf_phys)); in xnf_buf_refresh()