Searched refs:MAP_FIXED (Results 1 – 15 of 15) sorted by relevance
/tools/testing/selftests/vm/ |
D | va_128TBswitch.c | 80 .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,
|
D | hugepage-mmap.c | 33 #define FLAGS (MAP_SHARED | MAP_FIXED)
|
D | map_hugetlb.c | 37 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED)
|
D | transhuge-stress.c | 36 MAP_FIXED | MAP_ANONYMOUS | in allocate_transhuge()
|
/tools/arch/alpha/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x100 macro
|
/tools/arch/xtensa/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x010 macro
|
/tools/arch/mips/include/uapi/asm/ |
D | mman.h | 24 #define MAP_FIXED 0x010 macro
|
/tools/arch/parisc/include/uapi/asm/ |
D | mman.h | 23 #define MAP_FIXED 0x04 macro
|
/tools/include/uapi/asm-generic/ |
D | mman-common.h | 22 #define MAP_FIXED 0x10 /* Interpret addr exactly */ macro
|
/tools/testing/selftests/bpf/prog_tests/ |
D | mmap.c | 206 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/ |
D | large_vm_fork_separation.c | 20 #define MAP_FIXED_NOREPLACE MAP_FIXED // "Should be safe" above 512TB
|
/tools/testing/selftests/proc/ |
D | proc-self-map-files-002.c | 65 p = mmap((void *)va, PAGE_SIZE, PROT_NONE, MAP_PRIVATE|MAP_FILE|MAP_FIXED, fd, 0); in main()
|
/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 62 MAP_PRIVATE | MAP_ANONYMOUS | MAP_FIXED, -1, 0); in check_error_paths()
|
/tools/testing/selftests/sgx/ |
D | main.c | 149 seg->prot, MAP_SHARED | MAP_FIXED, self->encl.fd, 0); in FIXTURE_SETUP()
|
/tools/lib/bpf/ |
D | libbpf.c | 10775 MAP_SHARED | MAP_FIXED, map_fd, 0); in bpf_object__load_skeleton()
|