Searched refs:mem_map (Results 1 - 25 of 30) sorted by last modified time

12

/linux-master/mm/
H A Dsparse.c24 * 1) mem_section - memory sections, mem_map's for valid memory
114 * mem_map, we use section_mem_map to store the section's NUMA
116 * node information is cleared just before we store the real mem_map.
275 * Subtle, we encode the real pfn into the mem_map such that
279 static unsigned long sparse_encode_mem_map(struct page *mem_map, unsigned long pnum) argument
282 (unsigned long)(mem_map - (section_nr_to_pfn(pnum)));
290 * Decode mem_map from the coded memmap
301 unsigned long pnum, struct page *mem_map,
305 ms->section_mem_map |= sparse_encode_mem_map(mem_map, pnum)
555 * Allocate the accumulated non-linear sections, allocate a mem_map
300 sparse_init_one_section(struct mem_section *ms, unsigned long pnum, struct page *mem_map, struct mem_section_usage *usage, unsigned long flags) argument
[all...]
H A Dnommu.c47 struct page *mem_map; variable in typeref:struct:page
56 EXPORT_SYMBOL(mem_map); variable
H A Dmm_init.c881 * There can be holes in boot-time mem_map[]s handed to this
1625 /* the global mem_map is just set as node 0's */
1627 mem_map = NODE_DATA(0)->node_mem_map;
1628 if (page_to_pfn(mem_map) != pgdat->node_start_pfn)
1629 mem_map -= offset;
H A Dmemory.c103 struct page *mem_map; variable in typeref:struct:page
104 EXPORT_SYMBOL(mem_map); variable
/linux-master/kernel/
H A Dvmcore_info.c152 VMCOREINFO_SYMBOL(mem_map);
/linux-master/include/linux/
H A Dmmzone.h1235 extern struct page *mem_map;
1869 * We use the lower bits of the mem_map pointer to store
1871 * as mem_map - section_nr_to_pfn(pnum). The result is
1873 * 1. All mem_map arrays are page-aligned.
/linux-master/drivers/staging/media/ipu3/
H A Dipu3-css.c2236 param_set->mem_map.acc_cluster_params_for_sp = map->daddr;
2239 param_set->mem_map.dvs_6axis_params_y = map->daddr;
2243 param_set->mem_map.obgrid_tbl[i] =
2249 param_set->mem_map.isp_mem_param[stage][m] = map->daddr;
/linux-master/drivers/staging/media/atomisp/pci/
H A Dsh_css_internal.h234 mem_map;/** pointers to Parameters in ISP format IMPT: member in struct:ia_css_isp_parameter_set_info
H A Dsh_css_params.c3089 /* enqueue a copies of the mem_map to
3184 &isp_params_info.mem_map);
3861 ia_css_ptr *addrs = (ia_css_ptr *)&isp_params_info.mem_map;
3874 hmm_load(ptr, &isp_params_info.mem_map, sizeof(struct sh_css_ddr_address_map));
/linux-master/arch/riscv/mm/
H A Dinit.c166 BUG_ON(!mem_map);
/linux-master/arch/arm/mm/
H A Dinit.c223 * the sparse mem_map arrays initialized by sparse_init()
268 * mem_init() marks the free areas in the mem_map and tells us how much
278 set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dmpc10x.h152 unsigned long mpc10x_get_mem_size(uint mem_map);
/linux-master/arch/x86/xen/
H A Dmmu_pv.c1484 BUG_ON(mem_map); /* should only be used early */
1494 BUG_ON(mem_map); /* should only be used early */
/linux-master/arch/x86/mm/
H A Dinit_32.c722 BUG_ON(!mem_map);
/linux-master/arch/openrisc/include/asm/
H A Dpage.h81 (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
H A Dpgtable.h336 #define __page_address(page) (PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
337 #define pte_page(pte) (mem_map+pte_pagenr(pte))
/linux-master/arch/nios2/include/asm/
H A Dpage.h77 extern struct page *mem_map;
85 ((void *)(((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET)
/linux-master/arch/csky/include/asm/
H A Dpage.h87 #define virt_to_page(x) (mem_map + MAP_NR(x))
/linux-master/arch/microblaze/include/asm/
H A Dpgtable.h231 #define pte_page(x) (mem_map + (unsigned long) \
291 pte_val(pte) = (((page - mem_map) << PAGE_SHIFT) + memory_start) | \
/linux-master/arch/mips/include/asm/mach-loongson64/
H A Dboot_param.h28 struct mem_map { struct in struct:efi_memory_map_loongson
/linux-master/arch/openrisc/mm/
H A Dinit.c194 BUG_ON(!mem_map);
/linux-master/arch/m68k/include/asm/
H A Dmotorola_pgtable.h138 #define pud_page(pud) (mem_map + ((unsigned long)(__va(pud_val(pud)) - PAGE_OFFSET) >> PAGE_SHIFT))
H A Dpage_no.h32 #define virt_to_page(addr) (mem_map + (((unsigned long)(addr)-PAGE_OFFSET) >> PAGE_SHIFT))
33 #define page_to_virt(page) __va(((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET))
/linux-master/include/asm-generic/
H A Dmemory_model.h18 #define __pfn_to_page(pfn) (mem_map + ((pfn) - ARCH_PFN_OFFSET))
19 #define __page_to_pfn(page) ((unsigned long)((page) - mem_map) + \
42 * Note: section's mem_map is encoded to reflect its start_pfn.
43 * section[i].section_mem_map == mem_map's address - start_pfn;
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dacx.h1445 struct acx_header *mem_map, size_t len);

Completed in 429 milliseconds

12