Home
last modified time | relevance | path

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

/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_posix_fadvise.c76 ATF_TC(posix_fadvise);
77 ATF_TC_HEAD(posix_fadvise, tc) in ATF_TC_HEAD() argument
89 ATF_TC_BODY(posix_fadvise, tc) in ATF_TC_BODY() argument
117 CE(posix_fadvise(fd, 0, 0, -1), EINVAL); in ATF_TC_BODY()
118 CE(posix_fadvise(pipe_fds[0], 0, 0, POSIX_FADV_NORMAL), ESPIPE); in ATF_TC_BODY()
119 CE(posix_fadvise(badfd, 0, 0, POSIX_FADV_NORMAL), EBADF); in ATF_TC_BODY()
120 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_NORMAL), 0); in ATF_TC_BODY()
121 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_SEQUENTIAL), 0); in ATF_TC_BODY()
122 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_RANDOM), 0); in ATF_TC_BODY()
123 CE(posix_fadvise(fd, 0, 0, POSIX_FADV_WILLNEED), 0); in ATF_TC_BODY()
[all …]
/freebsd/tools/test/stress2/misc/
H A Dposix_fadvise.sh35 sed '1,/^EOF/d' < $odir/$0 > posix_fadvise.c
36 mycc -o posix_fadvise -Wall -Wextra -O2 -g posix_fadvise.c
39 /tmp/posix_fadvise
46 rm -f /tmp/posix_fadvise posix_fadvise.c
67 if (posix_fadvise(fd, offset, len, advise) == -1)
H A Dposix_fadvise3.sh102 if (posix_fadvise(fd, offset, len, advise) == -1)
114 if (posix_fadvise(fd, offset, len, advise) == -1)
H A Dposix_fadvise2.sh70 if ((r = posix_fadvise(fd, 0x1e9cda7a9ada8319,
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/
H A Dfile_fadvise.c92 if (posix_fadvise(fd, 0, 0, advise) != 0) { in main()
/freebsd/sys/sys/
H A Dfcntl.h387 int posix_fadvise(int, off_t, off_t, int);
H A Dsyscall.mk379 posix_fadvise.o \
/freebsd/lib/libsys/
H A DSymbol.sys.map330 posix_fadvise;
H A DMakefile.sys283 posix_fadvise.2 \
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddone_abilist.txt194 fun:posix_fadvise=discard
H A Dlibc_ubuntu1404_abilist.txt2487 fun:posix_fadvise=uninstrumented
/freebsd/tests/sys/file/
H A Dpath_test.c744 error = posix_fadvise(pathfd, 0, sizeof(buf), POSIX_FADV_NORMAL); in ATF_TC_BODY()
/freebsd/contrib/openbsm/etc/
H A Daudit_event599 43239:AUE_POSIX_FADVISE:posix_fadvise(2):no
/freebsd/contrib/openbsm/
H A DNEWS13 posix_fallocate(2) and posix_fadvise(2).
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscalls_netbsd.inc2863 PRE_SYSCALL(posix_fadvise)(long long) { /* Nothing to do */ }
2864 POST_SYSCALL(posix_fadvise)(long long res, long long) { /* Nothing to do */ }