Home
last modified time | relevance | path

Searched refs:MADV_DONTFORK (Results 1 – 10 of 10) 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/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.c947 ret = madvise(mem + pagesize, thpsize - pagesize, MADV_DONTFORK); in do_run_with_thp()
949 ksft_perror("MADV_DONTFORK failed"); in do_run_with_thp()
1321 ret = madvise(mem + size / 2, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1323 ksft_perror("MADV_DONTFORK failed"); in do_test_anon_thp_collapse()
1330 ret = madvise(mem, size / 2, MADV_DONTFORK); in do_test_anon_thp_collapse()
1332 ksft_perror("MADV_DONTFORK failed"); in do_test_anon_thp_collapse()
1373 * Revert MADV_DONTFORK such that we merge the VMAs and are in do_test_anon_thp_collapse()
H A Duffd-unit-tests.c1139 if (madvise(gopts->area_src, gopts->nr_pages * gopts->page_size, MADV_DONTFORK)) in uffd_move_test_common()
/linux/mm/
H A Dmadvise.c1281 case MADV_DONTFORK: in is_discard()
1388 case MADV_DONTFORK: in madvise_vma_behavior()
1529 case MADV_DONTFORK: in madvise_behavior_valid()
/linux/Documentation/userspace-api/
H A Dmseal.rst95 MADV_DONTNEED_LOCKED, MADV_FREE, MADV_DONTFORK, MADV_WIPEONFORK