Home
last modified time | relevance | path

Searched refs:highmem (Results 1 – 25 of 51) sorted by relevance

123

/OK3568_Linux_fs/kernel/arch/um/kernel/
H A Dphysmem.c27 unsigned long highmem) in mem_total_pages() argument
34 highmem_pages = highmem >> PAGE_SHIFT; in mem_total_pages()
80 unsigned long len, unsigned long long highmem) in setup_physmem() argument
92 physmem_fd = create_mem_file(len + highmem); in setup_physmem()
111 memblock_add(__pa(start), len + highmem); in setup_physmem()
139 else if (phys < __pa(end_iomem) + highmem) { in phys_mapping()
H A Dum_arch.c301 highmem = 0; in linux_main()
311 highmem = physmem_size + iomem_size - max_physmem; in linux_main()
312 physmem_size -= highmem; in linux_main()
346 setup_physmem(uml_physmem, uml_reserved, physmem_size, highmem); in setup_arch()
347 mem_total_pages(physmem_size, iomem_size, highmem); in setup_arch()
H A Dmem.c33 unsigned long long highmem; variable
34 EXPORT_SYMBOL(highmem);
/OK3568_Linux_fs/kernel/lib/
H A Dshow_mem.c14 unsigned long total = 0, reserved = 0, highmem = 0; in show_mem() local
31 highmem += zone->present_pages; in show_mem()
36 printk("%lu pages HighMem/MovableOnly\n", highmem); in show_mem()
/OK3568_Linux_fs/kernel/tools/testing/fault-injection/
H A Dfailcmd.sh52 --ignore-gfp-highmem=value, --min-order=value
94 LONGOPTS=$LONGOPTS,ignore-gfp-wait:,ignore-gfp-highmem:,min-order:
190 --ignore-gfp-highmem)
191 echo $2 > $FAULTATTR/ignore-gfp-highmem
/OK3568_Linux_fs/kernel/arch/um/include/shared/
H A Dmem_user.h53 unsigned long highmem);
56 unsigned long len, unsigned long long highmem);
H A Das-layout.h52 extern unsigned long long highmem;
/OK3568_Linux_fs/kernel/tools/testing/scatterlist/
H A DMakefile17 …$(RM) $(TARGETS) $(OFILES) scatterlist.c linux/scatterlist.h linux/highmem.h linux/kmemleak.h linu…
29 @touch linux/highmem.h
/OK3568_Linux_fs/kernel/arch/microblaze/mm/
H A DMakefile9 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/arch/arc/mm/
H A DMakefile8 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/arch/xtensa/mm/
H A DMakefile8 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/arch/nds32/mm/
H A DMakefile6 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/arch/csky/mm/
H A DMakefile12 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/kernel/power/
H A Dsnapshot.c1573 unsigned long highmem, in preallocate_highmem_fraction() argument
1576 unsigned long alloc = __fraction(nr_pages, highmem, total); in preallocate_highmem_fraction()
1587 unsigned long highmem, in preallocate_highmem_fraction() argument
1701 unsigned long saveable, size, max_size, count, highmem, pages = 0; in hibernate_preallocate_memory() local
1734 highmem = save_highmem; in hibernate_preallocate_memory()
1739 highmem += zone_page_state(zone, NR_FREE_PAGES); in hibernate_preallocate_memory()
1744 count += highmem; in hibernate_preallocate_memory()
1794 pages_highmem = preallocate_image_highmem(highmem / 2); in hibernate_preallocate_memory()
1824 size = preallocate_highmem_fraction(alloc, highmem, count); in hibernate_preallocate_memory()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A DMakefile20 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/arch/powerpc/mm/
H A DMakefile19 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dhighmem.rst14 High memory (highmem) is used when the size of physical memory approaches or
21 refer to as 'highmem'. There are various architecture dependent constraints on
122 highmem. In such a case, the arithmetic approach will also be used.
H A Dbalance.rst29 or not). A similar argument applies to highmem and direct mapped pages.
78 need to balance the highmem zone, since intr context does not request
79 highmem pages. kswapd looks at the zone_wake_kswapd field in the zone
H A Dindex.rst37 highmem
/OK3568_Linux_fs/kernel/arch/mips/mm/
H A DMakefile27 obj-$(CONFIG_HIGHMEM) += highmem.o
/OK3568_Linux_fs/kernel/drivers/media/v4l2-core/
H A Dvideobuf-dma-sg.c107 goto highmem; in videobuf_pages_to_sg()
115 goto highmem; in videobuf_pages_to_sg()
126 highmem: in videobuf_pages_to_sg()
/OK3568_Linux_fs/kernel/arch/arc/boot/dts/
H A Dhaps_hs.dts20 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */
H A Daxc003.dtsi145 0x1 0xc0000000 0x0 0x40000000>; /* 1 GiB highmem */
/OK3568_Linux_fs/kernel/drivers/mmc/core/
H A Dmmc_test.c150 struct page *highmem; member
1330 sg_set_page(&sg, test->highmem, 512, 0); in mmc_test_write_high()
1340 sg_set_page(&sg, test->highmem, 512, 0); in mmc_test_read_high()
1362 sg_set_page(&sg, test->highmem, size, 0); in mmc_test_multi_write_high()
1384 sg_set_page(&sg, test->highmem, size, 0); in mmc_test_multi_read_high()
3127 test->highmem = alloc_pages(GFP_KERNEL | __GFP_HIGHMEM, BUFFER_ORDER);
3131 if (test->buffer && test->highmem) {
3141 __free_pages(test->highmem, BUFFER_ORDER);
/OK3568_Linux_fs/kernel/Documentation/fault-injection/
H A Dfault-injection.rst125 - /sys/kernel/debug/fail_page_alloc/ignore-gfp-highmem:
130 highmem/user allocations.
316 echo 1 > /sys/kernel/debug/$FAILTYPE/ignore-gfp-highmem

123