Searched refs:THREAD_CAN_SLEEP (Results 1 – 11 of 11) sorted by relevance
288 if (sleep && THREAD_CAN_SLEEP()) in ice_usec_delay() 306 if (sleep && THREAD_CAN_SLEEP()) in ice_msec_delay()
87 if ((td->td_pflags & TDP_ITHREAD) != 0 || !THREAD_CAN_SLEEP()) { in linux_alloc_current()
173 if (__predict_false(!THREAD_CAN_SLEEP())) { in userret()
283 MPASS(!THREAD_CAN_SLEEP()); in epoch_where_report()855 if (THREAD_CAN_SLEEP()) in in_epoch_verbose_preempt()
322 if (__predict_false(!THREAD_CAN_SLEEP())) { in sleepq_add()
567 if (__predict_false(!THREAD_CAN_SLEEP())) { in malloc_dbg()
110 if (!THREAD_CAN_SLEEP() || curthread->td_vslock_sz > 0 || in cp_slow0()
570 (bp->bio_flags & BIO_UNMAPPED) == 0 || THREAD_CAN_SLEEP()) && in g_io_request()
1051 #define THREAD_CAN_SLEEP() ((curthread)->td_no_sleeping == 0) macro
568 if (!THREAD_CAN_SLEEP()) { in zvol_geom_bio_start()
3636 if (THREAD_CAN_SLEEP()) in if_addmulti()