Lines Matching refs:uthread
165 * has its task, thread, and uthread lent to the child process,
172 * operations on the task, thread, or uthread will result in
174 * state, when a task, thread, and uthread are realized for the
322 * with the task, thread, and uthread.
395 * thread creation, a uthread), which is then associated with the
482 * to create a task and thread (and uthread) for the benefit of
714 * the net effect is to provide a uthread structure for the
1100 uthread_zone = zinit(sizeof(struct uthread),
1101 THREAD_MAX * sizeof(struct uthread),
1102 THREAD_CHUNK * sizeof(struct uthread),
1120 bzero(ut, sizeof(struct uthread));
1177 * This routine frees all the BSD context in uthread except the credential.
1178 * It does not free the uthread structure as well
1181 uthread_cleanup(task_t task, void *uthread, void * bsd_info)
1184 uthread_t uth = (uthread_t)uthread;
1246 /* This routine releases the credential stored in uthread */
1248 uthread_cred_free(void *uthread)
1250 uthread_t uth = (uthread_t)uthread;
1252 /* and free the uthread itself */
1260 /* This routine frees the uthread structure held in thread structure */
1262 uthread_zone_free(void *uthread)
1264 /* and free the uthread itself */
1265 zfree(uthread_zone, uthread);