Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/musl/src/mman/
Dposix_madvise.c5 int posix_madvise(void *addr, size_t len, int advice) in posix_madvise() argument
7 if (advice == MADV_DONTNEED) return 0; in posix_madvise()
8 return -__syscall(SYS_madvise, addr, len, advice); in posix_madvise()
Dmadvise.c4 int __madvise(void *addr, size_t len, int advice) in __madvise() argument
6 return syscall(SYS_madvise, addr, len, advice); in __madvise()
/third_party/musl/porting/liteos_a/user/src/mman/
Dposix_madvise.c6 int posix_madvise(void *addr, size_t len, int advice) in posix_madvise() argument
9 if (advice == MADV_DONTNEED) return 0; in posix_madvise()
10 return -__syscall(SYS_madvise, addr, len, advice); in posix_madvise()
/third_party/musl/src/fcntl/
Dposix_fadvise.c4 int posix_fadvise(int fd, off_t base, off_t len, int advice) in posix_fadvise() argument
10 return -__syscall(SYS_fadvise, fd, advice, in posix_fadvise()
14 __SYSCALL_LL_E(len), advice); in posix_fadvise()
/third_party/musl/porting/liteos_a/user/src/fcntl/
Dposix_fadvise.c6 int posix_fadvise(int fd, off_t base, off_t len, int advice) in posix_fadvise() argument
13 return -__syscall(SYS_fadvise, fd, advice, in posix_fadvise()
17 __SYSCALL_LL_E(len), advice); in posix_fadvise()
/third_party/rust/crates/rustix/src/backend/libc/mm/
Dsyscalls.rs21 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise()
26 if let Advice::LinuxDontNeed = advice { in madvise()
32 let err = unsafe { c::posix_madvise(addr, len, advice as c::c_int) }; in madvise()
44 if let Advice::DontNeed = advice { in madvise()
49 unsafe { ret(c::madvise(addr, len, advice as c::c_int)) } in madvise()
/third_party/rust/crates/rustix/src/mm/
Dmadvise.rs33 pub unsafe fn madvise(addr: *mut c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise()
34 backend::mm::syscalls::madvise(addr, len, advice) in madvise()
/third_party/rust/crates/rustix/src/fs/
Dfadvise.rs17 pub fn fadvise<Fd: AsFd>(fd: Fd, offset: u64, len: u64, advice: Advice) -> io::Result<()> { in fadvise()
18 backend::fs::syscalls::fadvise(fd.as_fd(), offset, len, advice) in fadvise()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise08.c154 static pid_t run_child(int advice) in run_child() argument
159 advice == MADV_DONTDUMP ? "MADV_DONTDUMP" : "MADV_DODUMP"; in run_child()
163 if (madvise(fmem, FMEMSIZE, advice) == -1) { in run_child()
Dmadvise02.c63 int advice; member
91 switch (tc->advice) { in tcases_filter()
177 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in advice_test()
Dmadvise01.c36 int advice; member
100 TEST(madvise(*(tc->addr), st.st_size, tc->advice)); in verify_madvise()
/third_party/rust/crates/rustix/src/backend/linux_raw/mm/
Dsyscalls.rs24 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise()
30 c_uint(advice as c::c_uint) in madvise()
/third_party/PyYAML/packaging/build/
Dlibyaml.sh7 git config --global advice.detachedHead false
/third_party/gstreamer/gst_libav/
DREADME.md22 The above recommendations are not legal advice, and you are responsible for
/third_party/rust/crates/rustix/src/backend/linux_raw/fs/
Dsyscalls.rs324 pub(crate) fn fadvise(fd: BorrowedFd<'_>, pos: u64, len: u64, advice: Advice) -> io::Result<()> { in fadvise()
332 advice, in fadvise()
346 advice, in fadvise()
365 advice in fadvise()
380 advice in fadvise()
390 advice in fadvise()
/third_party/rust/crates/nom/.github/
DISSUE_TEMPLATE.md5 nom, so following the advice here will make sure I will quickly understand
/third_party/mesa3d/include/CL/
Dcl_ext_intel.h673 cl_mem_advice_intel advice,
683 cl_mem_advice_intel advice,
/third_party/json/cmake/
Ddownload_test_data.cmake13 …COMMAND test -d json_test_data || ${GIT_EXECUTABLE} clone -c advice.detachedHead=false --branch v$…
/third_party/curl/docs/
DGOVERNANCE.md71 forward. Contributing could be to provide advice, debug a problem, file a bug
153 ### Merge advice
/third_party/gn/src/gn/
Dcommand_check.cc51 advice on fixing problems. Targets can also opt-out of checking, see
/third_party/python/Misc/NEWS.d/
D3.6.0a2.rst558 update_idletasks solution to four test files. Record this additional advice
568 Revise idle_test/README.txt with advice about avoiding tk warning messages
569 from tests. Apply advice to several IDLE tests.
/third_party/skia/site/docs/dev/contrib/
Dbazel.md21 start using `tag="..."` or `branch="..."` and then follow the advice of Bazel
/third_party/node/deps/uvwasi/include/
Duvwasi.h103 uvwasi_advice_t advice);
/third_party/skia/third_party/externals/angle2/include/CL/
Dcl_ext.h1567 cl_mem_advice_intel advice,
1577 cl_mem_advice_intel advice,
/third_party/rust/crates/rustix/src/backend/linux_raw/
Dconv.rs540 fn from(advice: crate::fs::Advice) -> Self { in from()
541 c_uint(advice as c::c_uint) in from()

123456