Home
last modified time | relevance | path

Searched refs:LMS_SYSTEM (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/uts/common/os/
H A Dmsacct.c106 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 Dmain.c338 init_mstate(curthread, LMS_SYSTEM); in start_init_common()
441 init_mstate(&t0, LMS_SYSTEM); in main()
H A Dexit.c726 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 Dacct.c411 NSEC_TO_TICK(p->p_acct[LMS_SYSTEM] + p->p_acct[LMS_TRAP])); in acct()
H A Dexacct.c363 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 Dtimers.c682 case LMS_SYSTEM: in realprofexpire()
686 mstate = LMS_SYSTEM; in realprofexpire()
/titanic_44/usr/src/uts/common/syscall/
H A Dtimes.c57 mstate_aggr_state(p, LMS_SYSTEM)); in times()
87 mstate_aggr_state(p, LMS_SYSTEM)); in times32()
H A Drusagesys.c64 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 Dlwp_info.c55 hrstime = lwp->lwp_mstate.ms_acct[LMS_SYSTEM] + in lwp_info()
H A Dlwp_sobj.c1331 (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 Dlwpsys.c536 (void) new_mstate(t, LMS_SYSTEM); in lwp_park()
/titanic_44/usr/src/uts/i86pc/ml/
H A Dsyscall_asm_amd64.s508 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 Dgenassym.c108 printf("#define\tLMS_SYSTEM 0x%x\n", LMS_SYSTEM); in main()
H A Dsyscall_asm.s620 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER)
H A Doffsets.in166 \#define LWP_ACCT_SYSTEM _CONST(LWP_MS_ACCT + _MUL(LMS_SYSTEM, LWP_MS_ACCT_INCR))
/titanic_44/usr/src/uts/common/sys/
H A Dmsacct.h38 #define LMS_SYSTEM 1 /* running in sys call or page fault */ macro
/titanic_44/usr/src/uts/sun4/ml/
H A Dgenconst.c111 printf("#define\tLMS_SYSTEM 0x%x\n", LMS_SYSTEM); in main()
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprsubr.c897 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 Dprioctl.c1088 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 Dtnf_res.c275 LMS_USER : LMS_SYSTEM)
/titanic_44/usr/src/uts/i86pc/os/
H A Dmlsetup.c346 init_mstate(&t0, LMS_SYSTEM); in mlsetup()
/titanic_44/usr/src/uts/sparc/v9/ml/
H A Dsyscall_trap.s246 mov LMS_SYSTEM, %o0
/titanic_44/usr/src/uts/sun4/os/
H A Dmlsetup.c207 init_mstate(&t0, LMS_SYSTEM); in mlsetup()
/titanic_44/usr/src/uts/intel/ia32/os/
H A Dsyscall.c883 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 Dsyscall.c364 syscall_mstate(LMS_USER, LMS_SYSTEM); in pre_syscall()
909 syscall_mstate(LMS_SYSTEM, LMS_USER); in post_syscall()

12