/linux-3.4.99/arch/cris/include/asm/ |
D | page.h | 53 #define virt_to_page(kaddr) (mem_map + (((unsigned long)(kaddr) - PAGE_OFFSET) >> PAGE_SHIFT)) 54 #define VALID_PAGE(page) (((page) - mem_map) < max_mapnr) 61 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
D | pgtable.h | 218 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 219 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/linux-3.4.99/arch/cris/mm/ |
D | init.c | 27 BUG_ON(!mem_map); in mem_init() 45 if (PageReserved(mem_map + tmp)) in mem_init()
|
/linux-3.4.99/include/asm-generic/ |
D | memory_model.h | 30 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET)) 31 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | page_no.h | 28 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 29 #define page_to_virt(page) ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
D | virtconvert.h | 37 #define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT)
|
/linux-3.4.99/arch/openrisc/include/asm/ |
D | page.h | 86 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 88 ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
D | pgtable.h | 360 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT)) 361 #define pte_page(pte) (mem_map+pte_pagenr(pte))
|
/linux-3.4.99/arch/avr32/include/asm/ |
D | page.h | 88 #define pfn_to_page(pfn) (mem_map + ((pfn) - PHYS_PFN_OFFSET)) 89 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + PHYS_PFN_OFFSET)
|
/linux-3.4.99/arch/h8300/include/asm/ |
D | page.h | 64 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT)) 65 #define page_to_virt(page) ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
|
D | io.h | 333 #define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT) 334 #define page_to_bus(page) ((page - mem_map) << PAGE_SHIFT)
|
/linux-3.4.99/arch/mn10300/include/asm/ |
D | page.h | 108 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp)) 109 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + __pfn_disp)
|
/linux-3.4.99/arch/x86/boot/compressed/ |
D | eboot.c | 706 efi_memory_desc_t *mem_map; in make_boot_params() local 768 size = sizeof(*mem_map) * 32; in make_boot_params() 771 size += sizeof(*mem_map); in make_boot_params() 773 status = low_alloc(size, 1, (unsigned long *)&mem_map); in make_boot_params() 778 mem_map, &key, &desc_size, &desc_version); in make_boot_params() 780 low_free(_size, (unsigned long)mem_map); in make_boot_params() 790 efi->efi_memmap = (unsigned long)mem_map; in make_boot_params() 795 efi->efi_memmap_hi = (unsigned long)mem_map >> 32; in make_boot_params() 814 unsigned long m = (unsigned long)mem_map; in make_boot_params() 869 low_free(_size, (unsigned long)mem_map); in make_boot_params()
|
/linux-3.4.99/arch/mn10300/mm/ |
D | init.c | 105 BUG_ON(!mem_map); in mem_init() 121 if (PageReserved(&mem_map[tmp])) in mem_init()
|
/linux-3.4.99/arch/frv/mm/ |
D | init.c | 130 if (PageReserved(&mem_map[loop])) in mem_init() 135 struct page *page = &mem_map[pfn]; in mem_init()
|
/linux-3.4.99/arch/frv/include/asm/ |
D | virtconvert.h | 37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
|
/linux-3.4.99/arch/openrisc/mm/ |
D | init.c | 208 if (PageReserved(mem_map + pfn)) in free_pages_init() 224 BUG_ON(!mem_map); in mem_init()
|
/linux-3.4.99/arch/alpha/include/asm/ |
D | pgtable.h | 207 #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT) 240 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32)) 241 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
|
D | mmzone.h | 74 #define VALID_PAGE(page) (((page) - mem_map) < max_mapnr)
|
/linux-3.4.99/mm/ |
D | sparse.c | 228 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) in sparse_encode_mem_map() argument 230 return (unsigned long)(mem_map - (section_nr_to_pfn(pnum))); in sparse_encode_mem_map() 244 unsigned long pnum, struct page *mem_map, in sparse_init_one_section() argument 251 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) | in sparse_init_one_section()
|
/linux-3.4.99/arch/m32r/include/asm/ |
D | pgtable-2level.h | 57 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE))
|
/linux-3.4.99/arch/powerpc/platforms/embedded6xx/ |
D | mpc10x.h | 173 unsigned long mpc10x_get_mem_size(uint mem_map);
|
/linux-3.4.99/arch/sh/include/asm/ |
D | pgtable_64.h | 253 #define pte_page(x) (mem_map + pte_pagenr(x)) 288 set_pte(&__pte, __pte((((page)-mem_map) << PAGE_SHIFT) | \
|
/linux-3.4.99/arch/parisc/mm/ |
D | init.c | 694 if (PageReserved(mem_map+i)) in show_mem() 696 else if (PageSwapCache(mem_map+i)) in show_mem() 698 else if (!page_count(&mem_map[i])) in show_mem() 701 shared += page_count(&mem_map[i]) - 1; in show_mem()
|
/linux-3.4.99/arch/avr32/mm/ |
D | init.c | 95 mem_map = NODE_DATA(0)->node_mem_map; in paging_init()
|