Lines Matching refs:uc_addr
83 unsigned long c_addr, uc_addr; in uncached_add_chunk() local
112 uc_addr = c_addr - PAGE_OFFSET + __IA64_UNCACHED_OFFSET; in uncached_add_chunk()
122 flush_tlb_kernel_range(uc_addr, uc_addr + IA64_GRANULE_SIZE); in uncached_add_chunk()
136 sn_flush_all_caches(uc_addr, IA64_GRANULE_SIZE); in uncached_add_chunk()
138 flush_icache_range(uc_addr, uc_addr + IA64_GRANULE_SIZE); in uncached_add_chunk()
157 status = gen_pool_add(uc_pool->pool, uc_addr, IA64_GRANULE_SIZE, nid); in uncached_add_chunk()
188 unsigned long uc_addr; in uncached_alloc_page() local
206 uc_addr = gen_pool_alloc(uc_pool->pool, in uncached_alloc_page()
208 if (uc_addr != 0) in uncached_alloc_page()
209 return uc_addr; in uncached_alloc_page()
227 void uncached_free_page(unsigned long uc_addr, int n_pages) in uncached_free_page() argument
229 int nid = paddr_to_nid(uc_addr - __IA64_UNCACHED_OFFSET); in uncached_free_page()
235 if ((uc_addr & (0XFUL << 60)) != __IA64_UNCACHED_OFFSET) in uncached_free_page()
236 panic("uncached_free_page invalid address %lx\n", uc_addr); in uncached_free_page()
238 gen_pool_free(pool, uc_addr, n_pages * PAGE_SIZE); in uncached_free_page()