Searched refs:mem_section (Results 1 - 11 of 11) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmemory.h69 struct mem_section;
110 extern int register_new_memory(int, struct mem_section *);
111 extern int unregister_memory_section(struct mem_section *);
113 extern int remove_memory_block(unsigned long, struct mem_section *, int);
116 extern struct memory_block *find_memory_block(struct mem_section *);
H A Dmmzone.h326 * In SPARSEMEM, this map is stored in struct mem_section
949 struct mem_section { struct
977 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
987 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
989 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
992 static inline struct mem_section *__nr_to_section(unsigned long nr)
994 if (!mem_section[SECTION_NR_TO_ROOT(nr)])
996 return &mem_section[SECTION_NR_TO_ROO
[all...]
H A Dmemory_hotplug.h11 struct mem_section;
205 extern void sparse_remove_one_section(struct zone *zone, struct mem_section *ms);
/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
23 struct mem_section *mem_section[NR_SECTION_ROOTS]
26 struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT]
29 EXPORT_SYMBOL(mem_section); variable
60 static struct mem_section noinline __init_refok *sparse_index_alloc(int nid)
62 struct mem_section *section = NULL;
64 sizeof(struct mem_section);
84 struct mem_section *sectio
[all...]
H A Dpage_cgroup.c101 struct mem_section *section = __pfn_to_section(pfn);
111 struct mem_section *section = __pfn_to_section(pfn);
166 struct mem_section *ms;
H A Dmemory_hotplug.c97 struct mem_section *ms;
243 static int __remove_section(struct zone *zone, struct mem_section *ms)
248 static int __remove_section(struct zone *zone, struct mem_section *ms)
H A Dsparse-vmemmap.c207 struct mem_section *ms;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/
H A Dmemory_model.h67 struct mem_section *__sec = __pfn_to_section(__pfn); \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/base/
H A Dmemory.c85 int register_memory(struct memory_block *memory, struct mem_section *section)
97 unregister_memory(struct memory_block *memory, struct mem_section *section)
438 static int add_memory_block(int nid, struct mem_section *section,
479 struct memory_block *find_memory_block(struct mem_section *section)
502 int remove_memory_block(unsigned long node_id, struct mem_section *section,
522 int register_new_memory(int nid, struct mem_section *section)
527 int unregister_memory_section(struct mem_section *section)
H A Dnode.c416 struct mem_section *mem_sect;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dkexec.c1445 VMCOREINFO_SYMBOL(mem_section);
1446 VMCOREINFO_LENGTH(mem_section, NR_SECTION_ROOTS);
1447 VMCOREINFO_STRUCT_SIZE(mem_section);
1448 VMCOREINFO_OFFSET(mem_section, section_mem_map);

Completed in 190 milliseconds