Lines Matching refs:scp
1105 volatile sc_shared_t *scp;
1108 if ((scp = self->ul_schedctl) == NULL && /* no shared state yet */
1114 self->ul_schedctl = scp = tmp;
1123 return (scp);
1134 volatile sc_shared_t *scp = setup_schedctl();
1135 return ((scp == NULL)? NULL : (schedctl_t *)&scp->sc_preemptctl);
1168 volatile sc_shared_t *scp;
1172 if ((scp = self->ul_schedctl) != NULL ||
1173 (scp = setup_schedctl()) != NULL) {
1177 self->ul_savpreempt = scp->sc_preemptctl.sc_nopreempt;
1178 scp->sc_preemptctl.sc_nopreempt = 1;
1189 volatile sc_shared_t *scp;
1193 if ((scp = self->ul_schedctl) != NULL) {
1197 scp->sc_preemptctl.sc_nopreempt = self->ul_savpreempt;
1198 if (scp->sc_preemptctl.sc_yield &&
1199 scp->sc_preemptctl.sc_nopreempt == 0) {
1201 if (scp->sc_preemptctl.sc_yield) {
1208 scp->sc_preemptctl.sc_yield = 0;
1227 volatile sc_shared_t *scp = self->ul_schedctl;
1230 if ((scp != NULL && scp->sc_preemptctl.sc_yield) ||
1251 volatile sc_shared_t *scp;
1256 if ((scp = curthread->ul_schedctl) != NULL ||
1257 (scp = setup_schedctl()) != NULL) {
1258 cpu = scp->sc_cpu;
1280 volatile sc_shared_t *scp;
1361 ((scp = ulwp->ul_schedctl) == NULL ||
1362 scp->sc_state != SC_ONPROC))
1432 volatile sc_shared_t *scp;
1449 ((scp = ulwp->ul_schedctl) == NULL ||
1450 scp->sc_state != SC_ONPROC))