Lines Matching refs:lmi
1945 static void kernel_map_linear_page(unsigned long vaddr, unsigned long lmi) in kernel_map_linear_page() argument
1965 BUG_ON(linear_map_hash_slots[lmi] & 0x80); in kernel_map_linear_page()
1966 linear_map_hash_slots[lmi] = ret | 0x80; in kernel_map_linear_page()
1970 static void kernel_unmap_linear_page(unsigned long vaddr, unsigned long lmi) in kernel_unmap_linear_page() argument
1978 BUG_ON(!(linear_map_hash_slots[lmi] & 0x80)); in kernel_unmap_linear_page()
1979 hidx = linear_map_hash_slots[lmi] & 0x7f; in kernel_unmap_linear_page()
1980 linear_map_hash_slots[lmi] = 0; in kernel_unmap_linear_page()
1993 unsigned long flags, vaddr, lmi; in hash__kernel_map_pages() local
1999 lmi = __pa(vaddr) >> PAGE_SHIFT; in hash__kernel_map_pages()
2000 if (lmi >= linear_map_hash_count) in hash__kernel_map_pages()
2003 kernel_map_linear_page(vaddr, lmi); in hash__kernel_map_pages()
2005 kernel_unmap_linear_page(vaddr, lmi); in hash__kernel_map_pages()