Home
last modified time | relevance | path

Searched refs:MADV_REMOVE (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/arch/um/os-Linux/
Dprocess.c175 #ifndef MADV_REMOVE
176 #define MADV_REMOVE KERNEL_MADV_REMOVE macro
183 err = madvise(addr, length, MADV_REMOVE); in os_drop_memory()
210 if (madvise(addr, UM_KERN_PAGE_SIZE, MADV_REMOVE) != 0) { in can_drop_memory()
/linux-6.6.21/tools/arch/xtensa/include/uapi/asm/
Dmman.h15 #define MADV_REMOVE 9 macro
/linux-6.6.21/tools/arch/mips/include/uapi/asm/
Dmman.h16 #define MADV_REMOVE 9 macro
/linux-6.6.21/tools/arch/parisc/include/uapi/asm/
Dmman.h15 #define MADV_REMOVE 9 macro
/linux-6.6.21/tools/arch/alpha/include/uapi/asm/
Dmman.h15 #define MADV_REMOVE 9 macro
/linux-6.6.21/include/uapi/asm-generic/
Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/tools/include/uapi/asm-generic/
Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/arch/xtensa/include/uapi/asm/
Dmman.h89 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/arch/parisc/include/uapi/asm/
Dmman.h48 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/arch/alpha/include/uapi/asm/
Dmman.h54 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/arch/mips/include/uapi/asm/
Dmman.h80 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-6.6.21/arch/um/include/shared/
Dcommon-offsets.h5 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
/linux-6.6.21/tools/testing/selftests/mm/
Dhugetlb-madvise.c308 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) { in main()
375 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) { in main()
Duffd-common.c68 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) in hugetlb_release_pages()
119 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) in shmem_release_pages()
/linux-6.6.21/mm/
Dmadvise.c53 case MADV_REMOVE: in madvise_need_mmap_write()
1034 case MADV_REMOVE: in madvise_vma_behavior()
1174 case MADV_REMOVE: in madvise_behavior_valid()
/linux-6.6.21/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run_no_header.log30 Checking host MADV_REMOVE support...OK
Dtest_output_isolated_correctly.log55 Checking host MADV_REMOVE support...OK
/linux-6.6.21/Documentation/admin-guide/mm/
Duserfaultfd.rst350 enable notifications about madvise(MADV_REMOVE) and