Searched refs:advice (Results 1 - 25 of 34) sorted by relevance

12

/freebsd-11.0-release/sys/compat/cloudabi/
H A Dcloudabi_file.c106 int advice; local
108 switch (uap->advice) {
110 advice = POSIX_FADV_DONTNEED;
113 advice = POSIX_FADV_NOREUSE;
116 advice = POSIX_FADV_NORMAL;
119 advice = POSIX_FADV_RANDOM;
122 advice = POSIX_FADV_SEQUENTIAL;
125 advice = POSIX_FADV_WILLNEED;
131 return (kern_posix_fadvise(td, uap->fd, uap->offset, uap->len, advice));
H A Dcloudabi_mem.c70 switch (uap->advice) {
/freebsd-11.0-release/contrib/ofed/libibverbs/src/
H A Dmemory.c534 static int ibv_madvise_range(void *base, size_t size, int advice) argument
551 inc = advice == MADV_DONTFORK ? 1 : -1;
582 advice);
586 advice);
595 advice = advice == MADV_DONTFORK ?
/freebsd-11.0-release/sys/vm/
H A Dpmap.h109 int advice);
H A Dvm_page.h448 void vm_page_advise(vm_page_t m, int advice);
H A Dvm_page.c3381 vm_page_advise(vm_page_t m, int advice) argument
3386 if (advice == MADV_FREE)
3401 else if (advice != MADV_DONTNEED)
3410 if (advice != MADV_FREE && m->dirty == 0 && pmap_is_modified(m))
/freebsd-11.0-release/sys/compat/linux/
H A Dlinux_file.c1519 convert_fadvice(int advice) argument
1521 switch (advice) {
1542 int advice; local
1544 advice = convert_fadvice(args->advice);
1545 if (advice == -1)
1548 advice));
1555 int advice; local
1557 advice = convert_fadvice(args->advice);
[all...]
/freebsd-11.0-release/gnu/usr.bin/rcs/lib/
H A Drcsbase.h606 # define if_advise_access(p,f,advice) if (p) advise_access(f,advice)
608 # define advise_access(f,advice)
609 # define if_advise_access(p,f,advice)
H A Drcslex.c1093 advise_access(f, advice)
1095 int advice;
1098 VOID madvise((char *)f->base, (size_t)(f->lim - f->base), advice);
/freebsd-11.0-release/sys/powerpc/powerpc/
H A Dpmap_dispatch.c98 pmap_advise(pmap_t pmap, vm_offset_t start, vm_offset_t end, int advice) argument
102 advice);
103 MMU_ADVISE(mmu_obj, pmap, start, end, advice);
/freebsd-11.0-release/sys/compat/cloudabi64/
H A Dcloudabi64_systrace_args.c158 iarg[3] = p->advice; /* cloudabi_advice_t */
309 iarg[2] = p->advice; /* cloudabi_advice_t */
H A Dcloudabi64_proto.h111 char advice_l_[PADL_(cloudabi_advice_t)]; cloudabi_advice_t advice; char advice_r_[PADR_(cloudabi_advice_t)]; member in struct:cloudabi_sys_file_advise_args
202 char advice_l_[PADL_(cloudabi_advice_t)]; cloudabi_advice_t advice; char advice_r_[PADR_(cloudabi_advice_t)]; member in struct:cloudabi_sys_mem_advise_args
/freebsd-11.0-release/sys/kern/
H A Dvfs_vnops.c774 int advice; local
785 advice = get_advice(fp, uio);
788 switch (advice) {
807 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
834 int advice; local
857 advice = get_advice(fp, uio);
867 switch (advice) {
888 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
H A Dvfs_syscalls.c4541 int advice)
4552 switch (advice) {
4587 switch (advice) {
4598 if (fa != NULL && fa->fa_advice == advice &&
4607 new->fa_advice = advice;
4649 error = VOP_ADVISE(vp, offset, end, advice);
4665 uap->advice);
4540 kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len, int advice) argument
/freebsd-11.0-release/sys/sys/
H A Dsyscallsubr.h163 int advice);
/freebsd-11.0-release/sys/mips/mips/
H A Dpmap.c3015 * Apply the given advice to the specified range of addresses within the
3016 * given pmap. Depending on the advice, clear the referenced and/or
3020 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
3028 if (advice != MADV_DONTNEED && advice != MADV_FREE)
3072 if (advice == MADV_DONTNEED) {
/freebsd-11.0-release/sys/i386/linux/
H A Dlinux_systrace_args.c1732 iarg[3] = p->advice; /* int */
1903 iarg[3] = p->advice; /* int */
H A Dlinux_proto.h777 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_args
868 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
/freebsd-11.0-release/sys/amd64/linux32/
H A Dlinux32_systrace_args.c1682 iarg[3] = p->advice; /* int */
1853 iarg[3] = p->advice; /* int */
H A Dlinux32_proto.h773 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_args
864 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
/freebsd-11.0-release/sys/compat/freebsd32/
H A Dfreebsd32_proto.h608 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:freebsd32_posix_fadvise_args
634 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:freebsd32_posix_fadvise_args
H A Dfreebsd32_systrace_args.c3094 iarg[6] = p->advice; /* int */
3132 iarg[5] = p->advice; /* int */
/freebsd-11.0-release/sys/i386/i386/
H A Dpmap.c4900 * Apply the given advice to the specified range of addresses within the
4901 * given pmap. Depending on the advice, clear the referenced and/or
4905 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
4913 if (advice != MADV_DONTNEED && advice != MADV_FREE)
4976 if (advice == MADV_DONTNEED) {
4904 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-11.0-release/sys/arm/arm/
H A Dpmap-v6.c5447 * Apply the given advice to the specified range of addresses within the
5448 * given pmap. Depending on the advice, clear the referenced and/or
5452 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
5460 if (advice != MADV_DONTNEED && advice != MADV_FREE)
5519 if (advice == MADV_DONTNEED) {
/freebsd-11.0-release/sys/amd64/amd64/
H A Dpmap.c6043 * Apply the given advice to the specified range of addresses within the
6044 * given pmap. Depending on the advice, clear the referenced and/or
6048 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
6059 if (advice != MADV_DONTNEED && advice != MADV_FREE)
6141 if (advice == MADV_DONTNEED) {
6047 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument

Completed in 479 milliseconds

12