Searched refs:MADV_REMOVE (Results 1 – 15 of 15) sorted by relevance
175 #ifndef MADV_REMOVE176 #define MADV_REMOVE KERNEL_MADV_REMOVE macro183 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()
15 #define MADV_REMOVE 9 macro
16 #define MADV_REMOVE 9 macro
50 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
56 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
49 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
82 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
95 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
4 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
40 case MADV_REMOVE: in madvise_need_mmap_write()692 case MADV_REMOVE: in madvise_vma()713 case MADV_REMOVE: in madvise_behavior_valid()
199 enable notifications about madvise(MADV_REMOVE) and
213 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE)) { in shmem_release_pages()