Searched refs:ut (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dstubs.c90 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 Dunix_signal.c200 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 Dstubs.c124 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 Dunix_signal.c124 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 Dkern_synch.c71 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 Dbsd_stubs.c81 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 Dkern_sig.c618 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 Dkern_fork.c186 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 Dkern_resource.c221 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 Dkern_acct.c224 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 Dkern_exit.c209 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 Dbsd_init.c349 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 Dmach_process.c116 struct uthread *ut; local
369 ut = (uthread_t)get_bsdthread_info(th_act);
371 ut->uu_siglist |= sigmask(uap->data);
H A Dtty.c828 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 Dkern_lockf.c438 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 Dkern_event.c1004 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 Dtty_pty.c273 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 Dchud_process.c70 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 Dux_exception.c238 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 Dspec_vnops.c663 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 Dthread.c396 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 Dvnode_pager.c356 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 Dvfs_cache.c542 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 Dvfs_subr.c1443 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 Dmount_internal.h389 int throttle_get_io_policy(struct uthread **ut);

Completed in 137 milliseconds

12