Home
last modified time | relevance | path

Searched refs:pri_t (Results 1 – 25 of 47) sorted by relevance

12

/netbsd-src/sys/sys/
H A Dthreadpool.h64 int threadpool_get(struct threadpool **, pri_t);
65 void threadpool_put(struct threadpool *, pri_t);
67 int threadpool_percpu_get(struct threadpool_percpu **, pri_t);
68 void threadpool_percpu_put(struct threadpool_percpu *, pri_t);
H A Dlwp.h114 pri_t l_boostpri; /* l: boosted priority after blocking */
115 pri_t l_priority; /* l: scheduler priority */
116 pri_t l_inheritedprio;/* l: inherited priority */
117 pri_t l_protectprio; /* l: for PTHREAD_PRIO_PROTECT */
118 pri_t l_auxprio; /* l: max(inherit,protect) priority */
346 pri_t lwp_eprio(lwp_t *);
351 void lwp_changepri(lwp_t *, pri_t);
352 void lwp_lendpri(lwp_t *, pri_t);
H A Dsyncobj.h49 void (*sobj_changepri)(struct lwp *, pri_t);
50 void (*sobj_lendpri)(struct lwp *, pri_t);
H A Dsched.h173 volatile pri_t spc_curpriority;/* s: usrpri of curlwp */
174 pri_t spc_maxpriority;/* m: highest priority queued */
244 void sched_resched_cpu(struct cpu_info *, pri_t, bool);
H A Dsleepq.h65 void sleepq_changepri(lwp_t *, pri_t);
66 void sleepq_lendpri(lwp_t *, pri_t);
H A Dsleeptab.h101 pri_t ts_eprio;
133 void turnstile_changepri(lwp_t *, pri_t);
H A Dworkqueue.h55 void (*)(struct work *, void *), void *, pri_t, int, int);
H A Dkthread.h54 int kthread_create(pri_t, int, struct cpu_info *,
/netbsd-src/sys/rump/librump/rumpkern/
H A Dsleepq.c161 sleepq_changepri(struct lwp *l, pri_t pri) in sleepq_changepri()
167 sleepq_lendpri(struct lwp *l, pri_t pri) in sleepq_lendpri()
212 lwp_changepri(lwp_t *l, pri_t pri) in lwp_changepri()
219 lwp_lendpri(lwp_t *l, pri_t pri) in lwp_lendpri()
225 pri_t
H A Dltsleep.c121 tsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo) in tsleep()
141 mtsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo, kmutex_t *lock) in mtsleep()
/netbsd-src/external/cddl/osnet/dist/uts/common/sys/
H A Dtaskq.h95 taskq_t *taskq_create(const char *, int, pri_t, int, int, uint_t);
96 taskq_t *taskq_create_instance(const char *, int, int, pri_t, int, int, uint_t);
97 taskq_t *taskq_create_proc(const char *, int, pri_t, int, int,
H A Dcpupart.h145 extern void cpupart_kpqalloc(pri_t);
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/solaris/sys/
H A Dpriocntl.d26 import core.sys.solaris.sys.types : pri_t;
107 pri_t pc_clpmax;
108 pri_t pc_clpmin;
H A Dtypes.d22 alias short pri_t;
/netbsd-src/sys/kern/
H A Dsys_sched.c69 static pri_t
70 convert_pri(lwp_t *l, int policy, pri_t pri) in convert_pri()
113 pri_t pri; in do_sched_setparam()
157 pri_t kpri; in do_sched_setparam()
554 pri_t pri; in sys__sched_protect()
673 pri_t priority; in sched_listener_cb()
677 priority = (pri_t)(unsigned long)arg3; in sched_listener_cb()
H A Dkern_threadpool.c199 pri_t tp_pri;
205 static int threadpool_percpu_create(struct threadpool_percpu **, pri_t);
237 threadpool_lookup_unbound(pri_t pri) in threadpool_lookup_unbound()
264 pri_t tpp_pri;
274 threadpool_lookup_percpu(pri_t pri) in threadpool_lookup_percpu()
374 threadpool_pri_is_valid(pri_t pri) in threadpool_pri_is_valid()
381 pri_t pri) in threadpool_create()
494 threadpool_get(struct threadpool **poolp, pri_t pri) in threadpool_get()
542 threadpool_put(struct threadpool *pool, pri_t pri) in threadpool_put()
572 threadpool_percpu_get(struct threadpool_percpu **pool_percpup, pri_t pri) in threadpool_percpu_get()
[all …]
H A Dsched_m2.c72 static pri_t high_pri[PRI_COUNT]; /* Map for priority increase */
116 pri_t p; in sched_precalcts()
199 pri_t pri = l->l_priority - n; in sched_nice()
248 pri_t prio; in sched_pstats_hook()
H A Dkern_runq.c92 static void *sched_getrq(struct schedstate_percpu *, const pri_t);
174 sched_getrq(struct schedstate_percpu *spc, const pri_t prio) in sched_getrq()
190 const pri_t eprio = lwp_eprio(l); in sched_enqueue()
263 const pri_t eprio = lwp_eprio(l); in sched_dequeue()
320 sched_resched_cpu(struct cpu_info *ci, pri_t pri, bool unlock) in sched_resched_cpu()
496 pri_t bestpri, curpri; in sched_bestcpu()
571 pri_t eprio; in sched_takecpu()
H A Dkern_turnstile.c212 pri_t prio; in turnstile_lendpri()
318 pri_t prio; in turnstile_unlendpri()
511 turnstile_changepri(lwp_t *l, pri_t pri) in turnstile_changepri()
H A Dkern_synch.c114 static void sched_changepri(struct lwp *, pri_t);
115 static void sched_lendpri(struct lwp *, pri_t);
185 tsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo) in tsleep()
210 mtsleep(wchan_t ident, pri_t priority, const char *wmesg, int timo, in mtsleep()
1055 sched_changepri(struct lwp *l, pri_t pri) in sched_changepri()
1084 sched_lendpri(struct lwp *l, pri_t pri) in sched_lendpri()
H A Dkern_sleepq.c202 const pri_t pri = lwp_eprio(l); in sleepq_insert()
609 sleepq_changepri(lwp_t *l, pri_t pri) in sleepq_changepri()
625 sleepq_lendpri(lwp_t *l, pri_t pri) in sleepq_lendpri()
H A Dsubr_workqueue.c65 pri_t wq_prio;
210 pri_t prio, int ipl) in workqueue_init()
301 pri_t prio, int ipl, int flags) in workqueue_create()
H A Dsched_4bsd.c105 pri_t pri = PRI_NONE; in sched_tick()
398 pri_t pri; in resetpriority()
/netbsd-src/external/cddl/osnet/sys/kern/
H A Dtaskq.c51 pri_t tq_pri; /* Scheduling priority. */
256 taskq_create(const char *name, int nthreads, pri_t pri, int minalloc, in taskq_create()
293 taskq_create_proc(const char *name, int nthreads, pri_t pri, int minalloc, in taskq_create_proc()
/netbsd-src/external/cddl/osnet/sys/sys/
H A Dproc.h96 size_t, proc_t *, int, pri_t, const char *);

12