Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 2 of 2) sorted by relevance

/bionic/libc/bionic/
Dposix_fadvise.cpp37 int posix_fadvise(int fd, off_t offset, off_t length, int advice) { in posix_fadvise() argument
38 return posix_fadvise64(fd, offset, length, advice); in posix_fadvise()
42 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument
44 return (__arm_fadvise64_64(fd, advice, offset, length) == 0) ? 0 : errno; in posix_fadvise64()
47 int posix_fadvise64(int fd, off64_t offset, off64_t length, int advice) { in posix_fadvise64() argument
49 return (__fadvise64(fd, offset, length, advice) == 0) ? 0 : errno; in posix_fadvise64()
Dposix_madvise.cpp34 int posix_madvise(void* addr, size_t len, int advice) { in posix_madvise() argument
38 if (advice == POSIX_MADV_DONTNEED) { in posix_madvise()
41 return (madvise(addr, len, advice) == 0 ? 0 : errno); in posix_madvise()