/external/valgrind/memcheck/tests/mips32/ |
fadvise64.c | 10 (void)posix_fadvise(x, 1, 2, POSIX_FADV_NORMAL); 11 (void)posix_fadvise(BAD_FD, x, 2, POSIX_FADV_NORMAL); 12 (void)posix_fadvise(BAD_FD, 1, x, POSIX_FADV_NORMAL); 13 (void)posix_fadvise(BAD_FD, 1, 2, x); 15 x = posix_fadvise(BAD_FD, 1, 2, POSIX_FADV_NORMAL);
|
/external/valgrind/memcheck/tests/mips64/ |
fadvise64.c | 10 (void)posix_fadvise(x, 1, 2, POSIX_FADV_NORMAL); 11 (void)posix_fadvise(BAD_FD, x, 2, POSIX_FADV_NORMAL); 12 (void)posix_fadvise(BAD_FD, 1, x, POSIX_FADV_NORMAL); 13 (void)posix_fadvise(BAD_FD, 1, 2, x); 15 x = posix_fadvise(BAD_FD, 1, 2, POSIX_FADV_NORMAL);
|
/external/libchrome/base/test/ |
test_file_util_linux.cc | 23 if (posix_fadvise(fd.get(), 0, 0, POSIX_FADV_DONTNEED) != 0)
|
/external/fio/ |
helpers.h | 13 extern int posix_fadvise(int fd, off_t offset, off_t len, int advice);
|
helpers.c | 36 int posix_fadvise(int fd, off_t offset, off_t len, int advice) function
|
configure | 751 if test "$posix_fadvise" != "yes" ; then 752 posix_fadvise="no" 759 int r = posix_fadvise(0, 0, 0, POSIX_FADV_NORMAL); 763 if compile_prog "" "" "posix_fadvise"; then 764 posix_fadvise="yes" 766 echo "POSIX fadvise $posix_fadvise" [all...] |
ioengines.c | 470 if (posix_fadvise(f->fd, f->file_offset, f->io_size, flags) < 0) { 480 if (posix_fadvise(f->fd, stream, f->io_size, POSIX_FADV_STREAMID) < 0) {
|
/bionic/libc/bionic/ |
posix_fadvise.cpp | 37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { function
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
fcntl.h | 211 extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, 215 extern int __REDIRECT_NTH (posix_fadvise, (int __fd, __off64_t __offset, 219 # define posix_fadvise posix_fadvise64 macro
|
/system/extras/tests/pagingtest/ |
pageinout_test.c | 50 posix_fadvise(fd, 0, file_size, POSIX_FADV_RANDOM); 73 posix_fadvise(fd, 0, file_size, POSIX_FADV_DONTNEED); 76 fprintf(stderr, "posix_fadvise/madvise DONTNEED failed\n");
|
thrashing_test.c | 52 posix_fadvise(fds[i], 0, filesize, POSIX_FADV_RANDOM);
|
pagingtest.c | 79 rc = posix_fadvise(fd, 0, size, POSIX_FADV_DONTNEED);
|
/external/ltp/testcases/kernel/syscalls/fadvise/ |
posix_fadvise01.c | 25 * Check the value that posix_fadvise returns for wrong ADVISE value. 89 in posix_fadvise. */ 93 tst_resm(TWARN, "fadvise64 which is used from posix_fadvise"); 117 TEST(posix_fadvise(fd, 0, 0, defined_advise[i]));
|
posix_fadvise03.c | 25 * Check the value that posix_fadvise returns for wrong ADVISE value. 125 in posix_fadvise. */ 129 tst_resm(TWARN, "fadvise64 which is used from posix_fadvise"); 158 TEST(posix_fadvise(fd, 0, 0, advise));
|
posix_fadvise02.c | 25 * Check the value that posix_fadvise returns for wrong file descriptor. 84 in posix_fadvise. */ 88 tst_resm(TWARN, "fadvise64 which is used from posix_fadvise"); 112 TEST(posix_fadvise
|
posix_fadvise04.c | 25 * Check the value that posix_fadvise returns for pipe descriptor. 83 in posix_fadvise. */ 87 tst_resm(TWARN, "fadvise64 which is used from posix_fadvise"); 118 TEST(posix_fadvise
|
/bionic/tests/ |
fcntl_test.cpp | 84 TEST(fcntl, posix_fadvise) { 88 EXPECT_EQ(EBADF, posix_fadvise(-1, 0, 0, POSIX_FADV_NORMAL)); 94 EXPECT_EQ(EINVAL, posix_fadvise(tf.fd, 0, 0, -1)); 100 EXPECT_EQ(0, posix_fadvise(tf.fd, 0, 0, POSIX_FADV_NORMAL));
|
/bionic/tests/headers/posix/ |
fcntl_h.c | 118 FUNCTION(posix_fadvise, int (*f)(int, off_t, off_t, int));
|
/bionic/libc/include/ |
fcntl.h | 84 int posix_fadvise(int __fd, off_t __offset, off_t __length, int __advice) __RENAME_IF_FILE_OFFSET64(posix_fadvise64) __INTRODUCED_IN(21);
|
/external/autotest/client/tests/linus_stress/ |
linus_stress.c | 61 posix_fadvise(fd, 0, SIZE, POSIX_FADV_DONTNEED);
|
/frameworks/av/media/mtp/ |
MtpFfsCompatHandle.cpp | 179 posix_fadvise(mfr.fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); 261 posix_fadvise(mfr.fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE);
|
/system/core/adb/ |
file_sync_service.cpp | 208 if (posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE | POSIX_FADV_WILLNEED) < 420 if (posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE) < 0) {
|
/system/extras/ioshark/ |
ioshark_bench_subr.c | 137 if (posix_fadvise(db_node->fd, 0, 0, 302 if (posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED) < 0) {
|
/external/e2fsprogs/misc/ |
e4defrag.c | 189 #define posix_fadvise posix_fadvise64 macro 191 #define posix_fadvise fadvise64 macro 193 #error posix_fadvise not available! 442 if (posix_fadvise(fd, offset, pagesize, fadvise_flag) < 0) { [all...] |
/external/f2fs-tools/lib/ |
libf2fs_io.c | 186 return posix_fadvise(fd, offset, len, POSIX_FADV_WILLNEED);
|