/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp04.c | 52 TEST(madvise(ret, thp_size, MADV_HUGEPAGE)); in alloc_zero_page() 108 madvise(write_thp, thp_size, MADV_DONTNEED); in thread_run() 130 madvise(write_thp, thp_size, MADV_DONTNEED); in run() 135 madvise(read_thp, thp_size, MADV_DONTNEED); in run()
|
D | thp03.c | 60 if (madvise(p + hugepage_size, page_size, MADV_MERGEABLE) == -1) { in thp_test()
|
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
D | madvise.c | 56 int ret = madvise(ptr, length, MADV_NORMAL); in madvise_0100() 81 int ret = madvise(ptr, errorlen, MADV_NORMAL); in madvise_0200()
|
D | test_src_functionalext_supplement_mman.gni | 15 "madvise",
|
/third_party/mesa3d/src/panfrost/drm-shim/ |
D | panfrost_noop.c | 108 struct drm_panfrost_madvise *madvise = arg; in pan_ioctl_madvise() local 110 madvise->retained = 1; in pan_ioctl_madvise()
|
/third_party/python/Lib/test/ |
D | test_mmap.py | 786 m.madvise(mmap.MADV_NORMAL, size) 788 m.madvise(mmap.MADV_NORMAL, -1) 790 m.madvise(mmap.MADV_NORMAL, 0, -1) 792 m.madvise(mmap.MADV_NORMAL, PAGESIZE, sys.maxsize) 793 self.assertEqual(m.madvise(mmap.MADV_NORMAL), None) 794 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE), None) 795 self.assertEqual(m.madvise(mmap.MADV_NORMAL, PAGESIZE, size), None) 796 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, 2), None) 797 self.assertEqual(m.madvise(mmap.MADV_NORMAL, 0, size), None)
|
/third_party/mesa3d/src/freedreno/drm/ |
D | freedreno_bo_cache.c | 169 if (bo->funcs->madvise(bo, true) <= 0) { in fd_bo_cache_alloc() 197 bo->funcs->madvise(bo, false); in fd_bo_cache_free()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise06.c | 197 TEST(madvise(target, MEM_LIMIT, MADV_WILLNEED)); in test_advice_willneed() 217 TEST(madvise(target, PASS_THRESHOLD, MADV_WILLNEED)); in test_advice_willneed()
|
D | madvise05.c | 34 TEST(madvise(p, ALLOC_SIZE, MADV_WILLNEED)); in verify_madvise()
|
D | madvise07.c | 55 if (madvise(mem, msize, MADV_HWPOISON) == -1) { in run_child()
|
/third_party/libdrm/freedreno/ |
D | freedreno_bo_cache.c | 177 if (bo->funcs->madvise(bo, TRUE) <= 0) { in fd_bo_cache_alloc() 202 bo->funcs->madvise(bo, FALSE); in fd_bo_cache_free()
|
/third_party/musl/src/mman/ |
D | madvise.c | 9 weak_alias(__madvise, madvise);
|
/third_party/ltp/testcases/kernel/mce-test/tsrc/ |
D | ttranshuge.c | 177 return madvise((void *)madvise_addr, madvise_size, MADV_HUGEPAGE); in request_thp_with_madvise() 252 if (madvise((void *)corrupt_page_addr, DEFAULT_PS, MADV_POISON) != 0) { in do_injection()
|
D | tkillpoison.c | 15 madvise(ptr, PS, MADV_POISON); in main()
|
D | tsoft.c | 23 if (madvise(map, PS, MADV_SOFT_OFFLINE) < 0) in main()
|
D | tprctl.c | 51 if (madvise(ptr, PS, MADV_POISON) < 0) in test()
|
/third_party/pulseaudio/src/pulsecore/ |
D | shm.c | 331 if (madvise(ptr, size, MADV_REMOVE) >= 0) in pa_shm_punch() 336 if (madvise(ptr, size, MADV_FREE) >= 0) in pa_shm_punch() 341 madvise(ptr, size, MADV_DONTNEED); in pa_shm_punch()
|
/third_party/ltp/testcases/kernel/security/dirtyc0w/ |
D | dirtyc0w_child.c | 42 c += madvise(map, 100, MADV_DONTNEED); in madvise_thread()
|
/third_party/ltp/testcases/kernel/mem/ksm/ |
D | ksm05.c | 70 if (madvise(ptr, ps, MADV_MERGEABLE) < 0) in test_ksm()
|
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/ |
D | README | 5 error to various pages simultaneously thru madvise syscall. Then it checks
|
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/ |
D | mman.h | 129 int madvise (void *, size_t, int);
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
D | mman.h | 135 int madvise (void *, size_t, int);
|
/third_party/musl/ndk_musl_include/sys/ |
D | mman.h | 135 int madvise (void *, size_t, int);
|
/third_party/musl/porting/liteos_a/kernel/include/sys/ |
D | mman.h | 138 int madvise (void *, size_t, int);
|
/third_party/musl/include/sys/ |
D | mman.h | 135 int madvise (void *, size_t, int);
|