Home
last modified time | relevance | path

Searched refs:hrt_res (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/cmd/dispadmin/
H A Dsubr.c71 product = htp->hrt_secs * htp->hrt_res; in hrtconvert()
73 if (product / htp->hrt_res == htp->hrt_secs) { in hrtconvert()
116 if (htp->hrt_res == 0 || new_res == 0 || in _hrtnewres()
120 if (htp->hrt_rem >= htp->hrt_res) { in _hrtnewres()
121 htp->hrt_secs += htp->hrt_rem / htp->hrt_res; in _hrtnewres()
122 htp->hrt_rem = htp->hrt_rem % htp->hrt_res; in _hrtnewres()
127 htp->hrt_res = new_res; in _hrtnewres()
149 result = numerator / htp->hrt_res; in _hrtnewres()
171 modulus = numerator - result * htp->hrt_res; in _hrtnewres()
179 if (twomodulus >= htp->hrt_res) { in _hrtnewres()
[all …]
H A Ddispadmin.h65 ulong_t hrt_res; /* The resolution of hrt_rem. */ member
H A Dfssdispadmin.c171 hrtime.hrt_res = HZ; in getadmin()
261 hrtime.hrt_res = res; in setadmin()
H A Dfxdispadmin.c196 hrtime.hrt_res = HZ; in get_fxdptbl()
323 hrtime.hrt_res = res; in set_fxdptbl()
H A Drtdispadmin.c193 hrtime.hrt_res = HZ; in get_rtdptbl()
351 hrtime.hrt_res = res;
H A Diadispadmin.c196 hrtime.hrt_res = HZ; in get_iadptbl()
351 hrtime.hrt_res = res;
H A Dtsdispadmin.c193 hrtime.hrt_res = HZ; in get_tsdptbl()
347 hrtime.hrt_res = res;
/titanic_41/usr/src/cmd/priocntl/
H A Dsubr.c594 if (htp->hrt_rem >= htp->hrt_res) {
595 htp->hrt_secs += htp->hrt_rem / htp->hrt_res;
596 htp->hrt_rem = htp->hrt_rem % htp->hrt_res;
601 htp->hrt_res = new_res;
623 result = numerator / htp->hrt_res;
645 modulus = numerator - result * htp->hrt_res;
653 if (twomodulus >= htp->hrt_res) {
660 htp->hrt_res = new_res;
665 if (result * htp->hrt_res != numerator) {
672 htp->hrt_res = new_res;
[all …]
H A Dpriocntl.h91 ulong_t hrt_res; /* The resolution of hrt_rem. */ member
H A Drtpriocntl.c394 hrtime.hrt_res = res; in set_rtprocs()
505 hrtime.hrt_res = res; in exec_rtcmd()
H A Dfxpriocntl.c398 hrtime.hrt_res = res; in set_fxprocs()
525 hrtime.hrt_res = res; in exec_fxcmd()
/titanic_41/usr/src/uts/i86pc/io/
H A Dhrtimers.c111 if ((error = hrt_checkres(temptofd.hrt_res)))
368 ulong new_res = td->hrt_res; in hrt_gettofd()
374 td->hrt_res = NANOSEC; in hrt_gettofd()
376 if (new_res != td->hrt_res) { in hrt_gettofd()
378 td->hrt_res = new_res; in hrt_gettofd()
/titanic_41/usr/src/uts/intel/sys/
H A Dhrtcntl.h116 ulong_t hrt_res; /* The resolution of hrt_rem. */ member