Home
last modified time | relevance | path

Searched refs:MADV_DONTFORK (Results 1 – 12 of 12) sorted by relevance

/linux/tools/arch/mips/include/uapi/asm/
H A Dmman.h7 #define MADV_DONTFORK 10 macro
/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h7 #define MADV_DONTFORK 10 macro
/linux/tools/arch/xtensa/include/uapi/asm/
H A Dmman.h7 #define MADV_DONTFORK 10 macro
/linux/tools/arch/parisc/include/uapi/asm/
H A Dmman.h7 #define MADV_DONTFORK 10 macro
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h54 #define MADV_DONTFORK 10 /* don't inherit across fork */ macro
/linux/include/uapi/asm-generic/
H A Dmman-common.h54 #define MADV_DONTFORK 10 /* don't inherit across fork */ macro
/linux/mm/
H A Dmseal.c31 case MADV_DONTFORK: in is_madv_discard()
H A Dmadvise.c1275 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 Dmem.c49 if (madvise(start, len, MADV_DONTFORK)) { in kasan_map_memory()
/linux/tools/testing/selftests/mm/
H A Dcow.c897 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 Duffd-unit-tests.c1131 if (madvise(area_src, nr_pages * page_size, MADV_DONTFORK)) in uffd_move_test_common()
/linux/Documentation/userspace-api/
H A Dmseal.rst95 MADV_DONTNEED_LOCKED, MADV_FREE, MADV_DONTFORK, MADV_WIPEONFORK