/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/ |
H A D | stubs.c | 90 struct uthread *ut; local 91 ut = get_bsdthread_info(th); 92 return((void *)(ut->uu_arg)); 98 struct uthread *ut; local 99 ut = get_bsdthread_info(th); 100 return(&ut->uu_rval[0]);
|
H A D | unix_signal.c | 200 struct uthread *ut; local 211 ut = get_bsdthread_info(th_act); 358 oonstack = ut->uu_sigstk.ss_flags & SA_ONSTACK; 361 if ((ut->uu_flag & UT_ALTSTACK) && !oonstack && 363 sp = ut->uu_sigstk.ss_sp; 364 sp += ut->uu_sigstk.ss_size; 365 stack_size = ut->uu_sigstk.ss_size; 366 ut->uu_sigstk.ss_flags |= SA_ONSTACK; 689 ut->uu_sigmask &= ~sig; 724 struct uthread * ut; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | stubs.c | 124 struct uthread *ut; local 126 ut = get_bsdthread_info(th); 131 arg_ptr = (void *)(ut->uu_arg); 139 struct uthread *ut; local 141 ut = get_bsdthread_info(th); 142 return(&ut->uu_rval[0]);
|
H A D | unix_signal.c | 124 struct uthread * ut; local 129 ut = get_bsdthread_info(thread); 134 oonstack = ut->uu_sigstk.ss_flags & SA_ONSTACK; 170 if ((ut->uu_flag & UT_ALTSTACK) && !oonstack && 172 ua_sp = ut->uu_sigstk.ss_sp; 173 stack_size = ut->uu_sigstk.ss_size; 175 ut->uu_sigstk.ss_flags |= SA_ONSTACK; 277 if ((ut->uu_flag & UT_ALTSTACK) && !oonstack && 279 ua_sp = ut->uu_sigstk.ss_sp; 280 stack_size = ut 552 struct uthread * ut; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | kern_synch.c | 71 struct uthread * ut; local 76 ut = get_bsdthread_info(self); 77 catch = ut->uu_pri & PCATCH; 78 dropmutex = ut->uu_pri & PDROP; 97 } else if (SHOULDissignal(p,ut)) { 107 } else if( (ut->uu_flag & ( UT_CANCELDISABLE | UT_CANCEL | UT_CANCELED)) == UT_CANCEL) { 119 if (ut->uu_mtx && !dropmutex) 120 lck_mtx_lock(ut->uu_mtx); 122 ut->uu_wchan = NULL; 123 ut 160 struct uthread * ut; local [all...] |
H A D | bsd_stubs.c | 81 struct uthread * ut; local 85 ut = (struct uthread *)get_bsdthread_info(thread); 86 if (ut && (ut->uu_flag & UT_VFORK) && ut->uu_proc) { 87 p = ut->uu_proc;
|
H A D | kern_sig.c | 618 struct uthread *ut; local 620 ut = (struct uthread *)get_bsdthread_info(thread); 634 ut->uu_siglist &= ~mask; 645 ut->uu_sigstk.ss_flags = SA_DISABLE; 646 ut->uu_sigstk.ss_size = 0; 647 ut->uu_sigstk.ss_sp = USER_ADDR_NULL; 648 ut->uu_flag &= ~UT_ALTSTACK; 665 struct uthread *ut; local 667 ut = (struct uthread *)get_bsdthread_info(current_thread()); 668 oldmask = ut 707 struct uthread *ut; local 741 struct uthread *ut; local 988 struct uthread *ut; local 1045 struct uthread *ut; local 1998 struct uthread * ut; local 2299 struct uthread * ut; local 2452 struct uthread * ut; local 2635 struct uthread *ut = get_bsdthread_info(thread); local [all...] |
H A D | kern_fork.c | 186 uthread_t ut; local 221 ut = (uthread_t)get_bsdthread_info(cur_act); 222 if (ut->uu_flag & UT_VFORK) { 281 ut->uu_flag |= UT_VFORK; 282 ut->uu_proc = child; 283 ut->uu_userstate = (void *)act_thread_csave(); 284 ut->uu_vforkmask = ut->uu_sigmask; 287 if (ut->uu_flag & UT_SETUID) { 288 ut 338 uthread_t ut; local 1114 void *ut; local [all...] |
H A D | kern_resource.c | 221 struct uthread *ut; local 229 ut = get_bsdthread_info(thread); 232 if ( (ut->uu_flag & UT_BACKGROUND) != 0 ) { 440 struct uthread *ut; local 446 ut = get_bsdthread_info(thread); 450 if ( (ut->uu_flag & UT_BACKGROUND) == 0 ) { 456 ut->uu_flag &= ~UT_BACKGROUND; 457 ut->uu_iopol_disk = IOPOL_NORMAL; 493 if ( (ut->uu_flag & UT_BACKGROUND) != 0 ) { 499 ut 857 struct timeval ut,st; local 1067 struct uthread *ut = NULL; local [all...] |
H A D | kern_acct.c | 224 struct timeval ut, st, tmp; local 245 calcru(p, &ut, &st, NULL); 246 an_acct.ac_utime = encode_comp_t(ut.tv_sec, ut.tv_usec); 260 tmp = ut;
|
H A D | kern_exit.c | 209 struct uthread *ut; local 217 ut = get_bsdthread_info(self); 218 if (ut->uu_flag & UT_VFORK) { 231 AUDIT_SYSCALL_EXIT(SYS_exit, p, ut, 0); /* Exit is always successfull */ 277 struct uthread *ut; local 279 ut = get_bsdthread_info(self); 298 ((ut->uu_exception & 0x0f) << 20) | 299 ((int)ut->uu_code & 0xfffff); 300 subcode = ut->uu_subcode; 335 ut 602 struct timeval ut,st; local 1518 struct uthread *ut; local 1779 struct timeval ut,st; local [all...] |
H A D | bsd_init.c | 349 struct uthread *ut; local 419 ut = (uthread_t)get_bsdthread_info(current_thread()); 465 TAILQ_INSERT_TAIL(&p->p_uthlist, ut, uu_list); 487 ut->uu_context.vc_ucred = p->p_ucred; 488 ut->uu_context.vc_thread = current_thread(); 888 struct uthread *ut; local 905 ut = (uthread_t)get_bsdthread_info(thread); 992 struct uthread *ut; local 1006 ut = (struct uthread *)get_bsdthread_info(thread); 1007 ut [all...] |
H A D | mach_process.c | 116 struct uthread *ut; local 369 ut = (uthread_t)get_bsdthread_info(th_act); 371 ut->uu_siglist |= sigmask(uap->data);
|
H A D | tty.c | 828 struct uthread *ut; local 832 ut = (struct uthread *)get_bsdthread_info(current_thread()); 865 (ut->uu_sigmask & sigmask(SIGTTOU)) == 0) { 1596 struct uthread *ut; local 1601 ut = (struct uthread *)get_bsdthread_info(current_thread()); 1618 (ut->uu_sigmask & sigmask(SIGTTIN)) || 1886 struct uthread *ut; local 1888 ut = (struct uthread *)get_bsdthread_info(current_thread()); 1891 oldsig = wait ? ut->uu_siglist : 0; 1897 if (wait == 0 || ut 1918 struct uthread *ut; local [all...] |
H A D | kern_lockf.c | 438 struct uthread *ut; local 445 TAILQ_FOREACH(ut, &wproc->p_uthlist, uu_list) { 454 while (((waitblock = (struct lockf *)ut->uu_wchan) != NULL) && 455 ut->uu_wmesg == lockstr && 457 waitblock = (struct lockf *)ut->uu_wchan;
|
H A D | kern_event.c | 1004 uthread_t ut; local 1063 ut = (uthread_t)get_bsdthread_info(current_thread()); 1064 cont_args = (struct _kevent *)&ut->uu_kevent.ss_kevent; 1440 uthread_t ut = (uthread_t)get_bsdthread_info(current_thread()); local 1441 struct _kevent_scan * cont_args = &ut->uu_kevent.ss_kevent_scan; 1543 uthread_t ut = (uthread_t)get_bsdthread_info(current_thread()); local 1544 struct _kevent_scan *cont_args = &ut->uu_kevent.ss_kevent_scan;
|
H A D | tty_pty.c | 273 struct uthread *ut; local 280 ut = (struct uthread *)get_bsdthread_info(current_thread()); 285 (ut->uu_sigmask & sigmask(SIGTTIN)) ||
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/chud/ |
H A D | chud_process.c | 70 struct uthread *ut = get_bsdthread_info(current_thread()); local 80 if(-1 == pid && ut && ut->uu_proc) { 81 pid = proc_pid(ut->uu_proc);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/uxkern/ |
H A D | ux_exception.c | 238 struct uthread *ut; local 266 ut = get_bsdthread_info(th_act); 292 if (ut && (ut->uu_flag & UT_VFORK)) 293 p = ut->uu_proc; 317 (ut->uu_sigwait & mask) || 318 (ut->uu_sigmask & mask) || 324 ut->uu_sigwait &= ~mask; 325 ut->uu_sigmask &= ~mask; 333 ut [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/specfs/ |
H A D | spec_vnops.c | 663 struct uthread *ut; local 665 ut = get_bsdthread_info(current_thread()); 667 if (ut->uu_lowpri_window == 0) 670 max_try_num = lowpri_max_waiting_msecs / LOWPRI_SLEEP_INTERVAL * MAX(1, _throttle_io_info[ut->uu_devbsdunit].numthreads_throttling); 673 ut->uu_lowpri_window, 0, 0, 0, 0); 677 if (throttle_io_will_be_throttled(ut->uu_lowpri_window, ut->uu_devbsdunit)) { 685 ut->uu_lowpri_window, i*5, 0, 0, 0); 687 oldValue = OSDecrementAtomic(&_throttle_io_info[ut->uu_devbsdunit].numthreads_throttling); 688 ut 695 throttle_get_io_policy(struct uthread **ut) argument 746 struct uthread *ut; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | thread.c | 396 void *ut = thread->uthread; local 399 uthread_zone_free(ut); 599 void *ut = new_thread->uthread; local 603 uthread_cleanup(parent_task, ut, parent_task->bsd_info); 604 uthread_cred_free(ut); 605 uthread_zone_free(ut); 635 void *ut = new_thread->uthread; local 638 uthread_cleanup(parent_task, ut, parent_task->bsd_info); 640 uthread_cred_free(ut); 641 uthread_zone_free(ut); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/ |
H A D | vnode_pager.c | 356 struct uthread *ut; local 511 ut = get_bsdthread_info(current_thread()); 513 if (ut->uu_lowpri_window) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_cache.c | 542 struct uthread *ut; local 552 ut = get_bsdthread_info(current_thread()); 561 ut->uu_defer_reclaims = 1; 562 ut->uu_vreclaims = NULLVP; 615 ut->uu_defer_reclaims = 0; 617 while ( (vp = ut->uu_vreclaims) != NULLVP) { 618 ut->uu_vreclaims = vp->v_defer_reclaimlist;
|
H A D | vfs_subr.c | 1443 struct uthread *ut; local 1445 ut = get_bsdthread_info(current_thread()); 1448 !(ut->uu_flag & UT_RAGE_VNODES)) { 1684 struct uthread *ut; local 1686 ut = get_bsdthread_info(current_thread()); 1688 if (ut->uu_defer_reclaims) { 1689 vp->v_defer_reclaimlist = ut->uu_vreclaims; 1690 ut->uu_vreclaims = vp; 3922 struct uthread *ut; local 4060 ut 6714 struct uthread *ut; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | mount_internal.h | 389 int throttle_get_io_policy(struct uthread **ut);
|