memblock 1288 arch/arm/mm/mmu.c end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; memblock 247 arch/arm/mm/pmsa-v8.c add_range(mem, ARRAY_SIZE(mem), 0, memblock.memory.regions[0].base, memblock 248 arch/arm/mm/pmsa-v8.c memblock.memory.regions[0].base + memblock.memory.regions[0].size); memblock 214 arch/arm64/kernel/setup.c num_standard_resources = memblock.memory.cnt; memblock 204 arch/arm64/mm/numa.c ret = memblock_set_node(start, (end - start), &memblock.memory, nid); memblock 180 arch/microblaze/mm/init.c &memblock.memory, 0); memblock 241 arch/microblaze/mm/init.c memblock.memory.regions[0].size = memory_size; memblock 279 arch/microblaze/mm/init.c if (!memblock.reserved.cnt) { memblock 284 arch/microblaze/mm/init.c if ((u32) memblock.memory.regions[0].size < 0x400000) { memblock 289 arch/microblaze/mm/init.c if ((u32) memblock.memory.regions[0].size < kernel_tlb) { memblock 295 arch/microblaze/mm/init.c memory_start = (u32) memblock.memory.regions[0].base; memblock 296 arch/microblaze/mm/init.c lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; memblock 628 arch/mips/kernel/setup.c memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); memblock 20 arch/powerpc/include/asm/fadump-internal.h #define memblock_num_regions(memblock_type) (memblock.memblock_type.cnt) memblock 129 arch/powerpc/mm/init_32.c if (memblock.memory.cnt > 1) { memblock 131 arch/powerpc/mm/init_32.c memblock_enforce_memory_limit(memblock.memory.regions[0].size); memblock 188 arch/powerpc/mm/mem.c memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); memblock 630 arch/powerpc/mm/numa.c memblock_set_node(base, sz, &memblock.memory, nid); memblock 720 arch/powerpc/mm/numa.c memblock_set_node(start, size, &memblock.memory, nid); memblock 760 arch/powerpc/mm/numa.c &memblock.memory, nid); memblock 59 arch/powerpc/platforms/embedded6xx/wii.c struct memblock_region *p = memblock.memory.regions; memblock 61 arch/powerpc/platforms/embedded6xx/wii.c BUG_ON(memblock.memory.cnt != 2); memblock 142 arch/riscv/mm/init.c &memblock.memory, 0); memblock 552 arch/s390/kernel/crash_dump.c for_each_mem_range(idx, &memblock.physmem, &oldmem_type, NUMA_NO_NODE, memblock 566 arch/s390/kernel/crash_dump.c for_each_mem_range(idx, &memblock.physmem, &oldmem_type, NUMA_NO_NODE, memblock 685 arch/s390/kernel/setup.c if (memblock.memory.regions[0].size < crash_size) { memblock 728 arch/s390/kernel/setup.c (unsigned long)memblock.memory.total_size >> 20); memblock 778 arch/s390/kernel/setup.c memblock_add_range(&memblock.memory, start, size, 0, 0); memblock 779 arch/s390/kernel/setup.c memblock_add_range(&memblock.physmem, start, size, 0, 0); memblock 495 arch/s390/numa/mode_emu.c nodes_max = memblock.memory.total_size / emu_size; memblock 90 arch/s390/numa/numa.c memblock_set_node(cur_base, align, &memblock.memory, nid); memblock 239 arch/sh/kernel/setup.c &memblock.memory, nid); memblock 1228 arch/sparc/mm/init_64.c prev_max = memblock.memory.max; memblock 1247 arch/sparc/mm/init_64.c &memblock.memory, nid); memblock 1248 arch/sparc/mm/init_64.c if (memblock.memory.max != prev_max) memblock 1621 arch/sparc/mm/init_64.c memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); memblock 312 arch/unicore32/mm/mmu.c end = memblock.memory.regions[0].base + memblock.memory.regions[0].size; memblock 695 arch/x86/mm/init_32.c memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); memblock 805 arch/x86/mm/init_64.c memblock_set_node(0, PHYS_ADDR_MAX, &memblock.memory, 0); memblock 246 arch/x86/mm/numa.c !memblock_overlaps_region(&memblock.memory, memblock 491 arch/x86/mm/numa.c ret = memblock_set_node(mb->start, mb->end - mb->start, &memblock.reserved, mb->nid); memblock 541 arch/x86/mm/numa.c &memblock.memory, mb->nid); memblock 631 arch/x86/mm/numa.c WARN_ON(memblock_set_node(0, ULLONG_MAX, &memblock.memory, memblock 633 arch/x86/mm/numa.c WARN_ON(memblock_set_node(0, ULLONG_MAX, &memblock.reserved, memblock 501 drivers/infiniband/core/uverbs_ioctl.c struct bundle_alloc_head *memblock; memblock 545 drivers/infiniband/core/uverbs_ioctl.c for (memblock = pbundle->allocated_mem; memblock;) { memblock 546 drivers/infiniband/core/uverbs_ioctl.c struct bundle_alloc_head *tmp = memblock; memblock 548 drivers/infiniband/core/uverbs_ioctl.c memblock = memblock->next; memblock 1111 drivers/net/ethernet/neterion/vxge/vxge-config.c ((struct __vxge_hw_blockpool_entry *)p)->memblock, memblock 1138 drivers/net/ethernet/neterion/vxge/vxge-config.c void *memblock; memblock 1170 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock = vxge_os_dma_malloc( memblock 1175 drivers/net/ethernet/neterion/vxge/vxge-config.c if (memblock == NULL) { memblock 1181 drivers/net/ethernet/neterion/vxge/vxge-config.c dma_addr = pci_map_single(hldev->pdev, memblock, memblock 1185 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_os_dma_free(hldev->pdev, memblock, &acc_handle); memblock 1204 drivers/net/ethernet/neterion/vxge/vxge-config.c entry->memblock = memblock; memblock 2036 drivers/net/ethernet/neterion/vxge/vxge-config.c void *memblock; memblock 2044 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock = mempoolh->memblocks_arr[memblock_idx]; memblock 2050 drivers/net/ethernet/neterion/vxge/vxge-config.c dma_item_offset = (u8 *)item - (u8 *)memblock; memblock 2289 drivers/net/ethernet/neterion/vxge/vxge-config.c entry->memblock = block_addr; memblock 2349 drivers/net/ethernet/neterion/vxge/vxge-config.c void *memblock = NULL; memblock 2355 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock = vxge_os_dma_malloc(devh->pdev, size, memblock 2359 drivers/net/ethernet/neterion/vxge/vxge-config.c if (!memblock) memblock 2362 drivers/net/ethernet/neterion/vxge/vxge-config.c dma_object->addr = pci_map_single(devh->pdev, memblock, size, memblock 2367 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_os_dma_free(devh->pdev, memblock, memblock 2369 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock = NULL; memblock 2386 drivers/net/ethernet/neterion/vxge/vxge-config.c memblock = entry->memblock; memblock 2393 drivers/net/ethernet/neterion/vxge/vxge-config.c if (memblock != NULL) memblock 2397 drivers/net/ethernet/neterion/vxge/vxge-config.c return memblock; memblock 2421 drivers/net/ethernet/neterion/vxge/vxge-config.c ((struct __vxge_hw_blockpool_entry *)p)->memblock, memblock 2438 drivers/net/ethernet/neterion/vxge/vxge-config.c void *memblock, u32 size, memblock 2450 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_os_dma_free(devh->pdev, memblock, &dma_object->acc_handle); memblock 2467 drivers/net/ethernet/neterion/vxge/vxge-config.c entry->memblock = memblock; memblock 3411 drivers/net/ethernet/neterion/vxge/vxge-config.c void *memblock = mempoolh->memblocks_arr[memblock_index]; memblock 3426 drivers/net/ethernet/neterion/vxge/vxge-config.c txdl_priv->dma_offset = (char *)txdp - (char *)memblock; memblock 3429 drivers/net/ethernet/neterion/vxge/vxge-config.c txdl_priv->memblock = memblock; memblock 4848 drivers/net/ethernet/neterion/vxge/vxge-config.c vpath->hw_stats = vpath->stats_block->memblock; memblock 534 drivers/net/ethernet/neterion/vxge/vxge-config.h void *memblock; memblock 1093 drivers/net/ethernet/neterion/vxge/vxge-config.h void *memblock; memblock 1956 drivers/net/ethernet/neterion/vxge/vxge-config.h void *memblock = mempool->memblocks_arr[memblock_idx]; memblock 1959 drivers/net/ethernet/neterion/vxge/vxge-config.h offset = (u32)((u8 *)item - (u8 *)memblock); memblock 803 drivers/net/wireless/ti/wlcore/main.c size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen) memblock 811 drivers/net/wireless/ti/wlcore/main.c memcpy(wl->fwlog + wl->fwlog_size, memblock, len); memblock 529 drivers/net/wireless/ti/wlcore/wlcore_i.h size_t wl12xx_copy_fwlog(struct wl1271 *wl, u8 *memblock, size_t maxlen); memblock 146 drivers/s390/char/zcore.c memblock.memory.cnt * CHUNK_INFO_SIZE); memblock 155 drivers/s390/char/zcore.c buf = kcalloc(memblock.memory.cnt, CHUNK_INFO_SIZE, GFP_KERNEL); memblock 92 include/linux/memblock.h extern struct memblock memblock; memblock 294 include/linux/memblock.h for_each_mem_range(i, &memblock.memory, &memblock.reserved, \ memblock 311 include/linux/memblock.h for_each_mem_range_rev(i, &memblock.memory, &memblock.reserved, \ memblock 426 include/linux/memblock.h memblock.bottom_up = enable; memblock 436 include/linux/memblock.h return memblock.bottom_up; memblock 525 include/linux/memblock.h for (region = memblock.memblock_type.regions; \ memblock 526 include/linux/memblock.h region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \ memblock 114 mm/memblock.c struct memblock memblock __initdata_memblock = { memblock 281 mm/memblock.c end = memblock.current_limit; memblock 382 mm/memblock.c if (memblock.reserved.regions != memblock_reserved_init_regions) { memblock 383 mm/memblock.c addr = __pa(memblock.reserved.regions); memblock 385 mm/memblock.c memblock.reserved.max); memblock 389 mm/memblock.c if (memblock.memory.regions != memblock_memory_init_regions) { memblock 390 mm/memblock.c addr = __pa(memblock.memory.regions); memblock 392 mm/memblock.c memblock.memory.max); memblock 440 mm/memblock.c if (type == &memblock.memory) memblock 451 mm/memblock.c if (type != &memblock.reserved) memblock 455 mm/memblock.c memblock.current_limit, memblock 459 mm/memblock.c min(new_area_start, memblock.current_limit), memblock 683 mm/memblock.c return memblock_add_range(&memblock.memory, base, size, nid, 0); memblock 704 mm/memblock.c return memblock_add_range(&memblock.memory, base, size, MAX_NUMNODES, 0); memblock 805 mm/memblock.c return memblock_remove_range(&memblock.memory, base, size); memblock 824 mm/memblock.c return memblock_remove_range(&memblock.reserved, base, size); memblock 834 mm/memblock.c return memblock_add_range(&memblock.reserved, base, size, MAX_NUMNODES, 0); memblock 851 mm/memblock.c struct memblock_type *type = &memblock.memory; memblock 945 mm/memblock.c struct memblock_type *type = &memblock.reserved; memblock 1200 mm/memblock.c struct memblock_type *type = &memblock.memory; memblock 1279 mm/memblock.c &memblock.memory, &memblock.reserved, memblock 1306 mm/memblock.c &memblock.memory, &memblock.reserved, memblock 1469 mm/memblock.c if (max_addr > memblock.current_limit) memblock 1470 mm/memblock.c max_addr = memblock.current_limit; memblock 1589 mm/memblock.c return memblock.memory.total_size; memblock 1594 mm/memblock.c return memblock.reserved.total_size; memblock 1617 mm/memblock.c return memblock.memory.regions[0].base; memblock 1622 mm/memblock.c int idx = memblock.memory.cnt - 1; memblock 1624 mm/memblock.c return (memblock.memory.regions[idx].base + memblock.memory.regions[idx].size); memblock 1662 mm/memblock.c memblock_remove_range(&memblock.memory, max_addr, memblock 1664 mm/memblock.c memblock_remove_range(&memblock.reserved, max_addr, memblock 1676 mm/memblock.c ret = memblock_isolate_range(&memblock.memory, base, size, memblock 1682 mm/memblock.c for (i = memblock.memory.cnt - 1; i >= end_rgn; i--) memblock 1683 mm/memblock.c if (!memblock_is_nomap(&memblock.memory.regions[i])) memblock 1684 mm/memblock.c memblock_remove_region(&memblock.memory, i); memblock 1687 mm/memblock.c if (!memblock_is_nomap(&memblock.memory.regions[i])) memblock 1688 mm/memblock.c memblock_remove_region(&memblock.memory, i); memblock 1691 mm/memblock.c memblock_remove_range(&memblock.reserved, 0, base); memblock 1692 mm/memblock.c memblock_remove_range(&memblock.reserved, memblock 1732 mm/memblock.c return memblock_search(&memblock.reserved, addr) != -1; memblock 1737 mm/memblock.c return memblock_search(&memblock.memory, addr) != -1; memblock 1742 mm/memblock.c int i = memblock_search(&memblock.memory, addr); memblock 1746 mm/memblock.c return !memblock_is_nomap(&memblock.memory.regions[i]); memblock 1753 mm/memblock.c struct memblock_type *type = &memblock.memory; memblock 1778 mm/memblock.c int idx = memblock_search(&memblock.memory, base); memblock 1783 mm/memblock.c return (memblock.memory.regions[idx].base + memblock 1784 mm/memblock.c memblock.memory.regions[idx].size) >= end; memblock 1801 mm/memblock.c return memblock_overlaps_region(&memblock.reserved, base, size); memblock 1822 mm/memblock.c memblock_remove_region(&memblock.memory, memblock 1823 mm/memblock.c r - memblock.memory.regions); memblock 1831 mm/memblock.c memblock.current_limit = limit; memblock 1836 mm/memblock.c return memblock.current_limit; memblock 1869 mm/memblock.c &memblock.memory.total_size, memblock 1870 mm/memblock.c &memblock.reserved.total_size); memblock 1872 mm/memblock.c memblock_dump(&memblock.memory); memblock 1873 mm/memblock.c memblock_dump(&memblock.reserved); memblock 1875 mm/memblock.c memblock_dump(&memblock.physmem); memblock 2011 mm/memblock.c &memblock.memory, &memblock_debug_fops); memblock 2013 mm/memblock.c &memblock.reserved, &memblock_debug_fops); memblock 2016 mm/memblock.c &memblock.physmem, &memblock_debug_fops); memblock 6958 mm/page_alloc.c for_each_mem_range(i, &memblock.memory, NULL,