Searched refs:htp (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/dispadmin/
H A Dsubr.c62 * hrtconvert() returns the interval specified by htp as a single
63 * value in resolution htp->hrt_res. Returns -1 on overflow.
66 hrtconvert(hrtimer_t *htp) argument
71 product = htp->hrt_secs * htp->hrt_res;
73 if (product / htp->hrt_res == htp->hrt_secs) {
74 sum = product + htp->hrt_rem;
75 if (sum - htp->hrt_rem == product) {
90 * Convert interval expressed in htp
101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) argument
[all...]
/illumos-gate/usr/src/cmd/priocntl/
H A Dsubr.c559 * Convert interval expressed in htp->hrt_res to new_res.
561 * Calculate: (interval * new_res) / htp->hrt_res rounding off as
570 _hrtnewres(htp, new_res, round)
571 register hrtimer_t *htp;
588 if (new_res > NANOSEC || htp->hrt_rem < 0)
591 if (htp->hrt_rem >= htp->hrt_res) {
592 htp->hrt_secs += htp->hrt_rem / htp
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dhtbl.c45 htbl_t *htp; local
52 htp = (htbl_t *)my_malloc(sizeof (htbl_t), NULL);
53 htp->size = size;
54 htp->tbl = (hashb_t *)
59 temp = &htp->tbl[i];
63 return (htp);
67 destroy_hash(htbl_t *htp) argument
74 for (i = 0; i < htp->size; i++) {
75 cur = &htp->tbl[i];
93 free((char *)htp
119 add_fcall(htbl_t *htp, char *lib, char *key, unsigned long cnt) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhtable.c1673 htable_t **htp,
1679 htable_t *prev = *htp;
1708 *htp = prev;
1743 *htp = ht;
1765 *htp = NULL;
1671 htable_walk( struct hat *hat, htable_t **htp, uintptr_t *vaddr, uintptr_t eaddr) argument
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dthr.c1536 thr_hash_table_t *htp; local
1568 udp->thr_hash_table = htp = (thr_hash_table_t *)data;
1572 for (i = 0; i < HASHTBLSZ; i++, htp++) {
1573 htp->hash_lock.mutex_flag = LOCK_INITED;
1574 htp->hash_lock.mutex_magic = MUTEX_MAGIC;
1575 htp->hash_cond.cond_magic = COND_MAGIC;
/illumos-gate/usr/src/uts/common/fs/portfs/
H A Dport.c1803 portget_t *htp; local
1821 htp = ttp;
1825 if (htp == ttp->portget_next)

Completed in 106 milliseconds