Home
last modified time | relevance | path

Searched refs:advice (Results 1 – 25 of 65) sorted by relevance

123

/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_std_types_mr.c50 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 Dmemory.c590 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 DWindowsMMap.c116 int madvise(void *addr, size_t length, int advice) in madvise() argument
118 if (advice != MADV_DONTNEED) in madvise()
H A DWindowsMMap.h76 int madvise(void *addr, size_t length, int advice);
/freebsd/sys/compat/linux/
H A Dlinux_file.c1562 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 Dvm_object.c1285 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 Dpmap.h122 int advice);
H A Dvm_page.h609 void vm_page_advise(vm_page_t m, int advice);
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_solaris.cpp87 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 Dsanitizer_netbsd.cpp119 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 Dsanitizer_posix.h45 int internal_madvise(uptr addr, uptr length, int advice);
H A Dsanitizer_mac.cpp157 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 Dflags.c260 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 DCREDITS13 Jakob Schlyter - for advice on secure settings, random numbers and blacklists.
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_file.c713 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 DWHERE-TO-START21 configuration advice, program usage and miscellaneous information is
/freebsd/tests/sys/posixshm/
H A Dposixshm_test.c1508 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 Dpmap_base.c610 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 Dbuild.ps131 & $Git -c advice.detachedHead=false clone --quiet --depth=1 ` in GitClone()
/freebsd/sys/kern/
H A Dvfs_vnops.c1077 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 Dvfs_syscalls.c4771 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 Dax_compare_version.m468 # The author would like to acknowledge Guido Draheim whose advice about
/freebsd/crypto/openssl/
H A DREADME.md163 potentially subject to such restrictions you should seek legal advice before
/freebsd/contrib/diff/
H A DABOUT-NLS25 Quick configuration advice
134 Special advice for Norwegian users: The language code for Norwegian
/freebsd/usr.bin/compress/doc/
H A DNOTES68 ah yes -- i date myself when relaying out-of-date advice from elderly

123