Home
last modified time | relevance | path

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

/aosp12/system/extras/tests/pagingtest/
H A Dpageinout_test.c50 posix_fadvise(fd, 0, file_size, POSIX_FADV_RANDOM); in pageinout_test()
73 posix_fadvise(fd, 0, file_size, POSIX_FADV_DONTNEED); in pageinout_test()
H A Dthrashing_test.c52 posix_fadvise(fds[i], 0, filesize, POSIX_FADV_RANDOM); in thrashing_test()
H A Dpagingtest.c79 rc = posix_fadvise(fd, 0, size, POSIX_FADV_DONTNEED); in create_tmp_file()
/aosp12/bionic/tests/
H A Dfcntl_test.cpp83 TEST(fcntl, posix_fadvise) { in TEST() argument
87 EXPECT_EQ(EBADF, posix_fadvise(-1, 0, 0, POSIX_FADV_NORMAL)); in TEST()
93 EXPECT_EQ(EINVAL, posix_fadvise(tf.fd, 0, 0, -1)); in TEST()
99 EXPECT_EQ(0, posix_fadvise(tf.fd, 0, 0, POSIX_FADV_NORMAL)); in TEST()
/aosp12/bionic/libc/bionic/
H A Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise() function
/aosp12/frameworks/av/media/mtp/
H A DMtpFfsCompatHandle.cpp179 posix_fadvise(mfr.fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in receiveFile()
261 posix_fadvise(mfr.fd, 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in sendFile()
H A DMtpFfsHandle.cpp121 if (posix_fadvise(fd, 0, 0, in advise()
/aosp12/bionic/tests/headers/posix/
H A Dfcntl_h.c118 FUNCTION(posix_fadvise, int (*f)(int, off_t, off_t, int)); in fcntl_h()
/aosp12/bionic/libc/include/
H A Dfcntl.h211 int posix_fadvise(int __fd, off_t __offset, off_t __length, int __advice) __RENAME_IF_FILE_OFFSET64…
/aosp12/system/extras/ioshark/
H A Dioshark_bench_subr.c136 if (posix_fadvise(db_node->fd, 0, 0, in files_db_fsync_discard_files()
299 if ((errno = posix_fadvise(fd, 0, 0, POSIX_FADV_DONTNEED)) != 0) { in create_file()
/aosp12/packages/modules/adb/daemon/
H A Dfile_sync_service.cpp396 int rc = posix_fadvise(fd.get(), 0, 0, in handle_send_file()
641 int rc = posix_fadvise(fd.get(), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in recv_impl()
/aosp12/system/iorap/src/prefetcher/
H A Dsession.cc228 if (posix_fadvise(entry_fd, offset, length, POSIX_FADV_WILLNEED) != 0) { in ReadAhead()
/aosp12/bionic/libc/tools/
H A Dposix-2013.txt628 posix_fadvise
/aosp12/packages/modules/adb/client/
H A Dadb_install.cpp211 posix_fadvise(local_fd.get(), 0, 0, POSIX_FADV_SEQUENTIAL | POSIX_FADV_NOREUSE); in install_app_streamed()
/aosp12/bionic/docs/
H A Dstatus.md178 * <fcntl.h> `fallocate`, `posix_fadvise`, `posix_fallocate`, `splice`, `tee`, `vmsplice`.
/aosp12/system/core/init/
H A Dbuiltins.cpp920 if (posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED)) { in readahead_file()
/aosp12/bionic/libc/
H A DSYSCALLS.TXT185 # the POSIX functions don't set errno, and no architecture has posix_fadvise.
H A Dlibc.map.txt731 posix_fadvise; # introduced=21
H A DAndroid.bp1117 "bionic/posix_fadvise.cpp",
/aosp12/bionic/tools/versioner/platforms/
H A Dlibc.map.txt731 posix_fadvise; # introduced=21
/aosp12/packages/providers/MediaProvider/jni/
H A DFuseDaemon.cpp176 posix_fadvise(size->second, 0, 0, POSIX_FADV_DONTNEED); in RecordImpl()
/aosp12/bionic/benchmarks/linker_relocation/gen/
H A Dliblinker_reloc_bench_012.S1971 CALL(posix_fadvise)