Searched defs:advice (Results 1 - 6 of 6) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Ddirectio.c40 directio(int fildes, int advice) argument
42 return (ioctl(fildes, _FIODIRECTIO, advice));
H A Dmadvise.c38 madvise(caddr_t addr, size_t len, int advice) argument
40 return (memcntl(addr, len, MC_ADVISE, (caddr_t)(intptr_t)advice, 0, 0));
H A Dposix_madvise.c43 posix_madvise(void *addr, size_t len, int advice) argument
45 switch (advice) {
55 if (madvise(addr, len, advice) == 0)
H A Dposix_fadvise.c44 * the kernel to optimize I/O operations based on the given advice.
49 posix_fadvise(int fd, off_t offset, off_t len, int advice) argument
53 switch (advice) {
77 posix_fadvise64(int fd, off64_t offset, off64_t len, int advice) argument
81 switch (advice) {
/osnet-11/usr/src/lib/libc/port/sys/
H A Dshmsys.c112 shmadv(int shmid, uint_t cmd, uint_t *advice) argument
114 return (syscall(SYS_shmsys, SHMADV, shmid, cmd, advice));
/osnet-11/usr/src/lib/madv/common/
H A Dmadv.c94 * advice options
308 int advice = 0; local
314 "%s: invalid advice option (%s)"
320 "%s: option missing advice"
325 advice = strtoadv(value);
326 if (advice < 0) {
328 "%s: invalid advice specified (%s)"
335 advice_all = advice;
339 advice_heap = advice;
342 "%s: duplicate advice specifie
446 int advice; local
674 int advice = -1; local
728 int advice = -1; local
780 int advice = -1; local
[all...]

Completed in 33 milliseconds