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

12

/freebsd-10.3-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.3-release/sys/vm/
H A Dpmap.h109 int advice);
H A Dvm_page.h431 void vm_page_advise(vm_page_t m, int advice);
H A Dvm_page.c2634 vm_page_advise(vm_page_t m, int advice) argument
2639 if (advice == MADV_FREE)
2654 else if (advice != MADV_DONTNEED)
2663 if (advice != MADV_FREE && m->dirty == 0 && pmap_is_modified(m))
/freebsd-10.3-release/sys/compat/linux/
H A Dlinux_file.c1521 convert_fadvice(int advice) argument
1523 switch (advice) {
1544 int advice; local
1546 advice = convert_fadvice(args->advice);
1547 if (advice == -1)
1550 advice));
1557 int advice; local
1559 advice = convert_fadvice(args->advice);
[all...]
/freebsd-10.3-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.3-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.3-release/sys/kern/
H A Dvfs_vnops.c763 int advice; local
775 advice = get_advice(fp, uio);
778 switch (advice) {
797 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
849 int advice; local
873 advice = get_advice(fp, uio);
883 switch (advice) {
904 if (error == 0 && advice == POSIX_FADV_NOREUSE &&
H A Dvfs_syscalls.c4755 int advice)
4766 switch (advice) {
4801 switch (advice) {
4812 if (fa != NULL && fa->fa_advice == advice &&
4821 new->fa_advice = advice;
4865 error = VOP_ADVISE(vp, offset, end, advice);
4880 uap->len, uap->advice);
4754 kern_posix_fadvise(struct thread *td, int fd, off_t offset, off_t len, int advice) argument
/freebsd-10.3-release/sys/sys/
H A Dsyscallsubr.h178 int advice);
/freebsd-10.3-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.3-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.3-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.3-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.3-release/sys/i386/linux/
H A Dlinux_systrace_args.c1732 iarg[3] = p->advice; /* int */
1899 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
866 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
/freebsd-10.3-release/sys/amd64/linux32/
H A Dlinux32_systrace_args.c1682 iarg[3] = p->advice; /* int */
1849 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
862 char advice_l_[PADL_(int)]; int advice; char advice_r_[PADR_(int)]; member in struct:linux_fadvise64_64_args
/freebsd-10.3-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.3-release/sys/i386/i386/
H A Dpmap.c4949 * Apply the given advice to the specified range of addresses within the
4950 * given pmap. Depending on the advice, clear the referenced and/or
4954 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
4962 if (advice != MADV_DONTNEED && advice != MADV_FREE)
5025 if (advice == MADV_DONTNEED) {
4953 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.3-release/sys/amd64/amd64/
H A Dpmap.c5978 * Apply the given advice to the specified range of addresses within the
5979 * given pmap. Depending on the advice, clear the referenced and/or
5983 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice)
5994 if (advice != MADV_DONTNEED && advice != MADV_FREE)
6088 if (advice == MADV_DONTNEED) {
5982 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.3-release/sys/sparc64/sparc64/
H A Dpmap.c2159 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) argument
/freebsd-10.3-release/sys/amd64/linux/
H A Dlinux_systrace_args.c1628 iarg[3] = p->advice; /* int */

Completed in 483 milliseconds

12