/freebsd-11.0-release/sys/compat/cloudabi/ |
H A D | cloudabi_file.c | 106 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 D | cloudabi_mem.c | 70 switch (uap->advice) {
|
/freebsd-11.0-release/contrib/ofed/libibverbs/src/ |
H A D | memory.c | 534 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 D | pmap.h | 109 int advice);
|
H A D | vm_page.h | 448 void vm_page_advise(vm_page_t m, int advice);
|
H A D | vm_page.c | 3381 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 D | linux_file.c | 1519 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 D | rcsbase.h | 606 # 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 D | rcslex.c | 1093 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 D | pmap_dispatch.c | 98 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 D | cloudabi64_systrace_args.c | 158 iarg[3] = p->advice; /* cloudabi_advice_t */ 309 iarg[2] = p->advice; /* cloudabi_advice_t */
|
H A D | cloudabi64_proto.h | 111 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 D | vfs_vnops.c | 774 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 D | vfs_syscalls.c | 4541 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 D | syscallsubr.h | 163 int advice);
|
/freebsd-11.0-release/sys/mips/mips/ |
H A D | pmap.c | 3015 * 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 D | linux_systrace_args.c | 1732 iarg[3] = p->advice; /* int */ 1903 iarg[3] = p->advice; /* int */
|
H A D | linux_proto.h | 777 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 D | linux32_systrace_args.c | 1682 iarg[3] = p->advice; /* int */ 1853 iarg[3] = p->advice; /* int */
|
H A D | linux32_proto.h | 773 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 D | freebsd32_proto.h | 608 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 D | freebsd32_systrace_args.c | 3094 iarg[6] = p->advice; /* int */ 3132 iarg[5] = p->advice; /* int */
|
/freebsd-11.0-release/sys/i386/i386/ |
H A D | pmap.c | 4900 * 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 D | pmap-v6.c | 5447 * 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 D | pmap.c | 6043 * 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
|