/linux-3.4.99/tools/testing/selftests/vm/ |
D | map_hugetlb.c | 28 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB | MAP_FIXED) 31 #define FLAGS (MAP_PRIVATE | MAP_ANONYMOUS | MAP_HUGETLB)
|
/linux-3.4.99/include/asm-generic/ |
D | mman-common.h | 18 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
|
/linux-3.4.99/arch/xtensa/include/asm/ |
D | mman.h | 37 #define MAP_PRIVATE 0x002 /* Changes are private */ macro
|
/linux-3.4.99/arch/alpha/include/asm/ |
D | mman.h | 13 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
|
/linux-3.4.99/arch/mips/include/asm/ |
D | mman.h | 30 #define MAP_PRIVATE 0x002 /* Changes are private */ macro
|
/linux-3.4.99/arch/parisc/include/asm/ |
D | mman.h | 13 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
|
/linux-3.4.99/fs/ |
D | binfmt_som.c | 141 int flags = MAP_FIXED|MAP_PRIVATE|MAP_DENYWRITE|MAP_EXECUTABLE; in map_som_binary() 168 prot | PROT_WRITE, MAP_FIXED | MAP_PRIVATE, 0); in map_som_binary()
|
D | binfmt_aout.c | 324 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, in load_aout_binary() 334 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE, in load_aout_binary() 418 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE, in load_aout_library()
|
D | binfmt_flat.c | 546 MAP_PRIVATE|MAP_EXECUTABLE, 0); in load_flat_file() 558 PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 0); in load_flat_file() 603 PROT_READ | PROT_EXEC | PROT_WRITE, MAP_PRIVATE, 0); in load_flat_file()
|
D | binfmt_elf.c | 435 int elf_type = MAP_PRIVATE | MAP_DENYWRITE; in load_elf_interp() 783 elf_flags = MAP_PRIVATE | MAP_DENYWRITE | MAP_EXECUTABLE; in load_elf_binary() 962 MAP_FIXED | MAP_PRIVATE, 0); in load_elf_binary() 1052 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE, in load_elf_library()
|
D | binfmt_elf_fdpic.c | 394 MAP_PRIVATE | MAP_ANONYMOUS | in load_elf_fdpic_binary() 950 mflags = MAP_PRIVATE; in elf_fdpic_map_file_constdisp_on_uclinux() 1049 flags = MAP_PRIVATE | MAP_DENYWRITE; in elf_fdpic_map_file_by_direct_mmap()
|
/linux-3.4.99/scripts/basic/ |
D | fixdep.c | 298 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in do_config_file() 392 map = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fd, 0); in print_deps()
|
/linux-3.4.99/arch/x86/um/os-Linux/ |
D | task_size.c | 36 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in page_ok()
|
/linux-3.4.99/arch/tile/mm/ |
D | elf.c | 138 MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, in arch_setup_additional_pages()
|
/linux-3.4.99/include/linux/raid/ |
D | pq.h | 133 MAP_PRIVATE|MAP_ANONYMOUS,\
|
/linux-3.4.99/arch/um/os-Linux/skas/ |
D | process.c | 223 PROT_EXEC, MAP_FIXED | MAP_PRIVATE, fd, offset); in userspace_tramp() 279 MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in start_userspace() 586 .flags = MAP_FIXED | MAP_PRIVATE, in map_stub_pages()
|
/linux-3.4.99/tools/perf/util/ |
D | util.c | 95 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0); in copyfile()
|
D | trace-event-read.c | 342 cpu_data[cpu].page = mmap(NULL, page_size, PROT_READ, MAP_PRIVATE, in get_next_page()
|
/linux-3.4.99/arch/x86/ia32/ |
D | ia32_aout.c | 383 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | in load_aout_binary() 394 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | in load_aout_binary() 482 MAP_FIXED | MAP_PRIVATE | MAP_DENYWRITE | MAP_32BIT, in load_aout_library()
|
/linux-3.4.99/arch/um/os-Linux/ |
D | mem.c | 264 PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, fd, 0); in check_tmpexec()
|
/linux-3.4.99/Documentation/ |
D | nommu-mmap.txt | 19 (*) Anonymous mapping, MAP_PRIVATE 32 MAP_PRIVATE there. 34 (*) File, MAP_PRIVATE, PROT_READ / PROT_EXEC, !PROT_WRITE 59 (*) File, MAP_PRIVATE, PROT_READ / PROT_EXEC, PROT_WRITE
|
/linux-3.4.99/scripts/ |
D | recordmcount.c | 177 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, in mmap_file()
|
/linux-3.4.99/security/apparmor/ |
D | lsm.c | 484 if ((prot & PROT_WRITE) && !(flags & MAP_PRIVATE)) in common_mmap() 511 !(vma->vm_flags & VM_SHARED) ? MAP_PRIVATE : 0); in apparmor_file_mprotect()
|
/linux-3.4.99/arch/tile/kernel/ |
D | single_step.c | 351 MAP_PRIVATE | MAP_ANONYMOUS, in single_step_once()
|
/linux-3.4.99/tools/lguest/ |
D | lguest.c | 304 PROT_NONE, MAP_PRIVATE, fd, 0); in map_zeroed_pages() 353 MAP_FIXED|MAP_PRIVATE, fd, offset) != MAP_FAILED) in map_at()
|