Home
last modified time | relevance | path

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

12

/linux-3.4.99/tools/testing/selftests/vm/
Dmap_hugetlb.c28 #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/
Dmman-common.h18 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
/linux-3.4.99/arch/xtensa/include/asm/
Dmman.h37 #define MAP_PRIVATE 0x002 /* Changes are private */ macro
/linux-3.4.99/arch/alpha/include/asm/
Dmman.h13 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
/linux-3.4.99/arch/mips/include/asm/
Dmman.h30 #define MAP_PRIVATE 0x002 /* Changes are private */ macro
/linux-3.4.99/arch/parisc/include/asm/
Dmman.h13 #define MAP_PRIVATE 0x02 /* Changes are private */ macro
/linux-3.4.99/fs/
Dbinfmt_som.c141 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()
Dbinfmt_aout.c324 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()
Dbinfmt_flat.c546 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()
Dbinfmt_elf.c435 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()
Dbinfmt_elf_fdpic.c394 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/
Dfixdep.c298 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/
Dtask_size.c36 MAP_FIXED | MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); in page_ok()
/linux-3.4.99/arch/tile/mm/
Delf.c138 MAP_FIXED|MAP_ANONYMOUS|MAP_PRIVATE, in arch_setup_additional_pages()
/linux-3.4.99/include/linux/raid/
Dpq.h133 MAP_PRIVATE|MAP_ANONYMOUS,\
/linux-3.4.99/arch/um/os-Linux/skas/
Dprocess.c223 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/
Dutil.c95 addr = mmap(NULL, st.st_size, PROT_READ, MAP_PRIVATE, fromfd, 0); in copyfile()
Dtrace-event-read.c342 cpu_data[cpu].page = mmap(NULL, page_size, PROT_READ, MAP_PRIVATE, in get_next_page()
/linux-3.4.99/arch/x86/ia32/
Dia32_aout.c383 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/
Dmem.c264 PROT_READ | PROT_WRITE | PROT_EXEC, MAP_PRIVATE, fd, 0); in check_tmpexec()
/linux-3.4.99/Documentation/
Dnommu-mmap.txt19 (*) 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/
Drecordmcount.c177 addr = mmap(0, sb.st_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, in mmap_file()
/linux-3.4.99/security/apparmor/
Dlsm.c484 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/
Dsingle_step.c351 MAP_PRIVATE | MAP_ANONYMOUS, in single_step_once()
/linux-3.4.99/tools/lguest/
Dlguest.c304 PROT_NONE, MAP_PRIVATE, fd, 0); in map_zeroed_pages()
353 MAP_FIXED|MAP_PRIVATE, fd, offset) != MAP_FAILED) in map_at()

12