Home
last modified time | relevance | path

Searched refs:MAP_HUGETLB (Results 1 – 25 of 36) sorted by relevance

12

/Linux-v6.1/tools/testing/selftests/vm/
Dva_128TBswitch.c171 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
178 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
185 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
192 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
199 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
205 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
212 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
218 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS,
226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
Dmap_hugetlb.c22 #ifndef MAP_HUGETLB
23 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
40 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dhugepage-vmemmap.c16 #ifndef MAP_HUGETLB
17 #define MAP_HUGETLB 0x40000 /* arch specific */ macro
40 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
43 #define MAP_FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
Dthuge-gen.c34 #if !defined(MAP_HUGETLB)
35 #define MAP_HUGETLB 0x40000 macro
150 MAP_PRIVATE|MAP_ANONYMOUS|MAP_HUGETLB|flags, -1, 0); in test_mmap()
239 test_mmap(ps, MAP_HUGETLB | arg); in main()
Dhugepage-mremap.c139 MAP_HUGETLB | MAP_SHARED | MAP_POPULATE, fd, 0); in main()
149 MAP_HUGETLB | MAP_SHARED | MAP_POPULATE, fd, 0); in main()
Dhugetlb-madvise.c142 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
184 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
221 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in main()
Dwrite_to_hugetlbfs.c187 MAP_HUGETLB | (populate ? MAP_POPULATE : 0) | in main()
Dgup_test.c167 flags |= (MAP_HUGETLB | MAP_ANONYMOUS); in main()
/Linux-v6.1/tools/arch/parisc/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x80000 macro
/Linux-v6.1/tools/arch/xtensa/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x80000 macro
/Linux-v6.1/tools/arch/alpha/include/uapi/asm/
Dmman.h25 #define MAP_HUGETLB 0x100000 macro
/Linux-v6.1/tools/arch/mips/include/uapi/asm/
Dmman.h26 #define MAP_HUGETLB 0x80000 macro
/Linux-v6.1/tools/testing/selftests/powerpc/mm/
Dhugetlb_vs_thp_test.c19 MAP_HUGETLB | MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in test_body()
/Linux-v6.1/include/uapi/asm-generic/
Dmman-common.h29 #define MAP_HUGETLB 0x040000 /* create a huge page mapping */ macro
/Linux-v6.1/tools/include/uapi/asm-generic/
Dmman-common.h29 #define MAP_HUGETLB 0x040000 /* create a huge page mapping */ macro
/Linux-v6.1/arch/xtensa/include/uapi/asm/
Dmman.h57 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/Linux-v6.1/arch/parisc/include/uapi/asm/
Dmman.h26 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/Linux-v6.1/arch/alpha/include/uapi/asm/
Dmman.h32 #define MAP_HUGETLB 0x100000 /* create a huge page mapping */ macro
/Linux-v6.1/arch/mips/include/uapi/asm/
Dmman.h50 #define MAP_HUGETLB 0x80000 /* create a huge page mapping */ macro
/Linux-v6.1/tools/testing/selftests/kvm/lib/
Dtest_util.c174 #define ANON_HUGE_FLAGS (ANON_FLAGS | MAP_HUGETLB)
288 return !!(vm_mem_backing_src_alias(i)->flag & MAP_HUGETLB); in is_backing_src_hugetlb()
/Linux-v6.1/include/linux/
Dmman.h51 | MAP_HUGETLB \
/Linux-v6.1/tools/testing/selftests/mincore/
Dmincore_selftest.c150 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, in TEST()
/Linux-v6.1/Documentation/translations/zh_CN/mm/
Dhugetlbfs_reserv.rst92 当创建一个巨大的有页面支持的共享内存段(shmget(SHM_HUGETLB))或通过mmap(MAP_HUGETLB)
/Linux-v6.1/tools/testing/selftests/net/
Dtcp_mmap.c135 MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB, -1, 0); in mmap_large_buffer()
/Linux-v6.1/samples/nitro_enclaves/
Dne_ioctl_sample.c264 MAP_HUGETLB | MAP_HUGE_2MB, -1, 0); in ne_alloc_user_mem_region()

12