Lines Matching defs:nthread
733 cmn_err(CE_WARN, "!nst_destroy(%p): nthread != 0 (%d)",
775 nst_add_thread(nstset_t *set, int nthread)
780 if (!set || nthread < 1) {
783 "!nst_add_thread(%p, %d) - bad args", (void *)set, nthread);
788 for (i = 0; i < nthread; i++) {
812 nst_del_thread(nstset_t *set, int nthread)
817 if (!set || nthread < 1) {
820 "!nst_del_thread(%p, %d) - bad args", (void *)set, nthread);
825 for (i = 0; i < nthread; i++) {
874 nst_init(char *name, int nthread)
879 if (nthread < 1) {
886 if (nthread > USHRT_MAX) {
929 if (nthread > sp->set_nthread) {
931 nthread - sp->set_nthread);
933 if (i != (nthread - sp->set_nthread))
937 (nthread - sp->set_nthread), i);
953 i = nst_add_thread(set, nthread);
955 if (i != nthread) {
959 nthread, i);