Lines Matching defs:m_addr_t
199 typedef u_long m_addr_t; /* Enough bits to bit-hack addresses */
208 m_addr_t vaddr;
209 m_addr_t baddr;
215 ((((m_addr_t) (m)) >> MEMO_CLUSTER_SHIFT) & VTOB_HASH_MASK)
219 m_addr_t (*getp)(struct m_pool *);
220 void (*freep)(struct m_pool *, m_addr_t);
232 m_addr_t a;
254 a = (m_addr_t) h[j].next;
275 m_addr_t a, b;
290 a = (m_addr_t) ptr;
352 static m_addr_t ___mp0_getp(m_pool_s *mp)
354 m_addr_t m = __get_free_pages(MEMO_GFP_FLAGS, MEMO_PAGE_ORDER);
360 static void ___mp0_freep(m_pool_s *mp, m_addr_t m)
376 static m_addr_t ___dma_getp(m_pool_s *mp)
378 m_addr_t vp;
384 vp = (m_addr_t) dma_alloc_coherent(mp->bush,
402 static void ___dma_freep(m_pool_s *mp, m_addr_t m)
487 static m_addr_t __vtobus(m_bush_t bush, void *m)
493 m_addr_t a = ((m_addr_t) m) & ~MEMO_CLUSTER_MASK;
499 while (vp && (m_addr_t) vp->vaddr != a)
503 return vp ? vp->baddr + (((m_addr_t) m) - a) : 0;