Home
last modified time | relevance | path

Searched refs:posix_fadvise (Results 1 – 25 of 44) sorted by relevance

12

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dbugprone-posix-return.cpp23 extern "C" int posix_fadvise(int fd, off_t offset, off_t len, int advice);
44 if (posix_fadvise(0, 0, 0, 0) < 0) {} in warningLessThanZero()
81 if (posix_fadvise(0, 0, 0, 0) >= 0) {} in warningAlwaysTrue()
97 if (posix_fadvise(0, 0, 0, 0) == -1) {} in warningEqualsNegative()
99 if (posix_fadvise(0, 0, 0, 0) != -1) {} in warningEqualsNegative()
101 if (posix_fadvise(0, 0, 0, 0) <= -1) {} in warningEqualsNegative()
103 if (posix_fadvise(0, 0, 0, 0) < -1) {} in warningEqualsNegative()
127 if (posix_fadvise(0, 0, 0, 0) < ZERO) {} in WarningWithMacro()
130 if (posix_fadvise(0, 0, 0, 0) >= ZERO) {} in WarningWithMacro()
132 if (posix_fadvise(0, 0, 0, 0) == NEGATIVE_ONE) {} in WarningWithMacro()
[all …]
/external/libchrome/base/test/
Dtest_file_util_linux.cc30 int posix_fadvise(int fd, off_t offset, off_t len, int advice) { in posix_fadvise() function
54 if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0) in EvictFileFromSystemCache()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dbugprone-posix-return.rst14 if (posix_fadvise(...) < 0) {
20 if (posix_fadvise(...) > 0) {
/external/ltp/testcases/kernel/syscalls/fadvise/
Dposix_fadvise01.c49 TEST(posix_fadvise(fd, 0, 0, defined_advise[n])); in verify_fadvise()
Dposix_fadvise04.c46 TEST(posix_fadvise in verify_fadvise()
Dposix_fadvise02.c46 TEST(posix_fadvise in verify_fadvise()
Dposix_fadvise03.c90 TEST(posix_fadvise(fd, 0, 0, n)); in verify_fadvise()
/external/rust/crates/nix/src/
Dfcntl.rs25 pub use self::posix_fadvise::*;
592 mod posix_fadvise { module
610 pub fn posix_fadvise( in posix_fadvise() function
616 let res = unsafe { libc::posix_fadvise(fd, offset, len, advice as libc::c_int) }; in posix_fadvise()
/external/elfutils/tests/
Dlfs-symbols57 posix_fadvise
/external/autotest/client/tests/linus_stress/
Dlinus_stress.c61 posix_fadvise(fd, 0, SIZE, POSIX_FADV_DONTNEED); in remap()
/external/rust/crates/nix/test/
Dtest_fcntl.rs348 let res = posix_fadvise(fd, 0, 100, PosixFadviseAdvice::POSIX_FADV_WILLNEED).unwrap(); in test_success()
356 let errno = posix_fadvise(rd as RawFd, 0, 100, PosixFadviseAdvice::POSIX_FADV_WILLNEED) in test_errno()
/external/e2fsprogs/misc/
De4defrag.c191 #define posix_fadvise posix_fadvise64 macro
193 #define posix_fadvise fadvise64 macro
195 #error posix_fadvise not available!
444 if ((errno = posix_fadvise(fd, offset, in defrag_fadvise()
/external/ltp/testcases/kernel/syscalls/readahead/
Dreadahead02.c65 errno = posix_fadvise(fd, offset, len, POSIX_FADV_WILLNEED); in fadvise_willneed()
/external/elfutils/src/
Dstrings.c575 (void) posix_fadvise (fd, 0, 0, POSIX_FADV_SEQUENTIAL); in read_block()
/external/compiler-rt/lib/dfsan/
Ddone_abilist.txt114 fun:posix_fadvise=discard
/external/f2fs-tools/lib/
Dlibf2fs_io.c544 return posix_fadvise(fd, offset, len, POSIX_FADV_WILLNEED); in dev_readahead()
/external/llvm-project/compiler-rt/lib/dfsan/
Ddone_abilist.txt148 fun:posix_fadvise=discard
/external/e2fsprogs/lib/ext2fs/
Dunix_io.c979 return posix_fadvise(data->dev, in unix_cache_readahead()
/external/rust/crates/libc/src/
Dwasi.rs595 pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advise: ::c_int) -> ::c_int; in posix_fadvise() function
/external/python/cpython3/Lib/test/
Dtest_posix.py424 posix.posix_fadvise(fd, 0, 0, posix.POSIX_FADV_WILLNEED)
432 posix.posix_fadvise(-42, 0, 0, posix.POSIX_FADV_WILLNEED)
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/
Dmod.rs1380 pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advise: ::c_int) -> ::c_int; in posix_fadvise() function
/external/ltp/runtest/
Dsyscalls193 #posix_fadvise test cases
/external/rust/crates/libc/src/unix/linux_like/
Dmod.rs1469 pub fn posix_fadvise(fd: ::c_int, offset: ::off_t, len: ::off_t, advise: ::c_int) -> ::c_int; in posix_fadvise() function
/external/e2fsprogs/lib/
Dconfig.h.in355 /* Define to 1 if you have the `posix_fadvise' function. */
/external/ImageMagick/config/
Dconfig.h.in366 /* Define to 1 if you have the `posix_fadvise' function. */

12