Searched refs:MADV_REMOVE (Results 1 – 15 of 15) sorted by relevance
| /linux/arch/um/os-Linux/ |
| H A D | process.c | 124 #ifndef MADV_REMOVE 125 #define MADV_REMOVE KERNEL_MADV_REMOVE macro 132 err = madvise(addr, length, MADV_REMOVE); in os_drop_memory() 159 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/tools/include/uapi/asm-generic/ |
| H A D | mman-common.h | 53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
|
| /linux/arch/um/kernel/ |
| H A D | asm-offsets.c | 19 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE); in foo()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | hugetlb-madvise.c | 5 * Basic functional testing of madvise MADV_DONTNEED and MADV_REMOVE 240 * Test MADV_REMOVE on shared mapping of hugetlb file in main() 244 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) in main() 251 * Test MADV_REMOVE on shared and private mapping of hugetlb file in main() 303 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) in main() 313 ksft_test_result_pass("MADV_DONTNEED and MADV_REMOVE on hugetlb\n"); in main()
|
| H A D | folio_split_race_test.c | 200 PUNCH_SIZE_FACTOR * page_size, MADV_REMOVE) != 0) { in run_iteration()
|
| H A D | uffd-common.c | 81 if (madvise(rel_area, gopts->nr_pages * gopts->page_size, MADV_REMOVE)) in hugetlb_release_pages() 133 if (madvise(rel_area, gopts->nr_pages * gopts->page_size, MADV_REMOVE)) in shmem_release_pages()
|
| H A D | uffd-unit-tests.c | 2153 ret = madvise(gopts->area_dst, gopts->page_size, MADV_REMOVE); 2155 err("madvise(MADV_REMOVE) failed");
|
| H A D | guard-regions.c | 1947 ret = madvise(&ptr[3 * page_size], 4 * page_size, MADV_REMOVE); in TEST_F()
|
| /linux/mm/ |
| H A D | madvise.c | 1282 case MADV_REMOVE: in is_discard() 1359 case MADV_REMOVE: in madvise_vma_behavior() 1535 case MADV_REMOVE: in madvise_behavior_valid() 1757 case MADV_REMOVE: in get_lock_mode()
|
| /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
|