Searched refs:MADV_REMOVE (Results 1 - 15 of 15) sorted by relevance

/linux-master/arch/um/include/shared/
H A Dcommon-offsets.h5 DEFINE(KERNEL_MADV_REMOVE, MADV_REMOVE);
/linux-master/tools/arch/alpha/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux-master/tools/arch/mips/include/uapi/asm/
H A Dmman.h16 #define MADV_REMOVE 9 macro
/linux-master/tools/arch/xtensa/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux-master/include/uapi/asm-generic/
H A Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/tools/include/uapi/asm-generic/
H A Dmman-common.h53 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/tools/arch/parisc/include/uapi/asm/
H A Dmman.h15 #define MADV_REMOVE 9 macro
/linux-master/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);
194 printk(UM_KERN_INFO "Checking host MADV_REMOVE support...");
210 if (madvise(addr, UM_KERN_PAGE_SIZE, MADV_REMOVE) != 0) {
211 printk(UM_KERN_ERR "MADV_REMOVE failed, err = %d\n", -errno);
/linux-master/arch/alpha/include/uapi/asm/
H A Dmman.h54 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/arch/xtensa/include/uapi/asm/
H A Dmman.h89 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/arch/parisc/include/uapi/asm/
H A Dmman.h48 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/arch/mips/include/uapi/asm/
H A Dmman.h80 #define MADV_REMOVE 9 /* remove these pages & resources */ macro
/linux-master/tools/testing/selftests/mm/
H A Dhugetlb-madvise.c5 * Basic functional testing of madvise MADV_DONTNEED and MADV_REMOVE
286 * Test MADV_REMOVE on shared mapping of hugetlb file
290 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) {
298 * Test MADV_REMOVE on shared and private mapping of hugetlb file
357 if (madvise(addr, NR_HUGE_PAGES * huge_page_size, MADV_REMOVE)) {
H A Duffd-common.c70 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE))
71 err("madvise(MADV_REMOVE) failed");
121 if (madvise(rel_area, nr_pages * page_size, MADV_REMOVE))
122 err("madvise(MADV_REMOVE) failed");
/linux-master/mm/
H A Dmadvise.c53 case MADV_REMOVE:
1012 case MADV_REMOVE:
1152 case MADV_REMOVE:
1338 * MADV_REMOVE - the application wants to free up the given range of

Completed in 159 milliseconds