Lines Matching defs:class
50 struct callb *c_next; /* next in class or on freelist */
53 uchar_t c_class; /* this callb's class */
70 * All callbs are organized into different class groups described
72 * The callbs within a class are single-linked and normally run by a
81 callb_t *ct_first_cb[NCBCLASS]; /* ptr to 1st callb in a class */
138 void *arg, int class, char *name, kthread_id_t t)
142 ASSERT(class < NCBCLASS);
155 cp->c_class = (uchar_t)class;
167 * Insert the new callb at the head of its class list.
169 cp->c_next = ct->ct_first_cb[class];
170 ct->ct_first_cb[class] = cp;
184 void *arg, int class, char *name)
186 return (callb_add_common(func, arg, class, name, curthread));
197 void *arg, int class, char *name, kthread_id_t t)
199 return (callb_add_common(func, arg, class, name, t));
238 /* relink the class list */
251 * class: indicates to execute all callbs in the same class;
257 callb_execute_class(int class, int code)
262 ASSERT(class < NCBCLASS);
266 for (cp = ct->ct_first_cb[class];