Lines Matching defs:m_addr_t
194 typedef u_long m_addr_t; /* Enough bits to bit-hack addresses */
203 m_addr_t vaddr;
204 m_addr_t baddr;
210 ((((m_addr_t) (m)) >> MEMO_CLUSTER_SHIFT) & VTOB_HASH_MASK)
214 m_addr_t (*getp)(struct m_pool *);
215 void (*freep)(struct m_pool *, m_addr_t);
227 m_addr_t a;
249 a = (m_addr_t) h[j].next;
270 m_addr_t a, b;
285 a = (m_addr_t) ptr;
347 static m_addr_t ___mp0_getp(m_pool_s *mp)
349 m_addr_t m = __get_free_pages(MEMO_GFP_FLAGS, MEMO_PAGE_ORDER);
355 static void ___mp0_freep(m_pool_s *mp, m_addr_t m)
371 static m_addr_t ___dma_getp(m_pool_s *mp)
373 m_addr_t vp;
379 vp = (m_addr_t) dma_alloc_coherent(mp->bush,
397 static void ___dma_freep(m_pool_s *mp, m_addr_t m)
482 static m_addr_t __vtobus(m_bush_t bush, void *m)
488 m_addr_t a = ((m_addr_t) m) & ~MEMO_CLUSTER_MASK;
494 while (vp && (m_addr_t) vp->vaddr != a)
498 return vp ? vp->baddr + (((m_addr_t) m) - a) : 0;