Searched refs:MADV_DONTFORK (Results 1 – 12 of 12) sorted by relevance
/linux/tools/arch/mips/include/uapi/asm/ |
H A D | mman.h | 7 #define MADV_DONTFORK 10 macro
|
/linux/tools/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 7 #define MADV_DONTFORK 10 macro
|
/linux/tools/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 7 #define MADV_DONTFORK 10 macro
|
/linux/tools/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 7 #define MADV_DONTFORK 10 macro
|
/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 54 #define MADV_DONTFORK 10 /* don't inherit across fork */ macro
|
/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 54 #define MADV_DONTFORK 10 /* don't inherit across fork */ macro
|
/linux/mm/ |
H A D | mseal.c | 31 case MADV_DONTFORK: in is_madv_discard()
|
H A D | madvise.c | 1275 case MADV_DONTFORK: in madvise_walk_vmas() 1394 case MADV_DONTFORK: 1589 * MADV_DONTFORK - omit this area from child's address space when forking: 1591 * MADV_DOFORK - cancel MADV_DONTFORK: no longer omit this area when forking.
|
/linux/arch/um/os-Linux/ |
H A D | mem.c | 49 if (madvise(start, len, MADV_DONTFORK)) { in kasan_map_memory()
|
/linux/tools/testing/selftests/mm/ |
H A D | cow.c | 897 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTFORK); in do_run_with_thp() 899 ksft_test_result_fail("MADV_DONTFORK failed\n"); in do_run_with_thp() 1263 ret = madvise(mem + size / 2, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse() 1265 ksft_test_result_fail("MADV_DONTFORK failed\n"); in do_test_anon_thp_collapse() 1271 ret = madvise(mem, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse() 1273 ksft_test_result_fail("MADV_DONTFORK failed\n"); in do_test_anon_thp_collapse() 1312 * Revert MADV_DONTFORK such that we merge the VMAs and are in do_test_anon_thp_collapse()
|
H A D | uffd-unit-tests.c | 1131 if (madvise(area_src, nr_pages * page_size, MADV_DONTFORK)) in uffd_move_test_common()
|
/linux/Documentation/userspace-api/ |
H A D | mseal.rst | 95 MADV_DONTNEED_LOCKED, MADV_FREE, MADV_DONTFORK, MADV_WIPEONFORK
|