/darwin-on-arm/xnu/osfmk/sys/ |
H A D | syslog.h | 155 #define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3) /* facility of pri */ 173 #define LOG_MAKEPRI(fac, pri) (((fac) << 3) | (pri)) 182 #define LOG_MASK(pri) (1 << (pri)) /* mask for one priority */ 183 #define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /* all priorities through pri */
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_synch.c | 134 * enters the scheduling queue at priority pri. 135 * The most important effect of pri is that when 136 * pri<=PZERO a signal cannot disturb the sleep; 137 * if pri>PZERO signals will be processed. 138 * If pri&PCATCH is set, signals will cause sleep 155 int pri, 165 int dropmutex = pri & PDROP; 166 int spinmutex = pri & PSPIN; 173 p->p_priority = pri & PRIMASK; 178 if (pri 153 _sleep( caddr_t chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int), lck_mtx_t *mtx) argument 308 sleep( void *chan, int pri) argument 316 msleep0( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument 333 msleep( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, struct timespec *ts) argument 351 msleep1( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, u_int64_t abstime) argument 362 tsleep( void *chan, int pri, const char *wmsg, int timo) argument 376 tsleep0( void *chan, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument 391 tsleep1( void *chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int)) argument [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | syslog.h | 90 #define LOG_MAKEPRI(fac, pri) ((fac) | (pri)) 156 /* facility of pri */ 201 #define LOG_MASK(pri) (1 << (pri)) /* mask for one priority */ 202 #define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /* all priorities through pri */
|
H A D | proc.h | 230 extern int msleep(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, struct timespec * ts ); 299 extern int tsleep(void *chan, int pri, const char *wmesg, int timo); 300 extern int msleep1(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, u_int64_t timo);
|
H A D | proc_internal.h | 687 extern int sleep(void *chan, int pri); 688 extern int tsleep0(void *chan, int pri, const char *wmesg, int timo, int (*continuation)(int)); 689 extern int tsleep1(void *chan, int pri, const char *wmesg, u_int64_t abstime, int (*continuation)(int)); 690 extern int msleep0(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, int timo, int (*continuation)(int));
|
H A D | tty.h | 326 void *chan, int pri, const char *wmesg, int timeout);
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | priority.c | 277 #define do_priority_computation(thread, pri) \ 279 (pri) = (thread)->priority /* start with base priority */ \ 281 if ((pri) < MAXPRI_THROTTLE) { \ 283 (pri) = MAXPRI_THROTTLE; \ 285 if ((pri) < MINPRI_USER) \ 286 (pri) = MINPRI_USER; \ 288 if ((pri) > MAXPRI_KERNEL) \ 289 (pri) = MAXPRI_KERNEL; \ 294 #define do_priority_computation(thread, pri) \ 296 (pri) [all...] |
H A D | thread_call.c | 69 integer_t pri; member in struct:thread_call_group 108 static void thread_call_group_setup(thread_call_group_t group, thread_call_priority_t pri, uint32_t target_thread_count, boolean_t parallel); 201 thread_call_priority_to_sched_pri(thread_call_priority_t pri) argument 203 switch (pri) { 224 thread_call_priority_t pri = call->tc_pri; local 226 assert(pri == THREAD_CALL_PRIORITY_LOW || 227 pri == THREAD_CALL_PRIORITY_USER || 228 pri == THREAD_CALL_PRIORITY_KERNEL || 229 pri == THREAD_CALL_PRIORITY_HIGH); 231 return &thread_call_groups[pri]; 235 thread_call_group_setup( thread_call_group_t group, thread_call_priority_t pri, uint32_t target_thread_count, boolean_t parallel) argument 715 thread_call_allocate_with_priority( thread_call_func_t func, thread_call_param_t param0, thread_call_priority_t pri) argument [all...] |
H A D | sched.h | 132 * 10 Lowered priorities (aged pri's) 138 * 0 Lowered priorities (aged pri's / idle) 179 #define invalid_pri(pri) ((pri) < MINPRI || (pri) > MAXPRI)
|
H A D | sched_proto.c | 298 int pri, count; local 305 pri = rq->highq; 318 while (count > 0 && pri >= priority) { 331 if (pri != IDLEPRI) 332 clrbit(MAXPRI - pri, rq->bitmap); 344 queue--; pri--;
|
H A D | processor.h | 207 #define pset_pri_hint(ps, p, pri) \ 210 if ((pri) < (ps)->low_pri->current_pri) \
|
H A D | thread_call.h | 185 @param pri Priority of item. 191 thread_call_priority_t pri);
|
H A D | sched_prim.h | 404 #define thread_wakeup_one_with_pri(x, pri) \ 405 thread_wakeup_prim_internal((x), TRUE, THREAD_AWAKENED, pri)
|
H A D | sched_prim.c | 1991 int pri = rq->highq, count = rq->count; local 1994 while (count > 0 && pri >= priority) { 2004 if (SCHED(priority_is_urgent)(pri)) { 2008 if (pri != IDLEPRI) 2009 clrbit(MAXPRI - pri, rq->bitmap); 2020 queue--; pri--; 3640 int pri = rq->highq, count = rq->count; local 3658 if (SCHED(priority_is_urgent)(pri)) { 3662 if (pri != IDLEPRI) 3663 clrbit(MAXPRI - pri, r 3920 int pri = rq->highq, count = rq->count; local [all...] |
/darwin-on-arm/xnu/bsd/net/pktsched/ |
H A D | pktsched_priq.c | 203 int pri; local 208 for (pri = 0; pri <= pif->pif_maxpri; pri++) 209 if ((cl = pif->pif_classes[pri]) != NULL) 220 int pri; local 224 for (pri = 0; pri <= pif->pif_maxpri; pri++) { 225 if ((cl = pif->pif_classes[pri]) ! 275 int pri; local 311 priq_class_create(struct priq_if *pif, int pri, u_int32_t qlimit, int flags, u_int32_t qid) argument 505 int pri; local 565 u_int32_t pri; local 632 u_int32_t pri, len; local [all...] |
H A D | pktsched_fairq.c | 263 int pri; local 268 for (pri = 0; pri <= fif->fif_maxpri; pri++) 269 if ((cl = fif->fif_classes[pri]) != NULL) 280 int pri; local 284 for (pri = 0; pri <= fif->fif_maxpri; pri++) { 285 if ((cl = fif->fif_classes[pri]) ! 303 int pri; local 344 fairq_class_create(struct fairq_if *fif, int pri, u_int32_t qlimit, u_int64_t bandwidth, u_int32_t nbuckets, int flags, u_int64_t hogs_m1, u_int64_t lssc_m1, u_int64_t lssc_d, u_int64_t lssc_m2, u_int32_t qid) argument 599 int pri; local 730 int pri; local [all...] |
H A D | pktsched_tcq.c | 175 int pri; local 180 for (pri = 0; pri <= tif->tif_maxpri; pri++) 181 if ((cl = tif->tif_classes[pri]) != NULL) 192 int pri; local 196 for (pri = 0; pri <= tif->tif_maxpri; pri++) { 197 if ((cl = tif->tif_classes[pri]) ! 247 int pri; local 283 tcq_class_create(struct tcq_if *tif, int pri, u_int32_t qlimit, int flags, u_int32_t qid) argument 477 int pri; local [all...] |
H A D | pktsched_rmclass.c | 180 * 'pri' on the interface given by 'ifd'. 237 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int32_t nsecPerByte, argument 252 if (pri >= RM_MAXPRIO) { 254 __func__, pri, RM_MAXPRIO - 1); 305 cl->pri_ = pri; 404 if ((peer = ifd->active_[pri]) != NULL) { 405 /* find the last class at this pri */ 407 while (peer->peer_ != ifd->active_[pri]) 411 ifd->active_[pri] = cl; 431 ifd->num_[pri] 528 rmc_get_weight(struct rm_ifdat *ifd, int pri) argument [all...] |
/darwin-on-arm/xnu/bsd/netat/ |
H A D | debug.h | 152 #define trace_mbufs(pri, str, start)\ 156 dPrintf(pri, D_L_TRACE, ("%s=0x%p, len=%ld %s\n",\
|
H A D | sysglue.h | 194 #define gbuf_alloc(size, pri) (gbuf_alloc_wait(size, FALSE))
|
H A D | ddp.save | 300 gbuf_t *gbuf_alloc(size, pri) /* AIX version */ 302 int pri;
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOCPU.cpp | 170 uint32_t pri = (next->priority < 0) ? -next->priority : next->priority; local 171 if ((pri >= first_priority) && (pri <= last_priority)) 174 ret = (*next->action)(next->refcon0, next->refcon1, pri, param1, param2, param3, next->name);
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | bridgestp.c | 1656 bstp_set_priority(struct bstp_state *bs, int pri) argument 1658 if (pri < 0 || pri > BSTP_MAX_PRIORITY) 1662 pri -= pri % 4096; 1665 bs->bs_bridge_priority = pri; 1672 bstp_set_port_priority(struct bstp_port *bp, int pri) argument 1676 if (pri < 0 || pri > BSTP_MAX_PORT_PRIORITY) 1680 pri [all...] |
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | mach_traps.h | 242 extern boolean_t swtch_pri(int pri); 516 PAD_ARG_(int, pri);
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsd.h | 235 #define cv_broadcastpri(cvp, pri) _audit_cv_broadcast(cvp)
|