/linux/arch/um/os-Linux/ |
H A D | process.c | 175 #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/tools/arch/mips/include/uapi/asm/ |
H A D | mman.h | 16 #define MADV_REMOVE 9 macro
|
/linux/tools/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 15 #define MADV_REMOVE 9 macro
|
/linux/tools/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 15 #define MADV_REMOVE 9 macro
|
/linux/tools/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 15 #define MADV_REMOVE 9 macro
|
/linux/arch/um/include/shared/ |
H A D | common-offsets.h | 4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
|
/linux/tools/include/uapi/asm-generic/ |
H A D | mman-common.h | 53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/include/uapi/asm-generic/ |
H A D | mman-common.h | 53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/arch/xtensa/include/uapi/asm/ |
H A D | mman.h | 89 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 54 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/arch/mips/include/uapi/asm/ |
H A D | mman.h | 80 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 48 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
/linux/tools/testing/selftests/mm/ |
H A D | hugetlb-madvise.c | 290 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) { in main() 357 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) { in main()
|
H A D | uffd-common.c | 70 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) in hugetlb_release_pages() 121 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) in shmem_release_pages()
|
/linux/mm/ |
H A D | mseal.c | 30 case MADV_REMOVE: in is_madv_discard()
|
H A D | madvise.c | 53 case MADV_REMOVE: in madvise_need_mmap_write() 1038 case MADV_REMOVE: in madvise_vma_behavior() 1178 case MADV_REMOVE: in madvise_behavior_valid() 1364 * MADV_REMOVE - the application wants to free up the given range of
|
/linux/tools/testing/kunit/test_data/ |
H A D | test_is_test_passed-no_tests_run_no_header.log | 30 Checking host MADV_REMOVE support...OK
|
H A D | test_output_isolated_correctly.log | 55 Checking host MADV_REMOVE support...OK
|
/linux/Documentation/admin-guide/mm/ |
H A D | userfaultfd.rst | 271 anonymous (or ``MADV_REMOVE`` on a file mapping) will be treated as 388 enable notifications about madvise(MADV_REMOVE) and
|