Lines Matching defs:retval
188 bsdthread_create(__unused struct proc *p, struct bsdthread_create_args *uap, user_addr_t *retval)
414 *retval = th_pthread;
429 bsdthread_terminate(__unused struct proc *p, struct bsdthread_terminate_args *uap, __unused int32_t *retval)
470 bsdthread_register(struct proc *p, struct bsdthread_register_args *uap, __unused int32_t *retval)
630 boolean_t retval;
678 retval = TRUE;
729 retval = workqueue_addnewthread(wq, FALSE);
743 retval = workqueue_run_nextreq(p, wq, THREAD_NULL, FALSE, FALSE, 0, 0);
746 if (retval == FALSE)
751 if (wq->wq_thidlecount == 0 && retval == TRUE && add_thread == TRUE)
1136 workq_open(struct proc *p, __unused struct workq_open_args *uap, __unused int32_t *retval)
1255 workq_kernreturn(struct proc *p, struct workq_kernreturn_args *uap, __unused int32_t *retval)
1894 int retval = 0;
1897 retval = proc_setthread_saved_importance(th_to_run, workqueue_importance[priority]);
1898 if (retval == 0) {
2424 int thread_selfid(__unused struct proc *p, __unused struct thread_selfid_args *uap, uint64_t *retval)
2427 *retval = thread_tid(thread);