Lines Matching refs:sc_shared_t

72 	sc_shared_t	*spc_base;	/* base of kernel page */
73 sc_shared_t *spc_end; /* end of usable space */
90 static int schedctl_shared_alloc(sc_shared_t **, uintptr_t *);
91 static sc_page_ctl_t *schedctl_page_lookup(sc_shared_t *);
111 sc_shared_t *ssp; in schedctl()
145 sc_shared_t *ssp = t->t_schedctl; in schedctl_lwp_cleanup()
172 pagep->spc_space += sizeof (sc_shared_t); in schedctl_lwp_cleanup()
218 sc_shared_t *ssp = arg; in schedctl_save()
231 sc_shared_t *ssp = arg; in schedctl_restore()
314 sc_shared_t *tdp = t->t_schedctl; in schedctl_set_cidpri()
333 sc_shared_t *tdp = t->t_schedctl; in schedctl_sigblock()
357 sc_shared_t *tdp = t->t_schedctl; in schedctl_finish_sigblock()
379 sc_shared_t *tdp = curthread->t_schedctl; in schedctl_cancel_pending()
401 sc_shared_t *tdp = curthread->t_schedctl; in schedctl_cancel_eintr()
415 sc_shared_t *tdp = curthread->t_schedctl; in schedctl_is_park()
444 sc_shared_t *tdp = curthread->t_schedctl; in schedctl_set_park()
456 sc_shared_t *tdp = curthread->t_schedctl; in schedctl_unpark()
475 sc_pagesize = PAGESIZE - (PAGESIZE % sizeof (sc_shared_t)); in schedctl_init()
480 sc_bitmap_len = sc_pagesize / sizeof (sc_shared_t); in schedctl_init()
486 schedctl_shared_alloc(sc_shared_t **kaddrp, uintptr_t *uaddrp) in schedctl_shared_alloc()
490 sc_shared_t *ssp; in schedctl_shared_alloc()
532 pagep->spc_base = (sc_shared_t *)kaddr; in schedctl_shared_alloc()
533 pagep->spc_end = (sc_shared_t *)(kaddr + sc_pagesize); in schedctl_shared_alloc()
548 ASSERT(pagep != NULL && pagep->spc_space >= sizeof (sc_shared_t)); in schedctl_shared_alloc()
558 pagep->spc_space -= sizeof (sc_shared_t); in schedctl_shared_alloc()
575 schedctl_page_lookup(sc_shared_t *ssp) in schedctl_page_lookup()