HomeSort by: relevance | last modified time | path
    Searched refs:hint (Results 1 - 25 of 111) sorted by relevancy

1 2 3 4 5

  /src/lib/libc/sys/
posix_fadvise.c 34 int __posix_fadvise50(int fd, int pad, off_t offset, off_t size, int hint);
37 posix_fadvise(int fd, off_t offset, off_t size, int hint)
39 return __posix_fadvise50(fd, 0, offset, size, hint);
  /src/lib/libc/compat/sys/
compat__lwp_park.c 57 const void *hint, const void *unparkhint)
65 return ___lwp_park50(tsp, unpark, hint, unparkhint);
compat___lwp_park50.c 53 ___lwp_park50(const struct timespec *ts, lwpid_t unpark, const void *hint,
62 hint, unparkhint);
  /src/lib/libcrypt/
crypt-sha1.c 63 * The value returned will be slightly less than <hint> which defaults
72 __crypt_sha1_iterations (unsigned int hint)
75 * We treat CRYPT_SHA1_ITERATIONS as a hint.
80 if (hint < 4)
81 hint = CRYPT_SHA1_ITERATIONS;
82 return hint - arc4random_uniform(hint / 4);
  /src/etc/
named.conf 42 type hint;
  /src/sys/arch/ews4800mips/stand/common/
ether_if.c 92 ether_match(struct netif *netif, void *hint)
99 ether_probe(struct netif *netif, void *hint)
106 ether_init(struct iodesc *iodesc, void *hint)
  /src/sys/arch/cobalt/stand/boot/
nif_tlp.c 81 tlp_match(struct netif *netif, void *hint)
89 tlp_probe(struct netif *netif, void *hint)
97 tlp_attach(struct iodesc *desc, void *hint)
  /src/sys/nfs/
