Lines Matching defs:t

174  * allocation won't be used for non-shared memory by default.
284 * isn't such a machine for now....
454 * The platform won't be able to detect null proc LPA until after
707 * CPUs are brought online with all other CPUs paused so we can't
738 * through here again, at which time cpu_lock won't
772 * Leaf lgroup was created, but latency wasn't available
882 * Need to allocate new lgroup if next open slot didn't have one
926 cmn_err(CE_PANIC, "Can't destroy only lgroup!");
980 * we don't tear these down now because we don't know about
1043 * just because I'm paranoid doesn't mean...
1063 * lgroup from lgroup topology if it doesn't have any more
1076 * This lgroup isn't empty, so just remove it from CPU
1122 * Skip any lgroups that don't exist or aren't in target group
1147 * Skip any lgroups that don't exist or aren't in
1252 * Grab CPU lock (if we haven't already)
1308 * Leaf lgroup was created, but latency wasn't available
1396 * Grab CPU lock (if we haven't already)
1424 * Skip any non-existent lgroups and any lgroups that don't
1449 * Don't need to update lgroup topology if this lgroup still has memory.
1529 * We must do this with kernel preemption disabled, since we don't want our
1533 * NOTE: Can't guarantee that lgroup will be valid once kernel preemption
1563 lgrp_home_id(kthread_t *t)
1568 ASSERT(t != NULL);
1570 * We'd like to ASSERT(MUTEX_HELD(&ttoproc(t)->p_lock)), but we
1578 lpl = t->t_lpl;
1681 * Verify that the caller isn't trying to add to
1995 * Don't adjust if the lgrp isn't there, if we're the leaf lpl
1997 * don't share the same resources.
2086 /* topology can't be incorrect if it doesn't exist */
2104 /* if lgroup doesn't exist, make sure lpl is empty */
2117 /* if lgroup isn't in our partition, make sure lpl is empty */
2125 * lpl is empty, and lgroup isn't in partition. verify
2126 * that lpl doesn't show up in anyone else's rsets (in
2279 * sure that each rset doesn't include resources that are
2423 * Don't insert if the lgrp isn't there, if the leaf isn't
2511 * Don't attempt to remove from lgrps that aren't there, that
2512 * don't contain our leaf, or from the leaf itself. (We do that
2536 * leaf resources, even though we don't yet have a processor
2593 /* don't add non-existent lgrp */
2622 * lpl, so assert that ncpu == 1 for the case where we don't
2669 /* don't delete a leaf that isn't there */
2923 * It shouldn't see any other CPU to either dispatch to or steal
3001 * t The thread
3008 * disabled, so don't grab any locks because we should never block under
3012 lgrp_choose(kthread_t *t, cpupart_t *cpupart)
3021 ASSERT(t != NULL);
3023 THREAD_LOCK_HELD(t));
3026 p = t->t_procp;
3068 * lgroup affinities won't change (ie. p_lock, or
3071 if (t->t_lgrp_affinity) {
3072 lpl = lgrp_affinity_best(t, cpupart, lgrpid_start, B_FALSE);
3125 * The process doesn't have any threads on this lgrp,
3141 * Return root lgroup if threshold isn't set to maximum value and
3251 * cpu_lock, kpreempt_disable(), or thread_lock -- to assure t's new lgrp
3252 * doesn't get removed from t's partition
3258 lgrp_move_thread(kthread_t *t, lpl_t *newlpl, int do_lgrpset_delete)
3267 ASSERT(t);
3269 THREAD_LOCK_HELD(t));
3274 if ((oldlpl = t->t_lpl) == newlpl)
3278 * Make sure the thread's lwp hasn't exited (if so, this thread is now
3281 if (t->t_proc_flag & TP_LWPEXIT) {
3283 t->t_lpl = newlpl;
3288 p = ttoproc(t);
3315 if ((tp != t) &&
3320 * moving, p_lgrpset doesn't change.
3341 if ((t->t_anttime + lgrp_min_nsec > gethrtime()) &&
3379 t->t_lpl = newlpl;
3380 if (t->t_tid == 1 && p->p_t1_lgrpid != newlpl->lpl_lgrpid) {
3433 t->t_anttime = gethrtime();
3510 * segment drivers which haven't recompiled to allow for
3527 * Return 0 if policy wasn't set already and 1 if policy was set already
3619 * There isn't any mutual exclusion that exists between calls
3641 * Just return null if the lgrp framework hasn't finished
3700 * If the CPU isn't currently in an lgrp, then opt to
3901 * Don't need any locks because this is called when anon_map is
4014 * Don't need any locks because anon_map is being freed
4124 * Return 0 if policy wasn't set already, 1 if policy was set already, and
4125 * -1 if can't set policy.
4189 * Create AVL tree if there isn't one yet
4229 * Didn't find any existing segment that contains specified