/third_party/musl/libc-test/src/functionalext/supplement/fcntl/ |
H A D | posix_fadvise.c | 49 int ret = posix_fadvise(fd, 0, TEST_LEN, flags[i]); in posix_fadvise_0100() 75 int ret = posix_fadvise(fd, 0, -1, POSIX_FADV_NORMAL); in posix_fadvise_0200() 100 int ret = posix_fadvise(fd, -1, TEST_LEN, POSIX_FADV_NORMAL); in posix_fadvise_0300() 113 int ret = posix_fadvise(-1, 0, TEST_LEN, POSIX_FADV_NORMAL); in posix_fadvise_0400() 136 int ret = posix_fadvise(fd, 0, TEST_LEN, -1); in posix_fadvise_0500()
|
/third_party/musl/src/fcntl/ |
H A D | posix_fadvise.c | 5 int posix_fadvise(int fd, off_t base, off_t len, int advice) in posix_fadvise() function 20 weak_alias(posix_fadvise, posix_fadvise64);
|
/third_party/musl/porting/liteos_a/user/src/fcntl/ |
H A D | posix_fadvise.c | 6 int posix_fadvise(int fd, off_t base, off_t len, int advice) in posix_fadvise() function 21 weak_alias(posix_fadvise, posix_fadvise64);
|
/third_party/musl/porting/linux/user/include/ |
H A D | fcntl.h | 37 int posix_fadvise(int, off_t, off_t, int); 208 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
H A D | fcntl.h | 36 int posix_fadvise(int, off_t, off_t, int); 207 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/porting/liteos_m/kernel/include/ |
H A D | fcntl.h | 36 int posix_fadvise(int, off_t, off_t, int); 207 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/porting/uniproton/kernel/include/ |
H A D | fcntl.h | 36 int posix_fadvise(int, off_t, off_t, int); 207 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/porting/liteos_a/kernel/include/ |
H A D | fcntl.h | 37 int posix_fadvise(int, off_t, off_t, int); 199 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/porting/liteos_m/user/include/ |
H A D | fcntl.h | 36 int posix_fadvise(int, off_t, off_t, int); 207 #define posix_fadvise64 posix_fadvise
|
/third_party/musl/include/ |
H A D | fcntl.h | 39 int posix_fadvise(int, off_t, off_t, int); 210 #define posix_fadvise64 posix_fadvise
|
/third_party/rust/crates/nix/src/ |
H A D | fcntl.rs | 24 pub use self::posix_fadvise::{posix_fadvise, PosixFadviseAdvice}; 826 mod posix_fadvise { modules 848 pub fn posix_fadvise( in posix_fadvise() functions 854 let res = unsafe { libc::posix_fadvise(fd, offset, len, advice as libc::c_int) }; in posix_fadvise()
|
/third_party/ltp/testcases/kernel/syscalls/fadvise/ |
H A D | posix_fadvise04.c | 11 * Check the value that posix_fadvise returns for pipe descriptor. 46 TEST(posix_fadvise in verify_fadvise()
|
H A D | posix_fadvise01.c | 11 * Check the value that posix_fadvise returns for wrong ADVISE value. 49 TEST(posix_fadvise(fd, 0, 0, defined_advise[n])); in verify_fadvise()
|
H A D | posix_fadvise02.c | 11 * Check the value that posix_fadvise returns for wrong file descriptor. 46 TEST(posix_fadvise in verify_fadvise()
|
H A D | posix_fadvise03.c | 11 * Check the value that posix_fadvise returns for wrong ADVISE value. 90 TEST(posix_fadvise(fd, 0, 0, n)); in verify_fadvise()
|
/third_party/ltp/testcases/kernel/syscalls/mincore/ |
H A D | mincore04.c | 51 ret = posix_fadvise(fd, 0, size, POSIX_FADV_DONTNEED); in setup()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | sound-file-stream.c | 258 /* FIXME: For now we just use posix_fadvise to avoid page faults in pa_play_file() 264 if (posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL) < 0) { in pa_play_file() 270 if (posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED) < 0) { in pa_play_file()
|
H A D | sound-file.c | 68 if (posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL) < 0) { in pa_sound_file_load()
|
/third_party/exfatprogs/lib/ |
H A D | exfat_dir.c | 72 return posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_first_blocks() 110 ret = posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_next_blocks() 122 ret = posix_fadvise(exfat->blk_dev->dev_fd, in read_ahead_next_blocks() 153 return posix_fadvise(exfat->blk_dev->dev_fd, offset, in read_ahead_next_dir_blocks()
|
/third_party/ltp/testcases/kernel/controllers/io/ |
H A D | io_control01.c | 86 TST_EXP_PASS_SILENT(posix_fadvise(fd, pgsz * i, pgsz, POSIX_FADV_DONTNEED)); in run()
|
/third_party/musl/libc-test/src/api/ |
H A D | fcntl.c | 90 {int(*p)(int,off_t,off_t,int) = posix_fadvise;} in f()
|
/third_party/rust/crates/nix/test/ |
H A D | test_fcntl.rs | 495 posix_fadvise(fd, 0, 100, PosixFadviseAdvice::POSIX_FADV_WILLNEED) in test_success() 496 .expect("posix_fadvise failed"); in test_success() 502 let res = posix_fadvise( in test_errno()
|
/third_party/ltp/testcases/kernel/syscalls/readahead/ |
H A D | readahead02.c | 62 errno = posix_fadvise(fd, offset, len, POSIX_FADV_WILLNEED); in fadvise_willneed() 63 /* posix_fadvise returns error number (not in errno) */ in fadvise_willneed()
|
/third_party/elfutils/src/ |
H A D | strings.c | 573 (void) posix_fadvise (fd, 0, 0, POSIX_FADV_SEQUENTIAL); in read_block()
|
/third_party/rust/crates/rustix/src/backend/libc/ |
H A D | offset.rs | 197 pub(super) use c::posix_fadvise as libc_posix_fadvise;
|