/linux-4.1.27/arch/x86/kernel/ |
H A D | head.c | 31 unsigned int lowmem, ebda_addr; reserve_ebda_region() local 45 lowmem = *(unsigned short *)__va(BIOS_LOWMEM_KILOBYTES); reserve_ebda_region() 46 lowmem <<= 10; reserve_ebda_region() 61 /* If lowmem is less than 128K, assume it is bogus */ reserve_ebda_region() 62 if (lowmem < INSANE_CUTOFF) reserve_ebda_region() 63 lowmem = LOWMEM_CAP; reserve_ebda_region() 65 /* Use the lower of the lowmem and EBDA markers as the cutoff */ reserve_ebda_region() 66 lowmem = min(lowmem, ebda_addr); reserve_ebda_region() 67 lowmem = min(lowmem, LOWMEM_CAP); /* Absolute cap */ reserve_ebda_region() 69 /* reserve all memory between lowmem and the 1MB mark */ reserve_ebda_region() 70 memblock_reserve(lowmem, 0x100000 - lowmem); reserve_ebda_region()
|
H A D | head_32.S | 66 * Number of possible pages in the lowmem region. 80 * a relocatable kernel can live anywhere in lowmem, so we need to be able 81 * to map all of lowmem.
|
/linux-4.1.27/arch/sh/mm/ |
H A D | uncached.c | 12 * 512MB lowmem, others via a special uncached mapping.
|
H A D | init.c | 437 " lowmem : 0x%08lx - 0x%08lx (%4ld MB) (cached)\n" mem_init()
|
/linux-4.1.27/arch/mips/bcm47xx/ |
H A D | prom.c | 53 static unsigned long lowmem __initdata; 91 lowmem = mem; prom_init_mem() 149 if (lowmem != 128 << 20 || !highmem_region) bcm47xx_prom_highmem_init() 168 extmem -= lowmem; bcm47xx_prom_highmem_init()
|
/linux-4.1.27/arch/powerpc/mm/ |
H A D | init_32.c | 52 /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ 153 /* Freescale Book-E parts expect lowmem to be mapped by fixed TLB MMU_init() 154 * entries, so we need to adjust lowmem to match the amount we can map MMU_init()
|
H A D | 44x_mmu.c | 65 * "Pins" a 256MB TLB entry in AS0 for kernel lowmem for 44x type MMU 135 * "Pins" a 256MB TLB entry in AS0 for kernel lowmem for 47x type MMU 186 /* Pin in enough TLBs to cover any lowmem not covered by the mmu_mapin_ram() 237 /* Pin in enough TLBs to cover any lowmem not covered by the mmu_init_secondary()
|
H A D | fsl_booke_mmu.c | 234 /* adjust lowmem size to __max_low_memory */ adjust_total_lowmem()
|
H A D | hugetlbpage.c | 376 * the amount of lowmem is limited. This means that this function MUST be
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | setup_32.c | 224 /* interrupt stacks must be in lowmem, we get that for free on ppc32 irqstack_early_init() 225 * as the memblock is limited to lowmem by default */ for_each_possible_cpu() 239 /* interrupt stacks must be in lowmem, we get that for free on ppc32 exc_lvl_early_init() 240 * as the memblock is limited to lowmem by MEMBLOCK_REAL_LIMIT */ for_each_possible_cpu()
|
H A D | head_fsl_booke.S | 155 * Later in mapin_ram we will correctly map lowmem, and resize TLB1[0]
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
H A D | linux-mem.h | 68 /* limit to lowmem on 32-bit systems */
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | icm.c | 264 (table->lowmem ? gfp : GFP_HIGHUSER) | mlx4_table_get() 315 if (!table->lowmem) mlx4_table_find() 406 table->lowmem = use_lowmem; mlx4_init_icm_table()
|
H A D | mlx4.h | 263 int lowmem; member in struct:mlx4_icm_table
|
/linux-4.1.27/arch/unicore32/mm/ |
H A D | init.c | 155 /* Free the lowmem regions from memblock into bootmem. */ for_each_memblock() 168 /* Reserve the lowmem memblock reserved regions in bootmem. */ for_each_memblock() 394 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n" mem_init()
|
H A D | mmu.c | 315 * Find the end of the first block of lowmem. prepare_page_table() 398 /* Map all the lowmem memory banks. */ for_each_memblock()
|
/linux-4.1.27/arch/tile/kernel/ |
H A D | setup.c | 87 /* Page frame index of end of lowmem on each controller. */ ABS() 90 /* Number of pages that can be mapped into lowmem. */ ABS() 266 * Determine for each controller where its lowmem is mapped and how much of 311 /* Mark this controller as having no lowmem. */ for_each_online_node() 346 * This is up to 4 mappings for lowmem, one mapping per memory 518 * lowmem, and since we currently cap out at about 768 MB, setup_memory() 547 /* Find where we map lowmem from each controller. */ setup_memory() 636 /* Only lowmem, if we're a HIGHMEM build. */ setup_bootmem_allocator_node() 766 * the lowmem region. If we're not in kdata_huge mode, for_each_online_node() 774 * though, there'll be no lowmem, so we just alloc_bootmem for_each_online_node() 1606 /* Update the lowmem mapping for consistency. */ for_each_possible_cpu()
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.h | 68 int lowmem; member in struct:mthca_icm_table
|
H A D | mthca_memfree.c | 235 (table->lowmem ? GFP_KERNEL : GFP_HIGHUSER) | mthca_table_get() 285 if (!table->lowmem) mthca_table_find() 378 table->lowmem = use_lowmem; mthca_alloc_icm_table()
|
/linux-4.1.27/arch/x86/xen/ |
H A D | grant-table.c | 136 rc = alloc_xenballooned_pages(nr_grant_frames, pages, 0 /* lowmem */); xlated_setup_gnttab_pages()
|
H A D | setup.c | 635 * is limited to the max size of lowmem, so that it doesn't xen_memory_setup() 638 * In principle there could be a problem in lowmem systems if xen_memory_setup() 640 * lowmem, but we won't try to deal with that here. xen_memory_setup()
|
/linux-4.1.27/arch/tile/include/asm/ |
H A D | pgalloc.h | 111 * Get the small-page pte_t lowmem entry for a given pfn.
|
H A D | pgtable_32.h | 73 /* This is the maximum possible amount of lowmem. */
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | mmu-44x.h | 123 /* Size of the TLBs used for pinning in lowmem */
|
H A D | pte-44x.h | 87 /* TODO: Add large page lowmem mapping support */
|
H A D | page.h | 64 * PAGE_OFFSET is the virtual address of the start of lowmem. 68 * MEMORY_START is the physical address of the start of lowmem.
|
H A D | pgtable-ppc32.h | 300 * (lowmem) address of the pte page. The physical address is less useful
|
/linux-4.1.27/arch/m68k/mm/ |
H A D | init.c | 133 " lowmem : 0x%08lx - 0x%08lx (%4ld MiB)\n" print_memmap()
|
/linux-4.1.27/arch/tile/mm/ |
H A D | homecache.c | 388 BUG_ON(gfp_mask & __GFP_HIGHMEM); /* must be lowmem */ homecache_alloc_pages() 400 BUG_ON(gfp_mask & __GFP_HIGHMEM); /* must be lowmem */ homecache_alloc_pages_node()
|
H A D | highmem.c | 256 /* Must be a lowmem page */ __kunmap_atomic()
|
H A D | pgtable.c | 41 * of processors and often four NUMA zones each with high and lowmem.
|
H A D | init.c | 732 * paging_init() sets up the page tables - note that all of lowmem is
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
H A D | smp.c | 240 * (0xfffff000), somewhere in highmem, or somewhere in lowmem. smp_85xx_kick_cpu() 242 * we need to directly access the spinloop if its in lowmem. smp_85xx_kick_cpu()
|
/linux-4.1.27/drivers/staging/android/ion/ |
H A D | ion_priv.h | 354 * @low_count: number of lowmem items in the pool 356 * @low_items: list of lowmem items
|
H A D | ion_system_heap.c | 254 seq_printf(s, "%d order %u lowmem pages in pool = %lu total\n", ion_system_heap_debug_show()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | init_32.c | 566 "highmem size (%luMB) results in <64MB lowmem, ignoring it!\n" 568 * All of RAM fits into lowmem - but if user wants highmem 605 * We have more RAM than fits into lowmem - we try to put it into 769 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n" mem_init()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | book3s_interrupts.S | 143 * lowmem trampoline code, so it's basically the guest exit code.
|
/linux-4.1.27/arch/arm/mm/ |
H A D | init.c | 430 /* Ignore complete lowmem entries */ for_each_memblock() 507 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n" mem_init()
|
H A D | mmu.c | 1171 * Find the end of the first block of lowmem. prepare_page_table() 1335 /* Map all the lowmem memory banks. */ for_each_memblock()
|
/linux-4.1.27/arch/xtensa/mm/ |
H A D | init.c | 349 " lowmem : 0x%08lx - 0x%08lx (%5lu MB)\n", mem_init()
|
/linux-4.1.27/arch/sh/drivers/pci/ |
H A D | pci-sh7780.c | 325 * cover all of lowmem on most platforms. sh7780_pci_init()
|
H A D | pcie-sh7786.c | 382 * cover all of lowmem on most platforms. pcie_init()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | setup.c | 452 /* Register lowmem ranges */ bootmem_init()
|
/linux-4.1.27/drivers/xen/ |
H A D | gntdev.c | 338 /* No need for kmap, pages are in lowmem */ __unmap_grant_pages()
|
/linux-4.1.27/arch/x86/boot/compressed/ |
H A D | eboot.c | 1087 efi_printk(sys_table, "Failed to alloc lowmem for boot params\n"); make_boot_params()
|
/linux-4.1.27/drivers/virtio/ |
H A D | virtio_ring.c | 108 * We require lowmem mappings for the descriptors because alloc_indirect()
|
/linux-4.1.27/ipc/ |
H A D | util.c | 81 * chain: since msgmni scales to lowmem this callback routine will be
|
/linux-4.1.27/sound/soc/fsl/ |
H A D | fsl_dma.c | 278 * (currently) always allocates the DMA buffer in lowmem, even if GFP_HIGHMEM
|
/linux-4.1.27/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 618 false /* lowmem */); xenbus_map_ring_valloc_hvm()
|
/linux-4.1.27/mm/ |
H A D | page_alloc.c | 2162 * lowmem reserves and high watermark so that kswapd get_page_from_freelist() 2430 /* The OOM killer does not needlessly kill tasks for lowmem */ __alloc_pages_may_oom() 4992 * Set an approximate value for lowmem here, it will be adjusted free_area_init_core() 5803 * If it's a lowmem zone, reserve a number of pages for_each_zone() 5992 * minimum watermarks. The lowmem reserve ratio can only make sense
|
H A D | shmem.c | 2282 * but each new link needs a new dentry, pinning lowmem, and shmem_link() 3009 * tmpfs instance, limiting inodes to one per page of lowmem; shmem_fill_super()
|
H A D | vmscan.c | 2466 * highmem pages could be pinning lowmem pages storing buffer_heads shrink_zones() 3139 * it to relieve lowmem pressure. balance_pgdat()
|
H A D | huge_memory.c | 128 /* don't ever allow to reserve more than 5% of the lowmem */ set_recommended_min_free_kbytes()
|
H A D | mempolicy.c | 49 * on systems with highmem kernel lowmem allocation don't get policied.
|
H A D | page-writeback.c | 162 * lowmem and the ability to uphold the zone's watermarks without
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | rcar-dmac.c | 923 * optimization we could use descriptor lists for consecutive lowmem
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | mmc_test.c | 315 * there isn't much memory do not exceed 1/16th total lowmem pages. Also do
|
/linux-4.1.27/drivers/s390/net/ |
H A D | netiucv.c | 1191 * Copy the skb to a new allocated skb in lowmem only if the netiucv_transmit_skb()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | lu_object.c | 862 /* limit hashtable size for lowmem systems to low RAM */ lu_htable_order()
|