Home
last modified time | relevance | path

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

/linux/arch/um/os-Linux/
H A 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/tools/arch/mips/include/uapi/asm/
H A Dmman.h16 #define MADV_REMOVE 9 macro
/linux/tools/arch/alpha/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux/tools/arch/xtensa/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux/tools/arch/parisc/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux/arch/um/include/shared/
H A Dcommon-offsets.h4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
/linux/tools/include/uapi/asm-generic/
H A Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/include/uapi/asm-generic/
H A Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/arch/xtensa/include/uapi/asm/
H A Dmman.h89 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/arch/alpha/include/uapi/asm/
H A Dmman.h54 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/arch/mips/include/uapi/asm/
H A Dmman.h80 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/arch/parisc/include/uapi/asm/
H A Dmman.h48 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux/tools/testing/selftests/mm/
H A Dhugetlb-madvise.c290 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 Duffd-common.c70 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 Dmseal.c30 case MADV_REMOVE: in is_madv_discard()
H A Dmadvise.c53 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 Dtest_is_test_passed-no_tests_run_no_header.log30 Checking host MADV_REMOVE support...OK
H A Dtest_output_isolated_correctly.log55 Checking host MADV_REMOVE support...OK
/linux/Documentation/admin-guide/mm/
H A Duserfaultfd.rst271 anonymous (or ``MADV_REMOVE`` on a file mapping) will be treated as
388 enable notifications about madvise(MADV_REMOVE) and