Home
last modified time | relevance | path

Searched refs:posix_madvise (Results 1 - 25 of 28) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/mman/
H A Dposix_madvise.c56 EXPECT_EQ("posix_madvise_0100", posix_madvise(ptr, length, MADV_NORMAL), CMPFLAG); in posix_madvise_0100()
78 int ret = posix_madvise(ptr, errorlen, MADV_NORMAL); in posix_madvise_0200()
96 int ret = posix_madvise(ptr, len, MADV_DONTNEED); in posix_madvise_0300()
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sys/mman_h/
H A D19-1-buildonly.c11 * int posix_madvise(void *, size_t, int)
24 dummyvar = posix_madvise; in dummyfcn()
/third_party/musl/src/mman/
H A Dposix_madvise.c6 int posix_madvise(void *addr, size_t len, int advice) in posix_madvise() function
/third_party/musl/porting/liteos_a/user/src/mman/
H A Dposix_madvise.c6 int posix_madvise(void *addr, size_t len, int advice) in posix_madvise() function
/third_party/musl/libc-test/src/api/
H A Dsys_mman.c56 {int(*p)(void*,size_t,int) = posix_madvise;} in f()
/third_party/rust/crates/rustix/src/backend/libc/mm/
H A Dsyscalls.rs32 let err = unsafe { c::posix_madvise(addr, len, advice as c::c_int) };
34 // `posix_madvise` returns its error status rather than using `errno`.
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dmman.h116 int posix_madvise (void *, size_t, int);
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dmman.h120 int posix_madvise (void *, size_t, int);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dmman.h120 int posix_madvise (void *, size_t, int);
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dmman.h125 int posix_madvise (void *, size_t, int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dmman.h120 int posix_madvise (void *, size_t, int);
/third_party/musl/include/sys/
H A Dmman.h122 int posix_madvise (void *, size_t, int);
/third_party/elfutils/src/
H A Dranlib.c127 posix_madvise (rawfile + (off & ~(ps - 1)), n, POSIX_MADV_SEQUENTIAL); in copy_content()
H A Dstrings.c480 (void) posix_madvise (mem, map_size, POSIX_MADV_SEQUENTIAL); in map_file()
H A Dar.c433 posix_madvise (rawfile + (off & ~(ps - 1)), n, POSIX_MADV_SEQUENTIAL); in copy_content()
/third_party/icu/icu4c/source/common/
H A Dumapfile.cpp253 posix_madvise(data, length, POSIX_MADV_RANDOM); in uprv_mapFile()
/third_party/node/deps/icu-small/source/common/
H A Dumapfile.cpp253 posix_madvise(data, length, POSIX_MADV_RANDOM); in uprv_mapFile()
/third_party/pcre2/pcre2/src/sljit/
H A DsljitUtils.c330 posix_madvise((void*)aligned_old_start, aligned_new_start - aligned_old_start, POSIX_MADV_DONTNEED); in sljit_stack_resize()
/third_party/skia/third_party/externals/icu/source/common/
H A Dumapfile.cpp253 posix_madvise(data, length, POSIX_MADV_RANDOM); in uprv_mapFile()
/third_party/pulseaudio/src/pulsecore/
H A Dshm.c352 posix_madvise(ptr, size, POSIX_MADV_DONTNEED); in pa_shm_punch()
H A Dcore-util.c2659 if ((r = posix_madvise((void*) a, size, POSIX_MADV_WILLNEED)) == 0) { in pa_will_need()
2660 pa_log_debug("posix_madvise() worked fine!"); in pa_will_need()
2676 pa_log_debug("posix_madvise() failed (or doesn't exist), resource limits don't allow mlock(), can't page in data: %s", pa_cstrerror(r)); in pa_will_need()
2686 pa_log_debug("posix_madvise() failed (or doesn't exist), trying mlock(): %s", pa_cstrerror(r)); in pa_will_need()
/third_party/rust/crates/libc/src/unix/bsd/
H A Dmod.rs672 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise() functions
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1838 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise() functions
/third_party/rust/crates/libc/src/unix/haiku/
H A Dmod.rs1714 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise() functions
/third_party/rust/crates/libc/src/unix/nto/
H A Dmod.rs2792 pub fn posix_madvise(addr: *mut ::c_void, len: ::size_t, advice: ::c_int) -> ::c_int; in posix_madvise() functions

Completed in 37 milliseconds

12