Searched refs:mem_map (Results 1 - 25 of 59) sorted by relevance

123

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/include/asm/
H A Dvirtconvert.h37 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/asm/
H A Dpage.h41 /* for that before indexing into the page table starting at mem_map */
47 * we start our mem_map there - in other ports they map mem_map physically and
49 * is too high to let mem_map start at 0, so we do it this way instead (similar
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)
57 /* convert a page (based on mem_map and forward) to a physical address
61 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
H A Dpgtable.h218 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
219 #define pte_page(pte) (mem_map+pte_pagenr(pte))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68k/include/asm/
H A Dvirtconvert.h37 #define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT)
H A Dpage_no.h65 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
66 #define page_to_virt(page) ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dmemory_model.h30 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
31 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \
56 * Note: section's mem_map is encorded to reflect its start_pfn.
57 * section[i].section_mem_map == mem_map's address - start_pfn;
H A Dpage.h82 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
83 #define page_to_virt(page) ((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/mm/
H A Dinit.c29 BUG_ON(!mem_map);
47 if (PageReserved(mem_map + tmp))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/include/asm/
H A Dmem_map.h11 #include <mach/mem_map.h>
H A Dblackfin.h92 #include <asm/mem_map.h>
H A Dsections.h32 #include <asm/mem_map.h>
H A Dsystem.h172 #include <asm/mem_map.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/h8300/include/asm/
H A Dpage.h64 #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)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/include/asm/
H A Dpage.h87 #define pfn_to_page(pfn) (mem_map + ((pfn) - PHYS_PFN_OFFSET))
88 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + PHYS_PFN_OFFSET)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/include/asm/
H A Dpage.h108 #define pfn_to_page(pfn) (mem_map + ((pfn) - __pfn_disp))
109 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + __pfn_disp)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mn10300/mm/
H A Dinit.c87 if (!mem_map)
104 if (PageReserved(&mem_map[tmp]))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/frv/mm/
H A Dinit.c133 if (PageReserved(&mem_map[loop]))
138 struct page *page = &mem_map[pfn];
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m32r/include/asm/
H A Dpgtable-2level.h57 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) >> PAGE_SHIFT) - PFN_BASE))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/alpha/include/asm/
H A Dmmzone.h54 * node's mem_map.
64 #define VALID_PAGE(page) (((page) - mem_map) < max_mapnr)
H A Dpgtable.h206 #define page_to_pa(page) (((page) - mem_map) << PAGE_SHIFT)
239 #define pmd_page(pmd) (mem_map + ((pmd_val(pmd) & _PFN_MASK) >> 32))
240 #define pgd_page(pgd) (mem_map + ((pgd_val(pgd) & _PFN_MASK) >> 32))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/platforms/embedded6xx/
H A Dmpc10x.h173 unsigned long mpc10x_get_mem_size(uint mem_map);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/blackfin/kernel/cplb-mpu/
H A Dcplbinit.c14 #include <asm/mem_map.h>
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/microblaze/include/asm/
H A Dpage.h169 # define VALID_PAGE(page) ((page - mem_map) < max_mapnr)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dsparse.c20 * 1) mem_section - memory sections, mem_map's for valid memory
140 * mem_map, we use section_mem_map to store the section's NUMA
142 * node information is cleared just before we store the real mem_map.
224 * Subtle, we encode the real pfn into the mem_map such that
228 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) argument
230 return (unsigned long)(mem_map - (section_nr_to_pfn(pnum)));
234 * Decode mem_map from the coded memmap
244 unsigned long pnum, struct page *mem_map,
251 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum) |
478 * Allocate the accumulated non-linear sections, allocate a mem_map
243 sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, unsigned long *pageblock_bitmap) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/avr32/mm/
H A Dinit.c93 printk("Node %u: mem_map starts at %p\n",
97 mem_map = NODE_DATA(0)->node_mem_map;

Completed in 283 milliseconds

123