Searched refs:lowmem (Results 1 - 59 of 59) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
H A Dhead.c31 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 Dhead_32.S66 * 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 Duncached.c12 * 512MB lowmem, others via a special uncached mapping.
H A Dinit.c437 " lowmem : 0x%08lx - 0x%08lx (%4ld MB) (cached)\n" mem_init()
/linux-4.1.27/arch/mips/bcm47xx/
H A Dprom.c53 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 Dinit_32.c52 /* 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 D44x_mmu.c65 * "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 Dfsl_booke_mmu.c234 /* adjust lowmem size to __max_low_memory */ adjust_total_lowmem()
H A Dhugetlbpage.c376 * the amount of lowmem is limited. This means that this function MUST be
/linux-4.1.27/arch/powerpc/kernel/
H A Dsetup_32.c224 /* 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 Dhead_fsl_booke.S155 * 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 Dlinux-mem.h68 /* limit to lowmem on 32-bit systems */
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dicm.c264 (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 Dmlx4.h263 int lowmem; member in struct:mlx4_icm_table
/linux-4.1.27/arch/unicore32/mm/
H A Dinit.c155 /* 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 Dmmu.c315 * 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 Dsetup.c87 /* 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 Dmthca_memfree.h68 int lowmem; member in struct:mthca_icm_table
H A Dmthca_memfree.c235 (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 Dgrant-table.c136 rc = alloc_xenballooned_pages(nr_grant_frames, pages, 0 /* lowmem */); xlated_setup_gnttab_pages()
H A Dsetup.c635 * 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 Dpgalloc.h111 * Get the small-page pte_t lowmem entry for a given pfn.
H A Dpgtable_32.h73 /* This is the maximum possible amount of lowmem. */
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmmu-44x.h123 /* Size of the TLBs used for pinning in lowmem */
H A Dpte-44x.h87 /* TODO: Add large page lowmem mapping support */
H A Dpage.h64 * 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 Dpgtable-ppc32.h300 * (lowmem) address of the pte page. The physical address is less useful
/linux-4.1.27/arch/m68k/mm/
H A Dinit.c133 " lowmem : 0x%08lx - 0x%08lx (%4ld MiB)\n" print_memmap()
/linux-4.1.27/arch/tile/mm/
H A Dhomecache.c388 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 Dhighmem.c256 /* Must be a lowmem page */ __kunmap_atomic()
H A Dpgtable.c41 * of processors and often four NUMA zones each with high and lowmem.
H A Dinit.c732 * paging_init() sets up the page tables - note that all of lowmem is
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsmp.c240 * (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 Dion_priv.h354 * @low_count: number of lowmem items in the pool
356 * @low_items: list of lowmem items
H A Dion_system_heap.c254 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 Dinit_32.c566 "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 Dbook3s_interrupts.S143 * lowmem trampoline code, so it's basically the guest exit code.
/linux-4.1.27/arch/arm/mm/
H A Dinit.c430 /* Ignore complete lowmem entries */ for_each_memblock()
507 " lowmem : 0x%08lx - 0x%08lx (%4ld MB)\n" mem_init()
H A Dmmu.c1171 * 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 Dinit.c349 " lowmem : 0x%08lx - 0x%08lx (%5lu MB)\n", mem_init()
/linux-4.1.27/arch/sh/drivers/pci/
H A Dpci-sh7780.c325 * cover all of lowmem on most platforms. sh7780_pci_init()
H A Dpcie-sh7786.c382 * cover all of lowmem on most platforms. pcie_init()
/linux-4.1.27/arch/mips/kernel/
H A Dsetup.c452 /* Register lowmem ranges */ bootmem_init()
/linux-4.1.27/drivers/xen/
H A Dgntdev.c338 /* No need for kmap, pages are in lowmem */ __unmap_grant_pages()
/linux-4.1.27/arch/x86/boot/compressed/
H A Deboot.c1087 efi_printk(sys_table, "Failed to alloc lowmem for boot params\n"); make_boot_params()
/linux-4.1.27/drivers/virtio/
H A Dvirtio_ring.c108 * We require lowmem mappings for the descriptors because alloc_indirect()
/linux-4.1.27/ipc/
H A Dutil.c81 * chain: since msgmni scales to lowmem this callback routine will be
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_dma.c278 * (currently) always allocates the DMA buffer in lowmem, even if GFP_HIGHMEM
/linux-4.1.27/drivers/xen/xenbus/
H A Dxenbus_client.c618 false /* lowmem */); xenbus_map_ring_valloc_hvm()
/linux-4.1.27/mm/
H A Dpage_alloc.c2162 * 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 Dshmem.c2282 * 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 Dvmscan.c2466 * highmem pages could be pinning lowmem pages storing buffer_heads shrink_zones()
3139 * it to relieve lowmem pressure. balance_pgdat()
H A Dhuge_memory.c128 /* don't ever allow to reserve more than 5% of the lowmem */ set_recommended_min_free_kbytes()
H A Dmempolicy.c49 * on systems with highmem kernel lowmem allocation don't get policied.
H A Dpage-writeback.c162 * lowmem and the ability to uphold the zone's watermarks without
/linux-4.1.27/drivers/dma/sh/
H A Drcar-dmac.c923 * optimization we could use descriptor lists for consecutive lowmem
/linux-4.1.27/drivers/mmc/card/
H A Dmmc_test.c315 * there isn't much memory do not exceed 1/16th total lowmem pages. Also do
/linux-4.1.27/drivers/s390/net/
H A Dnetiucv.c1191 * 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 Dlu_object.c862 /* limit hashtable size for lowmem systems to low RAM */ lu_htable_order()

Completed in 1860 milliseconds