Lines Matching refs:lgrp

39 #include <sys/lgrp.h>
62 lgrp_t *lgrp;
162 lgrp = lgrp_pfn_to_lgrp(pfn);
163 if (lgrp) {
164 out_array[i] = lgrp->lgrp_id;
207 lgrp = lgrp_pfn_to_lgrp(pfn);
208 if (lgrp) {
210 lgrp->lgrp_id;
321 lgrp_affinity_get_thread(proc_t *p, id_t lwpid, lgrp_id_t lgrp)
352 aff = t->t_lgrp_affinity[lgrp];
375 lgrp_id_t lgrp;
387 lgrp = args.lgrp;
392 if (lgrp < 0 || lgrp == LGRP_NONE)
398 if (lgrp > lgrp_alloc_max)
413 aff = lgrp_affinity_get_thread(p, id, lgrp);
419 aff = t->t_lgrp_affinity[lgrp];
442 aff = lgrp_affinity_get_thread(p, P_ANY, lgrp);
568 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff,
604 affs[lgrp] = aff;
610 best_lpl = lgrp_affinity_best(t, t->t_cpupart, lgrp, B_TRUE);
620 best == lgrp))
634 lgrp_affinity_set_proc(proc_t *p, lgrp_id_t lgrp, lgrp_affinity_t aff,
654 retval = lgrp_affinity_set_thread(t, lgrp, aff, &buf);
691 lgrp_id_t lgrp;
704 lgrp = args.lgrp;
710 if (lgrp < 0 || lgrp == LGRP_NONE)
716 if (lgrp > lgrp_alloc_max)
752 retval = lgrp_affinity_set_thread(curthread, lgrp, aff,
764 lgrp, aff, &aff_buf);
876 retval = lgrp_affinity_set_proc(p, lgrp, aff,
1413 lgrp_t *lgrp;
1415 lgrp = lgrp_table[i];
1416 if (!LGRP_EXISTS(lgrp)) {
1423 lgrp_info[i].info_latency = lgrp->lgrp_latency;
1431 if (lgrp->lgrp_parent)
1433 lgrp->lgrp_parent->lgrp_id);
1439 if (klgrpset_ismember(lgrp->lgrp_children, j))
1452 if (klgrpset_ismember(lgrp->lgrp_set[j], k))
1461 cp = head = lgrp->lgrp_cpu;
1471 ASSERT(cpu_count == lgrp->lgrp_cpucnt);
1478 if (klgrpset_ismember(lgrp->lgrp_set[LGRP_RSRC_MEM], i)) {
1496 lgrp_lats[i][j] = lgrp_latency(lgrp->lgrp_id,