memblock_type
#define memblock_num_regions(memblock_type) (memblock.memblock_type.cnt)
static struct memblock_type oldmem_type = {
struct memblock_type memory;
struct memblock_type reserved;
bool memblock_overlaps_region(struct memblock_type *type,
struct memblock_type *type_a,
struct memblock_type *type_b, phys_addr_t *out_start,
struct memblock_type *type_a,
struct memblock_type *type_b, phys_addr_t *out_start,
static inline void __next_physmem_range(u64 *idx, struct memblock_type *type,
extern struct memblock_type physmem;
struct memblock_type *type, int nid);
static bool should_skip_region(struct memblock_type *type,
struct memblock_type *type_a,
struct memblock_type *type_b, phys_addr_t *out_start,
struct memblock_type *type_a,
struct memblock_type *type_b,
struct memblock_type *type = &memblock.memory;
struct memblock_type physmem = {
struct memblock_type *type, int nid)
static __refdata struct memblock_type *memblock_memory = &memblock.memory;
#define for_each_memblock_type(i, memblock_type, rgn) \
for (i = 0, rgn = &memblock_type->regions[0]; \
i < memblock_type->cnt; \
i++, rgn = &memblock_type->regions[i])
static int __init_memblock memblock_search(struct memblock_type *type, phys_addr_t addr)
struct memblock_type *type = &memblock.memory;
bool __init_memblock memblock_overlaps_region(struct memblock_type *type,
static void __init_memblock memblock_dump(struct memblock_type *type)
struct memblock_type *type = m->private;
static void __init_memblock memblock_remove_region(struct memblock_type *type, unsigned long r)
static int __init_memblock memblock_double_array(struct memblock_type *type,
static void __init_memblock memblock_merge_regions(struct memblock_type *type,
static void __init_memblock memblock_insert_region(struct memblock_type *type,
static int __init_memblock memblock_add_range(struct memblock_type *type,
static int __init_memblock memblock_isolate_range(struct memblock_type *type,
static int __init_memblock memblock_remove_range(struct memblock_type *type,
static int __init_memblock memblock_setclr_flag(struct memblock_type *type,