nfs_kq.c 220 filt_nfsread(struct knote *kn, long hint)
229 switch (hint) {
248 filt_nfsvnode(struct knote *kn, long hint)
253 switch (hint) {
257 if ((kn->kn_sfflags & hint) != 0)
258 kn->kn_fflags |= hint;
267 if ((kn->kn_sfflags & hint) != 0)
268 kn->kn_fflags |= hint;
  /src/sys/uvm/
uvm_map.c 233 KASSERT((entry) != (map)->hint); \
242 * SAVE_HINT: saves the specified entry as the hint for future lookups.
247 if ((map)->hint == (check)) \
248 (map)->hint = (value); \
535 struct vm_map_entry *hint = map->hint; local in function:_uvm_map_sanity
546 if (hint == e) {
560 printf("stale hint\n");
1048 * => assume sys_mmap provides enough of a "hint" to have us skip
1052 * [1] <NULL,uoffset> == uoffset is a hint for PMAP_PREFE
1793 vaddr_t hint = atop(*start); local in function:uvm_map_space_avail
    [all...]
  /src/sys/kern/
kern_fileassoc.c 291 * Perform a lookup on a hash table. If hint is non-zero then use the value
292 * of the hint as the identifier instead of performing a lookup for the
296 fileassoc_file_lookup(struct vnode *vp, fhandle_t *hint)
310 if (hint == NULL) {
315 th = hint;
330 if (hint == NULL)
506 fileassoc_file_add(struct vnode *vp, fhandle_t *hint)
515 if (hint == NULL) {
520 th = hint;
524 if (hint == NULL
    [all...]
sys_eventfd.c 416 eventfd_filt_read(struct knote * const kn, long const hint)
421 if (hint & NOTE_SUBMIT) {
430 if ((hint & NOTE_SUBMIT) == 0) {
455 eventfd_filt_write(struct knote * const kn, long const hint)
460 if (hint & NOTE_SUBMIT) {
469 if ((hint & NOTE_SUBMIT) == 0) {
subr_log.c 275 filt_logread(struct knote *kn, long hint)
279 if ((hint & NOTE_SUBMIT) == 0)
291 if ((hint & NOTE_SUBMIT) == 0)
kern_event.c 109 static int filt_kqueue(struct knote *, long hint);
112 static int filt_proc(struct knote *, long hint);
117 static int filt_timer(struct knote *, long hint);
121 static int filt_user(struct knote *, long hint);
199 filt_nopevent(struct knote *kn __unused, long hint __unused)
329 * N.B. NOTE_SUBMIT will never be set in the "hint" argument
594 filter_event(struct knote *kn, long hint, bool submitting)
604 rv = kn->kn_fop->f_event(kn, hint);
607 rv = kn->kn_fop->f_event(kn, hint);
884 filt_kqueue(struct knote *kn, long hint)
    [all...]
  /src/games/adventure/
subr.c 508 int hint; local in function:checkhints
509 for (hint = 4; hint <= hintmax; hint++) {
510 if (hinted[hint])
512 if (!bitset(loc, hint))
513 hintlc[hint] = -1;
514 hintlc[hint]++;
515 if (hintlc[hint] < hints[hint][1]
    [all...]
  /src/tests/lib/libc/sys/
t_mmap.c 625 void *hint = (void *)hintaddr; local in function:test_mmap_hint
628 map1 = mmap(hint, page, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0);
630 atf_tc_fail_nonfatal("mmap1 hint=%p: errno=%d", hint, errno);
635 atf_tc_fail_nonfatal("mmap2 hint=%p map1=%p failed: errno=%d",
636 hint, map1, errno);
639 map3 = mmap(hint, page, PROT_READ|PROT_WRITE, MAP_ANON, -1, 0);
641 atf_tc_fail_nonfatal("mmap3 hint=%p map1=%p failed: errno=%d",
642 hint, map1, errno);
647 ATF_CHECK_MSG(munmap(map3, page) == 0, "munmap3 %p hint=%p"
    [all...]
  /src/usr.bin/make/unit-tests/
varname-make_print_var_on_error-jobs.mk 10 # contains spaces as well, this value is only intended as a first hint to what
compat-error.mk 8 # this information may give a hint as to which target failed, it would be more
  /src/sys/arch/landisk/dev/
button.c 298 filt_btn_read(struct knote *kn, long hint)
302 if (hint & NOTE_SUBMIT) {
311 if ((hint & NOTE_SUBMIT) == 0) {
  /src/sys/external/bsd/drm2/linux/
linux_sync_file.c 162 filt_sync_file_event(struct knote *kn, long hint)
167 if (hint == NOTE_SUBMIT)
194 if (hint == NOTE_SUBMIT)
  /src/sys/sys/
vnode.h 300 #define IO_DIRECT 0x02000 /* direct I/O hint */
302 #define IO_ADV_MASK 0x00003 /* access pattern hint */
407 #define FSYNC_DATAONLY 0x0002 /* fsync: hint: sync file data only */
408 #define FSYNC_RECLAIM 0x0004 /* fsync: hint: vnode is being reclaimed */
414 #define UPDATE_DIROP 0x0002 /* update: hint to fs to wait or not */
434 VN_KEVENT_INTEREST(struct vnode *vp, long hint)
437 bool rv = _VN_KEVENT_INTEREST(vp, hint);
443 VN_KNOTE(struct vnode *vp, long hint)
446 if (__predict_false(_VN_KEVENT_INTEREST(vp, hint))) {
447 knote(&vp->v_klist->vk_klist, hint);
    [all...]
event.h 112 * data/hint flags/masks for EVFILT_USER, shared with userspace
131 * hint flag for in-kernel use - must not equal any existing note
137 * data/hint flags for EVFILT_{READ|WRITE}, shared with userspace
142 * data/hint flags for EVFILT_VNODE, shared with userspace
157 * data/hint flags for EVFILT_PROC, shared with userspace
162 #define NOTE_PCTRLMASK 0xf0000000U /* mask for hint bits */
207 #define KNOTE(list, hint) if (!SLIST_EMPTY(list)) knote(list, hint)
210 * Flag indicating hint is a signal. Used by EVFILT_SIGNAL, and also
216 * Hint values for the optional f_touch event filter. If f_touch is not se
    [all...]
  /src/sys/miscfs/genfs/
genfs_vnops.c 504 filt_genfsread(struct knote *kn, long hint)
513 switch (hint) {
532 filt_genfswrite(struct knote *kn, long hint)
540 switch (hint) {
558 filt_genfsvnode(struct knote *kn, long hint)
563 switch (hint) {
567 if ((kn->kn_sfflags & hint) != 0)
568 kn->kn_fflags |= hint;
577 if ((kn->kn_sfflags & hint) != 0)
578 kn->kn_fflags |= hint;
    [all...]
  /src/sys/miscfs/fifofs/
fifo_vnops.c 601 filt_fiforead(struct knote *kn, long hint)
607 if (hint != NOTE_SUBMIT)
617 if (hint != NOTE_SUBMIT)
635 filt_fifowrite(struct knote *kn, long hint)
641 if (hint != NOTE_SUBMIT)
651 if (hint != NOTE_SUBMIT)
  /src/sys/opencrypto/
crypto.c 505 static int crypto_invoke(struct cryptop *crp, int hint);
506 static int crypto_kinvoke(struct cryptkop *krp, int hint);
1440 crypto_kinvoke(struct cryptkop *krp, int hint)
1482 error = (*process)(arg, krp, hint);
1522 crypto_invoke(struct cryptop *crp, int hint)
1551 error = (*process)(arg, crp, hint);
1805 int result, hint, s; local in function:cryptointr
1818 hint = 0;
1848 hint = CRYPTO_HINT_MORE;
1859 * batch crp can be processed much later, so clear hint
    [all...]
  /src/sys/compat/netbsd32/
netbsd32_lwp.c 168 syscallarg(netbsd32_voidp) hint;
230 syscallarg(netbsd32_voidp) hint;
235 NETBSD32TOP_UAP(hint, void);
245 syscallarg(netbsd32_voidp) hint;
251 NETBSD32TOP_UAP(hint, void);

Completed in 35 milliseconds

1 2 3 4 5