Home
last modified time | relevance | path

Searched refs:MAP_FIXED (Results 1 – 15 of 15) sorted by relevance

/tools/testing/selftests/vm/
Dva_128TBswitch.c80 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
114 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
162 .flags = MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
199 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
226 .flags = MAP_HUGETLB | MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED,
Dhugepage-mmap.c33 #define FLAGS (MAP_SHARED | MAP_FIXED)
Dmap_hugetlb.c37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
Dtranshuge-stress.c36 MAP_FIXED | MAP_ANONYMOUS | in allocate_transhuge()
/tools/arch/alpha/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x100 macro
/tools/arch/xtensa/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x010 macro
/tools/arch/mips/include/uapi/asm/
Dmman.h24 #define MAP_FIXED 0x010 macro
/tools/arch/parisc/include/uapi/asm/
Dmman.h23 #define MAP_FIXED 0x04 macro
/tools/include/uapi/asm-generic/
Dmman-common.h22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
/tools/testing/selftests/bpf/prog_tests/
Dmmap.c206 tmp1 = mmap(tmp0, 3 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
222 MAP_SHARED | MAP_FIXED, data_map_fd, 0); in test_mmap()
232 tmp2 = mmap(tmp1, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
253 tmp1 = mmap(NULL, 4 * page_size, PROT_READ, MAP_SHARED | MAP_FIXED, in test_mmap()
/tools/testing/selftests/powerpc/mm/
Dlarge_vm_fork_separation.c20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
/tools/testing/selftests/proc/
Dproc-self-map-files-002.c65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c62 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); in check_error_paths()
/tools/testing/selftests/sgx/
Dmain.c149 seg->prot, MAP_SHARED | MAP_FIXED, self->encl.fd, 0); in FIXTURE_SETUP()
/tools/lib/bpf/
Dlibbpf.c10775 MAP_SHARED | MAP_FIXED, map_fd, 0); in bpf_object__load_skeleton()