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

12

/freebsd-10.2-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-10.2-release/sys/vm/
H A Dpmap.h109 int advice);
H A Dvm_page.h429 void vm_page_advise(vm_page_t m, int advice);
H A Dvm_page.c2641 vm_page_advise(vm_page_t m, int advice) argument
2647 if (advice == MADV_FREE) {
2663 } else if (advice != MADV_DONTNEED)
2683 if (advice != MADV_FREE && m->dirty == 0 && pmap_is_modified(m))
/freebsd-10.2-release/sys/compat/linux/
H A Dlinux_file.c1538 convert_fadvice(int advice) argument
1540 switch (advice) {
1561 int advice; local
1563 advice = convert_fadvice(args->advice);
1564 if (advice == -1)
1567 advice));
1573 int advice; local
1575 advice = convert_fadvice(args->advice);
[all...]
/freebsd-10.2-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-10.2-release/sys/powerpc/powerpc/
H A Dpmap_dispatch.c94 pmap_advise(pmap_t pmap, vm_offset_t start, vm_offset_t end, int advice) argument
98 advice);
99 MMU_ADVISE(mmu_obj, pmap, start, end, advice);
/freebsd-10.2-release/sys/kern/
H A Dvfs_vnops.c756 int advice; local
768 advice = get_advice(fp, uio);
771 switch (advice) {
790 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
842 int advice; local
866 advice = get_advice(fp, uio);
876 switch (advice) {
897 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
H A Dvfs_syscalls.c4633 int advice)
4644 switch (advice) {
4679 switch (advice) {
4690 if (fa != NULL && fa->fa_advice == advice &&
4699 new->fa_advice = advice;
4743 error = VOP_ADVISE(vp, offset, end, advice);
4758 uap->len, uap->advice);
4632 kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len, int advice) argument
H A Dsystrace_args.c3266 iarg[3] = p->advice; /* int */
/freebsd-10.2-release/sys/sys/
H A Dsyscallsubr.h171 int advice);
/freebsd-10.2-release/sys/ia64/ia64/
H A Dpmap.c2372 * Apply the given advice to the specified range of addresses within the
2373 * given pmap. Depending on the advice, clear the referenced and/or
2377 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
2384 pmap, sva, eva, advice);
2400 if (advice == MADV_DONTNEED) {
/freebsd-10.2-release/sys/i386/xen/
H A Dpmap.c3942 * Apply the given advice to the specified range of addresses within the
3943 * given pmap. Depending on the advice, clear the referenced and/or
3947 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
3955 if (advice != MADV_DONTNEED && advice != MADV_FREE)
3976 if (advice == MADV_DONTNEED) {
3946 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.2-release/sys/mips/mips/
H A Dpmap.c2934 * Apply the given advice to the specified range of addresses within the
2935 * given pmap. Depending on the advice, clear the referenced and/or
2939 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
2947 if (advice != MADV_DONTNEED && advice != MADV_FREE)
2991 if (advice == MADV_DONTNEED) {
/freebsd-10.2-release/sys/arm/arm/
H A Dpmap-v6.c4878 * Apply the given advice to the specified range of addresses within the
4879 * given pmap. Depending on the advice, clear the referenced and/or
4883 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
4892 if (advice != MADV_DONTNEED && advice != MADV_FREE)
4958 if (advice == MADV_DONTNEED) {
/freebsd-10.2-release/sys/i386/linux/
H A Dlinux_proto.h760 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_args
843 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
H A Dlinux_systrace_args.c1728 iarg[3] = p->advice; /* int */
1883 iarg[3] = p->advice; /* int */
/freebsd-10.2-release/sys/compat/freebsd32/
H A Dfreebsd32_proto.h627 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:freebsd32_posix_fadvise_args
653 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:freebsd32_posix_fadvise_args
H A Dfreebsd32_systrace_args.c3137 iarg[6] = p->advice; /* int */
3175 iarg[5] = p->advice; /* int */
/freebsd-10.2-release/sys/amd64/linux32/
H A Dlinux32_proto.h760 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_args
843 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
H A Dlinux32_systrace_args.c1678 iarg[3] = p->advice; /* int */
1833 iarg[3] = p->advice; /* int */
/freebsd-10.2-release/sys/i386/i386/
H A Dpmap.c4924 * Apply the given advice to the specified range of addresses within the
4925 * given pmap. Depending on the advice, clear the referenced and/or
4929 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
4937 if (advice != MADV_DONTNEED && advice != MADV_FREE)
5000 if (advice == MADV_DONTNEED) {
4928 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.2-release/sys/amd64/amd64/
H A Dpmap.c5943 * Apply the given advice to the specified range of addresses within the
5944 * given pmap. Depending on the advice, clear the referenced and/or
5948 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
5959 if (advice != MADV_DONTNEED && advice != MADV_FREE)
6053 if (advice == MADV_DONTNEED) {
5947 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.2-release/sys/sparc64/sparc64/
H A Dpmap.c2152 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument

Completed in 597 milliseconds

12