Home | History | Annotate | Download | only in linux

Lines Matching refs:mem_section

525 struct mem_section {
542 #define SECTIONS_PER_ROOT (PAGE_SIZE / sizeof (struct mem_section))
552 extern struct mem_section *mem_section[NR_SECTION_ROOTS];
554 extern struct mem_section mem_section[NR_SECTION_ROOTS][SECTIONS_PER_ROOT];
557 static inline struct mem_section *__nr_to_section(unsigned long nr)
559 if (!mem_section[SECTION_NR_TO_ROOT(nr)])
561 return &mem_section[SECTION_NR_TO_ROOT(nr)][nr & SECTION_ROOT_MASK];
563 extern int __section_nr(struct mem_section* ms);
576 static inline struct page *__section_mem_map_addr(struct mem_section *section)
583 static inline int valid_section(struct mem_section *section)
588 static inline int section_has_mem_map(struct mem_section *section)
598 static inline struct mem_section *__pfn_to_section(unsigned long pfn)