Home
last modified time | relevance | path

Searched refs:LMS_USER (Results 1 – 25 of 26) sorted by relevance

12

/titanic_44/usr/src/uts/common/os/
H A Dmsacct.c262 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 Dexit.c725 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 Dacct.c409 ag->acctbuf.ac_utime = acct_compress(NSEC_TO_TICK(p->p_acct[LMS_USER])); in acct()
H A Dexacct.c362 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 Dtimers.c681 case LMS_USER: in realprofexpire()
/titanic_44/usr/src/uts/common/syscall/
H A Dtimes.c55 mstate_aggr_state(p, LMS_USER)); in times()
85 mstate_aggr_state(p, LMS_USER)); in times32()
H A Drusagesys.c63 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 Dlwp_info.c54 hrutime = lwp->lwp_mstate.ms_acct[LMS_USER]; in lwp_info()
/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.c107 printf("#define\tLMS_USER 0x%x\n", LMS_USER); in main()
H A Dfast_trap_asm.s76 return (gethrtime() - ms->ms_state_start + ms->ms_acct[LMS_USER]);
H A Dsyscall_asm.s620 MSTATE_TRANSITION(LMS_SYSTEM, LMS_USER)
H A Doffsets.in165 \#define LWP_ACCT_USER _CONST(LWP_MS_ACCT + _MUL(LMS_USER, LWP_MS_ACCT_INCR))
/titanic_44/usr/src/uts/common/sys/
H A Dmsacct.h37 #define LMS_USER 0 /* running in user mode */ macro
/titanic_44/usr/src/uts/sun4/ml/
H A Dgenconst.c110 printf("#define\tLMS_USER 0x%x\n", LMS_USER); in main()
H A Doffsets.in266 \#define LWP_ACCT_USER (LWP_MS_ACCT + (LMS_USER * LWP_MS_ACCT_INCR))
/titanic_44/usr/src/uts/common/tnf/
H A Dtnf_res.c275 LMS_USER : LMS_SYSTEM)
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprsubr.c896 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 Dprioctl.c1087 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 Dprvnops.c1151 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 Dsyscall_trap.s248 mov LMS_USER, %o1
/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()
/titanic_44/usr/src/uts/i86pc/os/
H A Dtrap.c1273 mstate = LMS_USER; in trap()
1546 tnf_microstate, state, LMS_USER); in trap()
/titanic_44/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s500 ldx [%g3 + LWP_ACCT_USER], %g1 ! ms_acct[LMS_USER]
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.s654 ldx [%g3 + LWP_ACCT_USER], %g1 ! ms_acct[LMS_USER]

12