Lines Matching refs:aff
341 lgrp_affinity_t aff;
347 aff = LGRP_AFF_NONE;
370 aff = t->t_lgrp_affinity[lgrp];
377 aff = set_errno(ESRCH);
379 return (aff);
389 lgrp_affinity_t aff;
431 aff = lgrp_affinity_get_thread(p, id, lgrp);
433 aff = LGRP_AFF_NONE;
437 aff = t->t_lgrp_affinity[lgrp];
460 aff = lgrp_affinity_get_thread(p, P_ANY, lgrp);
467 aff = set_errno(EINVAL);
471 return (aff);
586 lgrp_affinity_set_thread(kthread_t *t, lgrp_id_t lgrp, lgrp_affinity_t aff,
612 if (aff == LGRP_AFF_NONE) {
622 affs[lgrp] = aff;
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);
704 lgrp_affinity_t aff;
723 aff = args.aff;
740 if (aff != LGRP_AFF_NONE && aff != LGRP_AFF_WEAK &&
741 aff != LGRP_AFF_STRONG)
770 retval = lgrp_affinity_set_thread(curthread, lgrp, aff,
782 lgrp, aff, &aff_buf);
894 retval = lgrp_affinity_set_proc(p, lgrp, aff,