Searched refs:max_mapnr (Results 1 – 3 of 3) sorted by relevance
| /openbmc/u-boot/arch/arm/include/asm/ |
| H A D | memory.h | 73 #define pfn_valid(pfn) ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr)) 80 #define VALID_PAGE(page) ((page - mem_map) < max_mapnr)
|
| /openbmc/qemu/include/system/ |
| H A D | dump.h | 74 uint32_t max_mapnr; /* = max_mapnr , member 92 uint32_t max_mapnr; /* = max_mapnr, member 192 uint64_t max_mapnr; /* the biggest guest's phys-mem's number */ member
|
| /openbmc/qemu/dump/ |
| H A D | dump.c | 988 dh->max_mapnr = cpu_to_dump32(s, MIN(s->max_mapnr, UINT_MAX)); in create_header32() 1019 kh->max_mapnr_64 = cpu_to_dump64(s, s->max_mapnr); in create_header32() 1099 dh->max_mapnr = cpu_to_dump32(s, MIN(s->max_mapnr, UINT_MAX)); in create_header64() 1130 kh->max_mapnr_64 = cpu_to_dump64(s, s->max_mapnr); in create_header64() 1704 s->max_mapnr = dump_paddr_to_pfn(s, last_block->target_end); in get_max_mapnr() 1924 tmp = DIV_ROUND_UP(DIV_ROUND_UP(s->max_mapnr, CHAR_BIT), in dump_init()
|