/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_std_types_mr.c | 50 enum ib_uverbs_advise_mr_advice advice; in UVERBS_HANDLER() local 61 ret = uverbs_get_const(&advice, attrs, UVERBS_ATTR_ADVISE_MR_ADVICE); in UVERBS_HANDLER() 77 return ib_dev->advise_mr(pd, advice, flags, sg_list, num_sge, in UVERBS_HANDLER()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | memory.c | 590 static int ibv_madvise_range(void *base, size_t size, int advice) in ibv_madvise_range() argument 613 inc = advice == MADV_DONTFORK ? 1 : -1; in ibv_madvise_range() 644 advice); in ibv_madvise_range() 648 advice); in ibv_madvise_range() 657 advice = advice == MADV_DONTFORK ? in ibv_madvise_range()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/profile/ |
H A D | WindowsMMap.c | 116 int madvise(void *addr, size_t length, int advice) in madvise() argument 118 if (advice != MADV_DONTNEED) in madvise()
|
H A D | WindowsMMap.h | 76 int madvise(void *addr, size_t length, int advice);
|
/freebsd/sys/compat/linux/ |
H A D | linux_file.c | 1562 convert_fadvice(int advice) in convert_fadvice() argument 1564 switch (advice) { in convert_fadvice() 1586 int advice; in linux_fadvise64() local 1594 advice = convert_fadvice(args->advice); in linux_fadvise64() 1595 if (advice == -1) in linux_fadvise64() 1597 return (kern_posix_fadvise(td, args->fd, offset, args->len, advice)); in linux_fadvise64() 1605 int advice; in linux_fadvise64_64() local 1615 advice = convert_fadvice(args->advice); in linux_fadvise64_64() 1616 if (advice == -1) in linux_fadvise64_64() 1618 return (kern_posix_fadvise(td, args->fd, offset, len, advice)); in linux_fadvise64_64()
|
/freebsd/sys/vm/ |
H A D | vm_object.c | 1285 vm_object_advice_applies(vm_object_t object, int advice) in vm_object_advice_applies() argument 1290 if (advice != MADV_FREE) in vm_object_advice_applies() 1297 vm_object_madvise_freespace(vm_object_t object, int advice, vm_pindex_t pindex, in vm_object_madvise_freespace() argument 1301 if (advice == MADV_FREE) in vm_object_madvise_freespace() 1327 int advice) in vm_object_madvise() argument 1338 if (!vm_object_advice_applies(object, advice)) { in vm_object_madvise() 1360 vm_object_madvise_freespace(object, advice, in vm_object_madvise() 1369 vm_object_madvise_freespace(tobject, advice, in vm_object_madvise() 1384 if (!vm_object_advice_applies(tobject, advice)) in vm_object_madvise() 1407 if (advice == MADV_WILLNEED) { in vm_object_madvise() [all …]
|
H A D | pmap.h | 122 int advice);
|
H A D | vm_page.h | 609 void vm_page_advise(vm_page_t m, int advice);
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_solaris.cpp | 87 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument 88 return madvise((void *)addr, length, advice); in internal_madvise()
|
H A D | sanitizer_netbsd.cpp | 119 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument 121 return _REAL(madvise, (void *)addr, length, advice); in internal_madvise()
|
H A D | sanitizer_posix.h | 45 int internal_madvise(uptr addr, uptr length, int advice);
|
H A D | sanitizer_mac.cpp | 157 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument 158 return madvise((void *)addr, length, advice); in internal_madvise()
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 260 sysdecode_fadvice(int advice) in sysdecode_fadvice() argument 263 return (lookup_value(fadvisebehav, advice)); in sysdecode_fadvice() 486 sysdecode_madvice(int advice) in sysdecode_madvice() argument 489 return (lookup_value(madvisebehav, advice)); in sysdecode_madvice()
|
/freebsd/contrib/unbound/doc/ |
H A D | CREDITS | 13 Jakob Schlyter - for advice on secure settings, random numbers and blacklists.
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zpl_file.c | 713 zpl_fadvise(struct file *filp, loff_t offset, loff_t len, int advice) in zpl_fadvise() argument 730 switch (advice) { in zpl_fadvise() 735 error = generic_fadvise(filp, offset, len, advice); in zpl_fadvise()
|
/freebsd/contrib/ntp/ |
H A D | WHERE-TO-START | 21 configuration advice, program usage and miscellaneous information is
|
/freebsd/tests/sys/posixshm/ |
H A D | posixshm_test.c | 1508 largepage_madvise(char *addr, size_t sz, int advice, int error) in largepage_madvise() argument 1511 ATF_REQUIRE_MSG(madvise(addr, sz, advice) == 0, in largepage_madvise() 1512 "madvise(%zu, %d) failed; error=%d", sz, advice, errno); in largepage_madvise() 1514 ATF_REQUIRE_MSG(madvise(addr, sz, advice) != 0, in largepage_madvise() 1515 "madvise(%zu, %d) succeeded", sz, advice); in largepage_madvise() 1518 errno, sz, advice); in largepage_madvise()
|
/freebsd/sys/i386/i386/ |
H A D | pmap_base.c | 610 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) in pmap_advise() argument 613 pmap_methods_ptr->pm_advise(pmap, sva, eva, advice); in pmap_advise()
|
/freebsd/contrib/libfido2/windows/ |
H A D | build.ps1 | 31 & $Git -c advice.detachedHead=false clone --quiet --depth=1 ` in GitClone()
|
/freebsd/sys/kern/ |
H A D | vfs_vnops.c | 1077 int advice; in vn_read() local 1104 advice = get_advice(fp, uio); in vn_read() 1107 switch (advice) { in vn_read() 1126 if (error == 0 && advice == POSIX_FADV_NOREUSE && in vn_read() 1149 int advice; in vn_write() local 1174 advice = get_advice(fp, uio); in vn_write() 1177 switch (advice) { in vn_write() 1198 if (error == 0 && advice == POSIX_FADV_NOREUSE && in vn_write()
|
H A D | vfs_syscalls.c | 4771 int advice) in kern_posix_fadvise() argument 4781 AUDIT_ARG_VALUE(advice); in kern_posix_fadvise() 4782 switch (advice) { in kern_posix_fadvise() 4819 switch (advice) { in kern_posix_fadvise() 4830 if (fa != NULL && fa->fa_advice == advice && in kern_posix_fadvise() 4839 new->fa_advice = advice; in kern_posix_fadvise() 4881 error = VOP_ADVISE(vp, offset, end, advice); in kern_posix_fadvise() 4897 uap->advice); in sys_posix_fadvise()
|
/freebsd/sys/contrib/openzfs/config/ |
H A D | ax_compare_version.m4 | 68 # The author would like to acknowledge Guido Draheim whose advice about
|
/freebsd/crypto/openssl/ |
H A D | README.md | 163 potentially subject to such restrictions you should seek legal advice before
|
/freebsd/contrib/diff/ |
H A D | ABOUT-NLS | 25 Quick configuration advice 134 Special advice for Norwegian users: The language code for Norwegian
|
/freebsd/usr.bin/compress/doc/ |
H A D | NOTES | 68 ah yes -- i date myself when relaying out-of-date advice from elderly
|