/titanic_44/usr/src/uts/common/os/ |
H A D | msacct.c | 106 ms->ms_prev = LMS_SYSTEM; in init_mstate() 263 ms->ms_acct[LMS_SYSTEM] + ms->ms_acct[LMS_TRAP]; in mstate_thread_onproc_time() 271 if (mstate == LMS_USER || mstate == LMS_SYSTEM || mstate == LMS_TRAP) { in mstate_thread_onproc_time() 322 aggr_onp = ms->ms_acct[LMS_SYSTEM]; in mstate_systhread_times() 332 if (mstate == LMS_SYSTEM && state_start < waitrq) in mstate_systhread_times() 363 if (a_state == LMS_SYSTEM) in mstate_aggr_state() 379 if (a_state == LMS_SYSTEM) { in mstate_aggr_state() 420 else if (fromms == LMS_SYSTEM) in syscall_mstate() 628 return (LMS_SYSTEM); in new_mstate() 644 mstimep = &ms->ms_acct[LMS_SYSTEM]; in new_mstate() [all …]
|
H A D | main.c | 338 init_mstate(curthread, LMS_SYSTEM); in start_init_common() 441 init_mstate(&t0, LMS_SYSTEM); in main()
|
H A D | exit.c | 726 hrstime = mstate_aggr_state(p, LMS_SYSTEM); in proc_exit() 731 p->p_acct[LMS_SYSTEM] += p->p_cacct[LMS_SYSTEM]; in proc_exit() 1258 p->p_nextofkin->p_cacct[LMS_SYSTEM] += p->p_acct[LMS_SYSTEM]; in freeproc()
|
H A D | acct.c | 411 NSEC_TO_TICK(p->p_acct[LMS_SYSTEM] + p->p_acct[LMS_TRAP])); in acct()
|
H A D | exacct.c | 363 tu->tu_stime += mstate_aggr_state(p, LMS_SYSTEM); in exacct_snapshot_task_usage() 415 tu->tu_stime += mstate_aggr_state(p, LMS_SYSTEM); in exacct_update_task_mstate() 943 hrt2ts(mstate_aggr_state(p, LMS_SYSTEM), &ts); in exacct_calculate_proc_usage() 1763 tu->tu_stime = mstate_aggr_state(p, LMS_SYSTEM); in exacct_snapshot_proc_mstate()
|
H A D | timers.c | 682 case LMS_SYSTEM: in realprofexpire() 686 mstate = LMS_SYSTEM; in realprofexpire()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | times.c | 57 mstate_aggr_state(p, LMS_SYSTEM)); in times() 87 mstate_aggr_state(p, LMS_SYSTEM)); in times32()
|
H A D | rusagesys.c | 64 snsecs = mstate_aggr_state(p, LMS_SYSTEM); in getrusage() 135 snsecs = p->p_cacct[LMS_SYSTEM] + p->p_cacct[LMS_TRAP]; in getrusage_chld() 198 snsecs = ms->ms_acct[LMS_SYSTEM] + ms->ms_acct[LMS_TRAP]; in getrusage_lwp()
|
H A D | lwp_info.c | 55 hrstime = lwp->lwp_mstate.ms_acct[LMS_SYSTEM] + in lwp_info()
|
H A D | lwp_sobj.c | 1331 (void) new_mstate(t, LMS_SYSTEM); in lwp_mutex_timedlock() 1773 (void) new_mstate(t, LMS_SYSTEM); in lwp_cond_wait() 1822 (void) new_mstate(t, LMS_SYSTEM); in lwp_cond_wait() 2646 (void) new_mstate(t, LMS_SYSTEM); in lwp_rwlock_lock() 2682 (void) new_mstate(t, LMS_SYSTEM); in lwp_rwlock_lock() 3094 (void) new_mstate(t, LMS_SYSTEM); in lwp_mutex_trylock()
|
H A D | lwpsys.c | 536 (void) new_mstate(t, LMS_SYSTEM); in lwp_park()
|
/titanic_44/usr/src/uts/i86pc/ml/ |
H A D | syscall_asm_amd64.s | 508 MSTATE_TRANSITION(LMS_USER, LMS_SYSTEM) 558 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER) 702 MSTATE_TRANSITION(LMS_USER, LMS_SYSTEM) 707 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER) 790 MSTATE_TRANSITION(LMS_USER, LMS_SYSTEM) 858 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER) 902 MSTATE_TRANSITION(LMS_USER, LMS_SYSTEM) 907 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER) 1061 MSTATE_TRANSITION(LMS_USER, LMS_SYSTEM) 1113 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER)
|
H A D | genassym.c | 108 printf("#define\tLMS_SYSTEM 0x%x\n", LMS_SYSTEM); in main()
|
H A D | syscall_asm.s | 620 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER)
|
H A D | offsets.in | 166 \#define LWP_ACCT_SYSTEM _CONST(LWP_MS_ACCT + _MUL(LMS_SYSTEM, LWP_MS_ACCT_INCR))
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | msacct.h | 38 #define LMS_SYSTEM 1 /* running in sys call or page fault */ macro
|
/titanic_44/usr/src/uts/sun4/ml/ |
H A D | genconst.c | 111 printf("#define\tLMS_SYSTEM 0x%x\n", LMS_SYSTEM); in main()
|
/titanic_44/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 897 hrt2ts(mstate_aggr_state(p, LMS_SYSTEM), &sp->pr_stime); in prgetstatus() 1011 sys = ms->ms_acct[LMS_SYSTEM] + ms->ms_acct[LMS_TRAP]; in prgetlwpstatus32() 1120 hrt2ts32(mstate_aggr_state(p, LMS_SYSTEM), &sp->pr_stime); in prgetstatus32() 1239 sys = ms->ms_acct[LMS_SYSTEM] + ms->ms_acct[LMS_TRAP]; in prgetlwpstatus() 2278 hrstime = mstate_aggr_state(p, LMS_SYSTEM); in prgetpsinfo() 2411 hrstime = mstate_aggr_state(p, LMS_SYSTEM); in prgetpsinfo32() 2542 hrstime = lwp->lwp_mstate.ms_acct[LMS_SYSTEM] + in prgetlwpsinfo() 2612 hrstime = lwp->lwp_mstate.ms_acct[LMS_SYSTEM] + in prgetlwpsinfo32() 2825 pup->pr_stime = ms->ms_acct[LMS_SYSTEM]; in prgetusage() 2880 state = LMS_SYSTEM; in prgetusage() [all …]
|
H A D | prioctl.c | 1088 pup->pr_stime = p->p_acct[LMS_SYSTEM]; in prioctl64() 1179 pup->pr_stime = p->p_acct[LMS_SYSTEM]; in prioctl64() 1431 hrt2ts32(mstate_aggr_state(p, LMS_SYSTEM), &sp->pr_stime); in oprgetstatus32() 1577 hrstime = mstate_aggr_state(p, LMS_SYSTEM); in oprgetpsinfo32() 2718 pup->pr_stime = p->p_acct[LMS_SYSTEM]; in prioctl32() 2809 pup->pr_stime = p->p_acct[LMS_SYSTEM]; in prioctl32() 3268 hrt2ts(mstate_aggr_state(p, LMS_SYSTEM), &sp->pr_stime); in oprgetstatus() 3416 hrstime = mstate_aggr_state(p, LMS_SYSTEM); in oprgetpsinfo()
|
/titanic_44/usr/src/uts/common/tnf/ |
H A D | tnf_res.c | 275 LMS_USER : LMS_SYSTEM)
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | mlsetup.c | 346 init_mstate(&t0, LMS_SYSTEM); in mlsetup()
|
/titanic_44/usr/src/uts/sparc/v9/ml/ |
H A D | syscall_trap.s | 246 mov LMS_SYSTEM, %o0
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 207 init_mstate(&t0, LMS_SYSTEM); in mlsetup()
|
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | syscall.c | 883 syscall_mstate(LMS_TRAP, LMS_SYSTEM); in dosyscall() 901 syscall_mstate(LMS_SYSTEM, LMS_TRAP); in dosyscall()
|
/titanic_44/usr/src/uts/sparc/os/ |
H A D | syscall.c | 364 syscall_mstate(LMS_USER, LMS_SYSTEM); in pre_syscall() 909 syscall_mstate(LMS_SYSTEM, LMS_USER); in post_syscall()
|