| /freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/file/ |
| H A D | file_fadvise.c | 70 int advice = POSIX_FADV_NORMAL; in main() local 77 advice = -1; in main() 80 advice = p->value; in main() 98 if (advice == -1) { in main() 113 if (posix_fadvise(fd, 0, 0, advice) != 0) { in main()
|
| /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/vm/ |
| H A D | vm_object.c | 1267 vm_object_advice_applies(vm_object_t object, int advice) in vm_object_advice_applies() argument 1272 if (advice != MADV_FREE) in vm_object_advice_applies() 1279 vm_object_madvise_freespace(vm_object_t object, int advice, vm_pindex_t pindex, in vm_object_madvise_freespace() argument 1283 if (advice == MADV_FREE) in vm_object_madvise_freespace() 1309 int advice) in vm_object_madvise() argument 1322 if (!vm_object_advice_applies(object, advice)) { in vm_object_madvise() 1345 vm_object_madvise_freespace(object, advice, in vm_object_madvise() 1354 vm_object_madvise_freespace(tobject, advice, in vm_object_madvise() 1369 if (!vm_object_advice_applies(tobject, advice)) in vm_object_madvise() 1392 if (advice == MADV_WILLNEED) { in vm_object_madvise() [all …]
|
| H A D | pmap.h | 123 int advice);
|
| /freebsd/sys/compat/linux/ |
| H A D | linux_file.c | 1625 convert_fadvice(int advice) in convert_fadvice() argument 1627 switch (advice) { in convert_fadvice() 1649 int advice; in linux_fadvise64() local 1657 advice = convert_fadvice(args->advice); in linux_fadvise64() 1658 if (advice == -1) in linux_fadvise64() 1660 return (kern_posix_fadvise(td, args->fd, offset, args->len, advice)); in linux_fadvise64() 1668 int advice; in linux_fadvise64_64() local 1678 advice = convert_fadvice(args->advice); in linux_fadvise64_64() 1679 if (advice == -1) in linux_fadvise64_64() 1681 return (kern_posix_fadvise(td, args->fd, offset, len, advice)); in linux_fadvise64_64()
|
| /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_haiku.cpp | 121 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument 123 return _REAL(madvise, (void *)addr, length, advice); in internal_madvise()
|
| H A D | sanitizer_posix.h | 48 int internal_madvise(uptr addr, uptr length, int advice);
|
| H A D | sanitizer_mac.cpp | 150 int internal_madvise(uptr addr, uptr length, int advice) { in internal_madvise() argument 151 return madvise((void *)addr, length, advice); in internal_madvise()
|
| /freebsd/contrib/unbound/doc/ |
| H A D | CREDITS | 13 Jakob Schlyter - for advice on secure settings, random numbers and blacklists.
|
| /freebsd/lib/libsysdecode/ |
| H A D | flags.c | 262 sysdecode_fadvice(int advice) in sysdecode_fadvice() argument 265 return (lookup_value(fadvisebehav, advice)); in sysdecode_fadvice() 495 sysdecode_madvice(int advice) in sysdecode_madvice() argument 498 return (lookup_value(madvisebehav, advice)); in sysdecode_madvice()
|
| /freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_file.c | 773 zpl_fadvise(struct file *filp, loff_t offset, loff_t len, int advice) in zpl_fadvise() argument 790 if (advice == POSIX_FADV_WILLNEED) { in zpl_fadvise() 801 error = generic_fadvise(filp, offset, len, advice); in zpl_fadvise() 804 if (error == 0 && advice == POSIX_FADV_DONTNEED) { in zpl_fadvise()
|
| /freebsd/contrib/ntp/ |
| H A D | WHERE-TO-START | 21 configuration advice, program usage and miscellaneous information is
|
| /freebsd/sys/i386/i386/ |
| H A D | pmap_base.c | 616 pmap_advise(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, int advice) in pmap_advise() argument 619 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/tests/sys/posixshm/ |
| H A D | posixshm_test.c | 1505 largepage_madvise(char *addr, size_t sz, int advice, int error) in largepage_madvise() argument 1508 ATF_REQUIRE_MSG(madvise(addr, sz, advice) == 0, in largepage_madvise() 1509 "madvise(%zu, %d) failed; error=%d", sz, advice, errno); in largepage_madvise() 1511 ATF_REQUIRE_MSG(madvise(addr, sz, advice) != 0, in largepage_madvise() 1512 "madvise(%zu, %d) succeeded", sz, advice); in largepage_madvise() 1515 errno, sz, advice); in largepage_madvise()
|
| /freebsd/sys/kern/ |
| H A D | vfs_vnops.c | 1216 int advice; in vn_read() local 1243 advice = get_advice(fp, uio); in vn_read() 1246 switch (advice) { in vn_read() 1265 if (error == 0 && advice == POSIX_FADV_NOREUSE && in vn_read() 1288 int advice; in vn_write() local 1313 advice = get_advice(fp, uio); in vn_write() 1316 switch (advice) { in vn_write() 1337 if (error == 0 && advice == POSIX_FADV_NOREUSE && in vn_write()
|
| H A D | vfs_syscalls.c | 4954 int advice) in kern_posix_fadvise() argument 4964 AUDIT_ARG_VALUE(advice); in kern_posix_fadvise() 4965 switch (advice) { in kern_posix_fadvise() 5002 switch (advice) { in kern_posix_fadvise() 5013 if (fa != NULL && fa->fa_advice == advice && in kern_posix_fadvise() 5022 new->fa_advice = advice; in kern_posix_fadvise() 5064 error = VOP_ADVISE(vp, offset, end, advice); in kern_posix_fadvise() 5080 uap->advice); in sys_posix_fadvise()
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | ax_compare_version.m4 | 69 # The author would like to acknowledge Guido Draheim whose advice about
|
| /freebsd/usr.bin/compress/doc/ |
| H A D | NOTES | 68 ah yes -- i date myself when relaying out-of-date advice from elderly
|
| /freebsd/crypto/openssl/ |
| H A D | README.md | 193 potentially subject to such restrictions, you should seek legal advice before
|