Searched refs:htp (Results 1 – 7 of 7) sorted by relevance
66 hrtconvert(hrtimer_t *htp) in hrtconvert() argument71 product = htp->hrt_secs * htp->hrt_res; in hrtconvert()73 if (product / htp->hrt_res == htp->hrt_secs) { in hrtconvert()74 sum = product + htp->hrt_rem; in hrtconvert()75 if (sum - htp->hrt_rem == product) { in hrtconvert()101 _hrtnewres(hrtimer_t *htp, ulong_t new_res, long round) in _hrtnewres() argument116 if (htp->hrt_res == 0 || new_res == 0 || in _hrtnewres()117 new_res > NANOSEC || htp->hrt_rem < 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()[all …]
573 _hrtnewres(htp, new_res, round) in _hrtnewres() argument574 register hrtimer_t *htp; in _hrtnewres()591 if (new_res > NANOSEC || htp->hrt_rem < 0)594 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;599 interval = htp->hrt_rem;601 htp->hrt_res = new_res;623 result = numerator / htp->hrt_res;645 modulus = numerator - result * htp->hrt_res;[all …]
45 htbl_t *htp; in init_hash() local52 htp = (htbl_t *)my_malloc(sizeof (htbl_t), NULL); in init_hash()53 htp->size = size; in init_hash()54 htp->tbl = (hashb_t *) in init_hash()59 temp = &htp->tbl[i]; in init_hash()63 return (htp); in init_hash()67 destroy_hash(htbl_t *htp) in destroy_hash() argument74 for (i = 0; i < htp->size; i++) { in destroy_hash()75 cur = &htp->tbl[i]; in destroy_hash()93 free((char *)htp->tbl); in destroy_hash()[all …]
333 rm -rf $(@:.html=.htp)335 -o $(@:.html=.htp) $<; \338 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \339 mv $(@:.html=) $@; else mv $(@:.html=.htp) $@; fi; \341 if test ! -d $(@:.html=.htp) && test -d $(@:.html=); then \342 rm -rf $(@:.html=); else rm -Rf $(@:.html=.htp) $@; fi; \
1673 htable_t **htp, in htable_walk() argument1679 htable_t *prev = *htp; in htable_walk()1708 *htp = prev; in htable_walk()1743 *htp = ht; in htable_walk()1765 *htp = NULL; in htable_walk()
1567 thr_hash_table_t *htp; in finish_init() local1599 udp->thr_hash_table = htp = (thr_hash_table_t *)data; in finish_init()1603 for (i = 0; i < HASHTBLSZ; i++, htp++) { in finish_init()1604 htp->hash_lock.mutex_flag = LOCK_INITED; in finish_init()1605 htp->hash_lock.mutex_magic = MUTEX_MAGIC; in finish_init()1606 htp->hash_cond.cond_magic = COND_MAGIC; in finish_init()
1803 portget_t *htp; in port_queue_thread() local1821 htp = ttp; in port_queue_thread()1825 if (htp == ttp->portget_next) in port_queue_thread()