Home
last modified time | relevance | path

Searched refs:__predict_false (Results 1 – 23 of 23) sorted by relevance

/mirbsd/src/kern/c/
Dmirtime.c81 while (__predict_false(mjd->sec < 0)) { in timet2mjd()
87 if (__predict_false(mirtime_isleap(t))) in timet2mjd()
159 if (__predict_false(day == 146096)) { in mjd_explode()
174 if (__predict_false(day == 1460)) { in mjd_explode()
189 if (__predict_false(mon >= 10)) { in mjd_explode()
199 if (__predict_false(year < 1)) in mjd_explode()
232 if (__predict_false((day = tm->tm_year + 1900LL) < 0)) in mjd_implode()
244 while (__predict_false(mjd->sec < 0)) { in mjd_implode()
248 while (__predict_false(mjd->sec > 86400)) { in mjd_implode()
255 while (__predict_false(x < 0)) { in mjd_implode()
[all …]
Doptu8to16.c36 if (__predict_false(ps == NULL)) in optu8to16()
39 if (__predict_false((count = ps->count) == 3)) { in optu8to16()
46 if (__predict_false(n == 0)) { in optu8to16()
53 if (__predict_false(s == NULL)) { in optu8to16()
58 if (__predict_false(count)) { in optu8to16()
68 } else if (__predict_false(wc < 0xC2 || wc >= 0xF0)) { in optu8to16()
80 while (__predict_false(count)) { in optu8to16()
82 if (__predict_false(n-- == 0)) { in optu8to16()
94 if (__predict_false(((c = *s++ ^ 0x80) > 0x3F) || in optu8to16()
Doptu16to8.c60 if (__predict_false(ps == NULL)) in _optu16to8()
71 if (__predict_false(s == NULL)) { in _optu16to8()
76 while (__predict_false(count)) { in _optu16to8()
81 if (__predict_false(wc > WCHAR_MAX)) { in _optu16to8()
97 while (__predict_false(count)) { in _optu16to8()
Dstrlfun.c79 #define __predict_false(exp) (exp) macro
98 if (__predict_false(dlen == 0 || dst[n] != NUL)) in fn_cat()
138 if (__predict_false(siz == 0)) in fn_cpy()
146 if (__predict_false(siz == 0)) { in fn_cpy()
/mirbsd/src/lib/libc/i18n/
Dwcsrtombs.c46 if (__predict_false(ps == NULL)) in wcsnrtombs()
63 if (__predict_false(wc > WCHAR_MAX)) { in wcsnrtombs()
87 while (__predict_false((count > 0) && ((len > 0) || (dst == NULL)))) { in wcsnrtombs()
96 if (__predict_false(wc == 0)) in wcsnrtombs()
Dmbrtowc.c35 if (__predict_false(ps == NULL)) in mbrtowc()
37 if (__predict_false(dst == NULL)) in mbrtowc()
40 if (__predict_false(src == NULL)) { in mbrtowc()
Dtowctrans.c33 if (__predict_false(wc > WCHAR_MAX)) in towctrans()
36 if (__predict_false(charmap == NULL)) { in towctrans()
Diswctype.c39 if (__predict_false(wc > WCHAR_MAX)) in iswctype()
Dmbsrtowcs.c49 if (__predict_false(ps == NULL)) in mbsnrtowcs()
/mirbsd/src/sys/kern/
Dkern_rwlock.c42 while (__predict_false(rwl->rwl_owner & RWLOCK_WRLOCK)) { in rw_enter_read()
56 while (__predict_false(rwl->rwl_owner != 0)) { in rw_enter_write()
77 if (__predict_false(owner & RWLOCK_WAIT)) in rw_exit_read()
91 if (__predict_false(owner & RWLOCK_WAIT)) in rw_exit_write()
Dsubr_pool.c258 if (__predict_false(pp->pr_entered_file != NULL)) { in pr_enter()
274 if (__predict_false(pp->pr_entered_file == NULL)) { in pr_leave()
639 if (__predict_false(curproc == NULL && /* doing_shutdown == 0 && XXX*/ in _pool_get()
670 if (__predict_false(pp->pr_nout > pp->pr_hardlimit)) { in _pool_get()
676 if (__predict_false(pp->pr_nout == pp->pr_hardlimit)) { in _pool_get()
748 if (__predict_false(v == NULL || ph == NULL)) { in _pool_get()
789 if (__predict_false((v = pi = TAILQ_FIRST(&ph->ph_itemlist)) == NULL)) { in _pool_get()
795 if (__predict_false(pp->pr_nitems == 0)) { in _pool_get()
809 if (__predict_false(pi->pi_magic != PI_MAGIC)) { in _pool_get()
825 if (__predict_false(pp->pr_nidle == 0)) in _pool_get()
[all …]
/mirbsd/src/sys/uvm/
Duvm_km.c496 if (__predict_false(uvm_map(map, &kva, size, obj, UVM_UNKNOWN_OFFSET,
539 if (__predict_false(pg == NULL)) {
639 if (__predict_false(uvm_map(map, &kva, size, uvm.kernel_object,
683 if (__predict_false(pg == NULL)) {
746 if (__predict_false(uvm_map(map, &kva, size, uvm.kernel_object,
841 if (__predict_false(pg == NULL)) {
849 if (__predict_false(va == 0))
940 if (__predict_false(pg == NULL)) in uvm_km_page_init()
944 if (__predict_false(va == 0)) { in uvm_km_page_init()
992 if (__predict_false(pg == NULL)) in uvm_km_thread()
[all …]
Duvm_map_i.h141 if (__predict_false(flags & VM_MAP_INTRSAFE)) {
/mirbsd/src/sys/arch/i386/i386/
Dpowernow-k7.c126 if (__predict_false(aux == NULL)) in powernowhack_match()
154 if (__predict_false(!memcmp(ptr, "AMDK7PNOW!", 10))) { in powernowhack_match()
286 while (__predict_false((s->fid == 0) || (s->vid == 0))) in powernowhack_attach()
344 if (__predict_false(k7pnow_freq_table[i].frequency >= freq)) in k7_powernow_setperf()
/mirbsd/src/sys/sys/
Dcdefs.h166 #define __predict_false(exp) (exp) macro
169 #define __predict_false(exp) __builtin_expect(((exp) != 0), 0) macro
172 #define __predict_false(exp) ((exp) != 0) macro
/mirbsd/src/bin/pax/.linked/
Dstrlfun.inc79 #define __predict_false(exp) (exp)
98 if (__predict_false(dlen == 0 || dst[n] != NUL))
138 if (__predict_false(siz == 0))
146 if (__predict_false(siz == 0)) {
/mirbsd/src/lib/libc/stdlib/
Dgetprogname.c41 if (__predict_true(*__progname) || __predict_false(s == NULL)) in setprogname()
/mirbsd/src/lib/libmbfun/
Doptu8to16vis.c56 if (__predict_false(ps == NULL)) in optu8to16vis()
/mirbsd/src/sys/arch/i386/include/
Dintr.h126 if (__predict_false(splassert_ctl > 0)) { \
/mirbsd/src/sys/arch/sparc/include/
Dpsl.h170 if (__predict_false(splassert_ctl > 0)) { \
/mirbsd/src/lib/libc/time/
Dlocaltime.c1712 if (__predict_false(!initialised)) { in mirtime_getleaps()
/mirbsd/src/sys/dev/pci/
Dif_stge.c1262 if (__predict_false(sc->sc_rxdiscard)) { in stge_rxintr()
/mirbsd/src/sys/netinet/
Dtcp_input.c3572 if (__predict_false(sc->sc_rxtshift == TCP_MAXRXTSHIFT)) {