/titanic_44/usr/src/uts/common/os/ |
H A D | msacct.c | 262 aggr_time = ms->ms_acct[LMS_USER] + in mstate_thread_onproc_time() 271 if (mstate == LMS_USER || mstate == LMS_SYSTEM || mstate == LMS_TRAP) { in mstate_thread_onproc_time() 315 ASSERT(ms->ms_acct[LMS_USER] == 0); in mstate_systhread_times() 418 if (fromms == LMS_USER) in syscall_mstate() 428 if ((toms != LMS_USER) && (cpu->cpu_mstate != CMS_SYSTEM)) { in syscall_mstate() 430 } else if ((toms == LMS_USER) && (cpu->cpu_mstate != CMS_USER)) { in syscall_mstate() 670 if (state == LMS_USER) in new_mstate() 689 if (new_state == LMS_USER && t->t_cpu->cpu_mstate != CMS_USER) in new_mstate() 691 else if (new_state != LMS_USER && in new_mstate()
|
H A D | exit.c | 725 hrutime = mstate_aggr_state(p, LMS_USER); in proc_exit() 730 p->p_acct[LMS_USER] += p->p_cacct[LMS_USER]; in proc_exit() 1257 p->p_nextofkin->p_cacct[LMS_USER] += p->p_acct[LMS_USER]; in freeproc()
|
H A D | acct.c | 409 ag->acctbuf.ac_utime = acct_compress(NSEC_TO_TICK(p->p_acct[LMS_USER])); in acct()
|
H A D | exacct.c | 362 tu->tu_utime += mstate_aggr_state(p, LMS_USER); in exacct_snapshot_task_usage() 414 tu->tu_utime += mstate_aggr_state(p, LMS_USER); in exacct_update_task_mstate() 940 hrt2ts(mstate_aggr_state(p, LMS_USER), &ts); in exacct_calculate_proc_usage() 1762 tu->tu_utime = mstate_aggr_state(p, LMS_USER); in exacct_snapshot_proc_mstate()
|
H A D | timers.c | 681 case LMS_USER: in realprofexpire()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | times.c | 55 mstate_aggr_state(p, LMS_USER)); in times() 85 mstate_aggr_state(p, LMS_USER)); in times32()
|
H A D | rusagesys.c | 63 unsecs = mstate_aggr_state(p, LMS_USER); in getrusage() 134 unsecs = p->p_cacct[LMS_USER]; in getrusage_chld() 197 unsecs = ms->ms_acct[LMS_USER]; in getrusage_lwp()
|
H A D | lwp_info.c | 54 hrutime = lwp->lwp_mstate.ms_acct[LMS_USER]; in lwp_info()
|
/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 | 107 printf("#define\tLMS_USER 0x%x\n", LMS_USER); in main()
|
H A D | fast_trap_asm.s | 76 return (gethrtime() - ms->ms_state_start + ms->ms_acct[LMS_USER]);
|
H A D | syscall_asm.s | 620 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER)
|
H A D | offsets.in | 165 \#define LWP_ACCT_USER _CONST(LWP_MS_ACCT + _MUL(LMS_USER, LWP_MS_ACCT_INCR))
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | msacct.h | 37 #define LMS_USER 0 /* running in user mode */ macro
|
/titanic_44/usr/src/uts/sun4/ml/ |
H A D | genconst.c | 110 printf("#define\tLMS_USER 0x%x\n", LMS_USER); in main()
|
H A D | offsets.in | 266 \#define LWP_ACCT_USER (LWP_MS_ACCT + (LMS_USER * LWP_MS_ACCT_INCR))
|
/titanic_44/usr/src/uts/common/tnf/ |
H A D | tnf_res.c | 275 LMS_USER : LMS_SYSTEM)
|
/titanic_44/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 896 hrt2ts(mstate_aggr_state(p, LMS_USER), &sp->pr_utime); in prgetstatus() 1010 usr = ms->ms_acct[LMS_USER]; in prgetlwpstatus32() 1119 hrt2ts32(mstate_aggr_state(p, LMS_USER), &sp->pr_utime); in prgetstatus32() 1238 usr = ms->ms_acct[LMS_USER]; in prgetlwpstatus() 2277 hrutime = mstate_aggr_state(p, LMS_USER); in prgetpsinfo() 2410 hrutime = mstate_aggr_state(p, LMS_USER); in prgetpsinfo32() 2540 hrutime = lwp->lwp_mstate.ms_acct[LMS_USER]; in prgetlwpsinfo() 2610 hrutime = lwp->lwp_mstate.ms_acct[LMS_USER]; in prgetlwpsinfo32() 2824 pup->pr_utime = ms->ms_acct[LMS_USER]; in prgetusage() 2884 case LMS_USER: mstimep = &pup->pr_utime; break; in prgetusage() [all …]
|
H A D | prioctl.c | 1087 pup->pr_utime = p->p_acct[LMS_USER]; in prioctl64() 1178 pup->pr_utime = p->p_acct[LMS_USER]; in prioctl64() 1430 hrt2ts32(mstate_aggr_state(p, LMS_USER), &sp->pr_utime); in oprgetstatus32() 1576 hrutime = mstate_aggr_state(p, LMS_USER); in oprgetpsinfo32() 2717 pup->pr_utime = p->p_acct[LMS_USER]; in prioctl32() 2808 pup->pr_utime = p->p_acct[LMS_USER]; in prioctl32() 3267 hrt2ts(mstate_aggr_state(p, LMS_USER), &sp->pr_utime); in oprgetstatus() 3415 hrutime = mstate_aggr_state(p, LMS_USER); in oprgetpsinfo()
|
H A D | prvnops.c | 1151 pup->pr_utime = p->p_acct[LMS_USER]; in pr_read_usage() 1261 pup->pr_utime = p->p_acct[LMS_USER]; in pr_read_lusage() 2176 pup->pr_utime = p->p_acct[LMS_USER]; in pr_read_usage_32() 2286 pup->pr_utime = p->p_acct[LMS_USER]; in pr_read_lusage_32()
|
/titanic_44/usr/src/uts/sparc/v9/ml/ |
H A D | syscall_trap.s | 248 mov LMS_USER, %o1
|
/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()
|
/titanic_44/usr/src/uts/i86pc/os/ |
H A D | trap.c | 1273 mstate = LMS_USER; in trap() 1546 tnf_microstate, state, LMS_USER); in trap()
|
/titanic_44/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.s | 500 ldx [%g3 + LWP_ACCT_USER], %g1 ! ms_acct[LMS_USER]
|
/titanic_44/usr/src/uts/sun4u/cpu/ |
H A D | common_asm.s | 654 ldx [%g3 + LWP_ACCT_USER], %g1 ! ms_acct[LMS_USER]
|