Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/dispadmin/
H A Dsubr.c69 product = htp->hrt_secs * htp->hrt_res; in hrtconvert()
71 if (product / htp->hrt_res == htp->hrt_secs) { in hrtconvert()
114 if (htp->hrt_res == 0 || new_res == 0 || in _hrtnewres()
118 if (htp->hrt_rem >= htp->hrt_res) { in _hrtnewres()
119 htp->hrt_secs += htp->hrt_rem / htp->hrt_res; in _hrtnewres()
120 htp->hrt_rem = htp->hrt_rem % htp->hrt_res; in _hrtnewres()
125 htp->hrt_res = new_res; in _hrtnewres()
147 result = numerator / htp->hrt_res; in _hrtnewres()
169 modulus = numerator - result * htp->hrt_res; in _hrtnewres()
177 if (twomodulus >= htp->hrt_res) { in _hrtnewres()
[all …]
H A Dfssdispadmin.c169 hrtime.hrt_res = HZ; in getadmin()
259 hrtime.hrt_res = res; in setadmin()
H A Ddispadmin.h63 ulong_t hrt_res; /* The resolution of hrt_rem. */ member
H A Dfxdispadmin.c194 hrtime.hrt_res = HZ; in get_fxdptbl()
321 hrtime.hrt_res = res; in set_fxdptbl()
H A Drtdispadmin.c190 hrtime.hrt_res = HZ; in get_rtdptbl()
348 hrtime.hrt_res = res;
H A Diadispadmin.c194 hrtime.hrt_res = HZ; in get_iadptbl()
349 hrtime.hrt_res = res;
H A Dtsdispadmin.c190 hrtime.hrt_res = HZ; in get_tsdptbl()
344 hrtime.hrt_res = res;
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c591 if (htp->hrt_rem >= htp->hrt_res) {
592 htp->hrt_secs += htp->hrt_rem / htp->hrt_res;
593 htp->hrt_rem = htp->hrt_rem % htp->hrt_res;
598 htp->hrt_res = new_res;
620 result = numerator / htp->hrt_res;
642 modulus = numerator - result * htp->hrt_res;
650 if (twomodulus >= htp->hrt_res) {
657 htp->hrt_res = new_res;
662 if (result * htp->hrt_res != numerator) {
669 htp->hrt_res = new_res;
[all …]
H A Dpriocntl.h89 ulong_t hrt_res; /* The resolution of hrt_rem. */ member
H A Drtpriocntl.c392 hrtime.hrt_res = res; in set_rtprocs()
503 hrtime.hrt_res = res; in exec_rtcmd()
H A Dfxpriocntl.c396 hrtime.hrt_res = res; in set_fxprocs()
523 hrtime.hrt_res = res; in exec_fxcmd()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c109 if ((error = hrt_checkres(temptofd.hrt_res)))
366 ulong new_res = td->hrt_res; in hrt_gettofd()
372 td->hrt_res = NANOSEC; in hrt_gettofd()
374 if (new_res != td->hrt_res) { in hrt_gettofd()
376 td->hrt_res = new_res; in hrt_gettofd()
/illumos-gate/usr/src/uts/intel/sys/
H A Dhrtcntl.h114 ulong_t hrt_res; /* The resolution of hrt_rem. */ member