Searched refs:uth (Results 1 - 16 of 16) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c702 uthread_t uth = get_bsdthread_info(th); local
704 act_thread_catt(uth->uu_userstate);
710 uth->uu_userstate = 0;
711 uth->uu_flag &= ~UT_VFORK;
713 if (uth->uu_flag & UT_WASSETUID) {
714 uth->uu_flag |= UT_SETUID;
715 uth->uu_flag &= UT_WASSETUID;
717 uth->uu_proc = 0;
718 uth->uu_sigmask = uth
1423 uthread_t uth; local
1507 uthread_t uth = (uthread_t)uthread; local
1590 uthread_t uth = (uthread_t)uthread; local
[all...]
H A Dkern_sig.c438 struct uthread * uth; local
447 uth = (struct uthread *)get_bsdthread_info(thact);
448 if (uth) {
449 uth->uu_siglist &= ~bit;
457 TAILQ_FOREACH(uth, &p->p_uthlist, uu_list) {
458 uth->uu_siglist &= ~bit;
472 struct uthread * uth; local
480 uth = (struct uthread *)get_bsdthread_info(thact);
481 if (uth) {
482 uth
502 struct uthread * uth; local
532 struct uthread * uth; local
829 struct uthread *uth; local
869 struct uthread *uth; local
900 struct uthread *uth; local
1137 struct uthread *uth; local
1229 struct uthread *uth; local
1325 struct uthread *uth; local
1624 struct uthread *uth; local
1659 struct uthread *uth; local
1718 struct uthread *uth; local
3022 struct uthread * uth; local
3053 struct uthread * uth; local
[all...]
H A Dpthread_support.c491 int ksyn_queue_insert(ksyn_wait_queue_t kwq, ksyn_queue_t kq, uint32_t mgen, struct uthread * uth, ksyn_waitq_element_t kwe, int firstfit);
765 uthread_t uth; local
776 uth = current_uthread();
778 kwe = &uth->uu_kwe;
780 kwe->kwe_uth = uth;
861 error = ksyn_queue_insert(kwq, &kwq->kw_ksynqueues[KSYN_QUEUE_WRITER], mgen, uth, kwe, ins_flags);
891 uthread_t uth = current_uthread(); local
895 kwe = &uth->uu_kwe;
921 uth->uu_rval[0] = updatebits;
1041 uthread_t uth local
1245 uthread_t uth; local
1424 uthread_t uth = current_uthread(); local
1589 uthread_t uth; local
1764 uthread_t uth; local
1906 uthread_t uth; local
2060 uthread_t uth; local
2207 uthread_t uth; local
2320 uthread_t uth; local
2474 uthread_t uth; local
3092 uthread_t uth = NULL; local
3131 uthread_t uth = NULL; local
3350 uthread_t uth; local
3856 ksyn_queue_insert(ksyn_wait_queue_t kwq, ksyn_queue_t kq, uint32_t mgen, struct uthread * uth, ksyn_waitq_element_t kwe, int fit) argument
[all...]
H A Dpthread_synch.c840 struct uthread *uth; local
843 uth = get_bsdthread_info(current_thread());
844 if ((tl = uth->uu_threadlist))
882 struct uthread *uth; local
886 uth = get_bsdthread_info(thread);
887 tl = uth->uu_threadlist;
950 struct uthread * uth; local
973 uth = get_bsdthread_info(tl->th_thread);
974 if (uth != (struct uthread *)0) {
975 uth
1018 struct uthread *uth; local
1333 struct uthread *uth = get_bsdthread_info(th); local
1433 struct uthread *uth; local
1540 struct uthread *uth = NULL; local
2030 struct uthread *uth = NULL; local
2104 struct uthread *uth = NULL; local
[all...]
H A Dsys_generic.c985 struct uthread *uth; local
991 uth = get_bsdthread_info(th_act);
992 sel = &uth->uu_select;
1098 if (uth->uu_allocsize) {
1099 if (uth->uu_wqset == 0)
1102 if (size > uth->uu_allocsize) {
1103 kfree(uth->uu_wqset, uth->uu_allocsize);
1104 uth->uu_allocsize = size;
1105 uth
1153 struct uthread *uth; local
1751 uthread_t uth = get_bsdthread_info(current_thread()); local
[all...]
H A Dkern_exit.c439 struct uthread * uth; local
444 uth = (struct uthread *)get_bsdthread_info(current_thread());
547 if (uth->uu_lowpri_window) {
803 uth->uu_flag |= UT_PROCEXIT;
902 if (uth->uu_lowpri_window) {
1217 uthread_t uth = (struct uthread *)get_bsdthread_info(current_thread()); local
1219 if ( (uth->uu_sigmask & mask) != 0 ) {
1225 uth->uu_siglist &= ~mask; /* clear pending signal */
H A Dkern_proc.c362 struct uthread *uth; local
365 uth = get_bsdthread_info(thread);
366 if (uth && (uth->uu_flag & UT_VFORK))
367 p = uth->uu_proc;
772 uthread_t uth = TAILQ_FIRST(&proc->p_uthlist); local
774 if (uth != NULL)
775 return(uth->uu_context.vc_thread);
H A Dproc_info.c692 bsd_getthreadname(void *uth, char *buffer) argument
694 struct uthread *ut = (struct uthread *)uth;
700 bsd_threadcdir(void * uth, void *vptr, int *vidp) argument
702 struct uthread * ut = (struct uthread *)uth;
/darwin-on-arm/xnu/bsd/sys/
H A Dbsdtask_info.h113 void bsd_getthreadname(void *uth, char* buffer);
114 void bsd_threadcdir(void * uth, void *vptr, int *vidp);
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Ddtrace_ptss.c244 struct uthread* uth; local
250 TAILQ_FOREACH(uth, &p->p_uthlist, uu_list) {
251 uth->t_dtrace_scratch = dtrace_ptss_claim_entry_locked(p);
/darwin-on-arm/xnu/bsd/miscfs/specfs/
H A Dspec_vnops.c2045 uthread_t uth; local
2060 uth = get_bsdthread_info(current_thread());
2076 old_wqs = uth->uu_wqset;
2077 uth->uu_wqset = kn->kn_kq->kq_wqs;
2079 uth->uu_wqset = old_wqs;
2100 uthread_t uth; local
2105 uth = get_bsdthread_info(current_thread());
2117 old_wqs = uth->uu_wqset;
2118 uth->uu_wqset = kn->kn_kq->kq_wqs;
2120 uth
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_lookup.c1174 uthread_t uth; local
1219 uth = (struct uthread *)get_bsdthread_info(current_thread());
1223 uth->uu_notrigger = 1;
1229 uth->uu_notrigger = 0;
H A Dvfs_syscalls.c1612 struct uthread * uth = get_bsdthread_info(current_thread()); local
1616 if (uth != (struct uthread *)0)
1617 uth->uu_notrigger = 1;
1619 if (uth != (struct uthread *)0)
1620 uth->uu_notrigger = 0;
2658 uthread_t uth = get_bsdthread_info(th); local
2659 tvp = uth->uu_cdir;
2660 uth->uu_cdir = NULLVP;
2713 uthread_t uth = get_bsdthread_info(th); local
2714 tvp = uth
2787 uthread_t uth = get_bsdthread_info(th); local
[all...]
H A Dkpi_vfs.c1415 uthread_t uth = get_bsdthread_info(ctx->vc_thread); local
1422 if ((cwd = uth->uu_cdir) == NULLVP &&
H A Dvfs_subr.c7867 struct uthread *uth = (struct uthread *)get_bsdthread_info(current_thread()); local
7868 return (uth->uu_notrigger);
/darwin-on-arm/xnu/bsd/net/
H A Ddlil.c3685 struct uthread *uth = get_bsdthread_info(current_thread()); local
3686 return ((uth->uu_network_lock_held & flag) == flag);
3692 struct uthread *uth = get_bsdthread_info(current_thread()); local
3694 VERIFY((uth->uu_network_lock_held & flag) != flag);
3695 uth->uu_network_lock_held |= flag;
3701 struct uthread *uth = get_bsdthread_info(current_thread()); local
3703 VERIFY((uth->uu_network_lock_held & flag) == flag);
3704 uth->uu_network_lock_held &= (~flag);

Completed in 162 milliseconds