Searched refs:pri (Results 1 - 20 of 20) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/sys/
H A Dsyslog.h155 #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 */
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_synch.c131 * enters the scheduling queue at priority pri.
132 * The most important effect of pri is that when
133 * pri<=PZERO a signal cannot disturb the sleep;
134 * if pri>PZERO signals will be processed.
135 * If pri&PCATCH is set, signals will cause sleep
152 int pri,
161 int sig, catch = pri & PCATCH;
162 int dropmutex = pri & PDROP;
169 p->p_priority = pri & PRIMASK;
221 ut->uu_pri = pri;
150 _sleep( caddr_t chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int), lck_mtx_t *mtx) argument
276 sleep( void *chan, int pri) argument
284 msleep0( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument
301 msleep( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, struct timespec *ts) argument
319 msleep1( void *chan, lck_mtx_t *mtx, int pri, const char *wmsg, u_int64_t abstime) argument
330 tsleep( void *chan, int pri, const char *wmsg, int timo) argument
344 tsleep0( void *chan, int pri, const char *wmsg, int timo, int (*continuation)(int)) argument
359 tsleep1( void *chan, int pri, const char *wmsg, u_int64_t abstime, int (*continuation)(int)) argument
[all...]
H A Dtty.c2539 ttysleep(struct tty *tp, void *chan, int pri, const char *wmesg, int timo) argument
2545 error = tsleep(chan, pri, wmesg, timo);
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dsyslog.h93 #define LOG_MAKEPRI(fac, pri) (((fac) << 3) | (pri))
152 /* facility of pri */
197 #define LOG_MASK(pri) (1 << (pri)) /* mask for one priority */
198 #define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1) /* all priorities through pri */
H A Dproc.h228 extern int msleep(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, struct timespec * ts );
289 extern int tsleep(void *chan, int pri, const char *wmesg, int timo);
290 extern int msleep1(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, u_int64_t timo);
H A Dproc_internal.h550 extern int sleep(void *chan, int pri);
551 extern int tsleep0(void *chan, int pri, const char *wmesg, int timo, int (*continuation)(int));
552 extern int tsleep1(void *chan, int pri, const char *wmesg, u_int64_t abstime, int (*continuation)(int));
553 extern int msleep0(void *chan, lck_mtx_t *mtx, int pri, const char *wmesg, int timo, int (*continuation)(int));
H A Dtty.h306 void *chan, int pri, const char *wmesg, int timeout);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dsched.h135 * 10 Lowered priorities (aged pri's)
141 * 0 Lowered priorities (aged pri's / idle)
166 #define invalid_pri(pri) ((pri) < MINPRI || (pri) > MAXPRI)
H A Dpage_decrypt.c38 extern int tsleep(void *chan, int pri, const char *wmesg, int timo);
H A Dpriority.c209 #define do_priority_computation(thread, pri) \
211 (pri) = (thread)->priority /* start with base priority */ \
213 if ((pri) < MINPRI_USER) \
214 (pri) = MINPRI_USER; \
216 if ((pri) > MAXPRI_KERNEL) \
217 (pri) = MAXPRI_KERNEL; \
H A Dprocessor.h185 #define pset_pri_hint(ps, p, pri) \
188 if ((pri) < (ps)->low_pri->current_pri) \
H A Dsched_prim.c2494 int pri = rq->highq, count = rq->count; local
2510 if (testbit(pri, sched_preempt_pri)) {
2514 if (pri != IDLEPRI)
2515 clrbit(MAXPRI - pri, rq->bitmap);
2526 queue--; pri--;
2759 int pri = rq->highq, count = rq->count; local
2770 if (testbit(pri, sched_preempt_pri)) {
2774 if (pri != IDLEPRI)
2775 clrbit(MAXPRI - pri, rq->bitmap);
2786 queue--; pri
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/isofs/cd9660/
H A Dcd9660_vfsops.c360 struct iso_primary_descriptor *pri = NULL; local
417 if (pri != NULL)
432 pri = (struct iso_primary_descriptor *)vdp;
469 if (pri == NULL) {
477 logical_block_size = isonum_723 (pri->logical_block_size);
485 rootp = (struct iso_directory_record *)pri->root_directory_record;
491 isomp->volume_space_size = isonum_733 (pri->volume_space_size);
510 if ( strlen(pri->volume_id) ) {
513 myPtr = pri->volume_id + strlen( pri
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Ddebug.h152 #define trace_mbufs(pri, str, start)\
156 dPrintf(pri, D_L_TRACE, ("%s=0x%p, len=%ld %s\n",\
H A Dsysglue.h194 #define gbuf_alloc(size, pri) (gbuf_alloc_wait(size, FALSE))
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOCPU.cpp161 uint32_t pri = (next->priority < 0) ? -next->priority : next->priority; local
162 if ((pri >= first_priority) && (pri <= last_priority))
165 ret = (*next->action)(next->refcon0, next->refcon1, pri, param1, param2, param3);
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/
H A Dmach_traps.h185 extern boolean_t swtch_pri(int pri);
471 PAD_ARG_(int, pri);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c935 taskq_create(const char *name, int nthreads, pri_t pri, int minalloc, argument
938 #pragma unused(name,nthreads,pri,minalloc,maxalloc,flags)
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbpf.c658 bpf_sleep(struct bpf_d *d, int pri, const char *wmesg, int timo) argument
664 st = tsleep((caddr_t)d, pri, wmesg, timo);
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2.c298 unsigned char pri; local
313 pri = LOG_PRI(level);
320 ev_msg.dv[0].data_ptr = &pri;

Completed in 114 milliseconds