Lines Matching defs:lgrp

38 #include <sys/lgrp.h>
62 lgrp_t *lgrp;
180 lgrp = lgrp_pfn_to_lgrp(pfn);
181 if (lgrp) {
182 out_array[i] = lgrp->lgrp_id;
225 lgrp = lgrp_pfn_to_lgrp(pfn);
226 if (lgrp) {
228 lgrp->lgrp_id;
339 lgrp_affinity_get_thread(proc_t *p, id_t lwpid, lgrp_id_t lgrp)
370 aff = t->t_lgrp_affinity[lgrp];
393 lgrp_id_t lgrp;
405 lgrp = args.lgrp;
410 if (lgrp < 0 || lgrp == LGRP_NONE)
416 if (lgrp > lgrp_alloc_max)
431 aff = lgrp_affinity_get_thread(p, id, lgrp);
437 aff = t->t_lgrp_affinity[lgrp];
460 aff = lgrp_affinity_get_thread(p, P_ANY, lgrp);
586 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff,
622 affs[lgrp] = aff;
628 best_lpl = lgrp_affinity_best(t, t->t_cpupart, lgrp, B_TRUE);
638 best == lgrp))
652 lgrp_affinity_set_proc(proc_t *p, lgrp_id_t lgrp, lgrp_affinity_t aff,
672 retval = lgrp_affinity_set_thread(t, lgrp, aff, &buf);
709 lgrp_id_t lgrp;
722 lgrp = args.lgrp;
728 if (lgrp < 0 || lgrp == LGRP_NONE)
734 if (lgrp > lgrp_alloc_max)
770 retval = lgrp_affinity_set_thread(curthread, lgrp, aff,
782 lgrp, aff, &aff_buf);
894 retval = lgrp_affinity_set_proc(p, lgrp, aff,
1431 lgrp_t *lgrp;
1433 lgrp = lgrp_table[i];
1434 if (!LGRP_EXISTS(lgrp)) {
1441 lgrp_info[i].info_latency = lgrp->lgrp_latency;
1449 if (lgrp->lgrp_parent)
1451 lgrp->lgrp_parent->lgrp_id);
1457 if (klgrpset_ismember(lgrp->lgrp_children, j))
1470 if (klgrpset_ismember(lgrp->lgrp_set[j], k))
1479 cp = head = lgrp->lgrp_cpu;
1489 ASSERT(cpu_count == lgrp->lgrp_cpucnt);
1496 if (klgrpset_ismember(lgrp->lgrp_set[LGRP_RSRC_MEM], i)) {
1514 lgrp_lats[i][j] = lgrp_latency(lgrp->lgrp_id,