Home
last modified time | relevance | path

Searched full:hi (Results 1 – 25 of 715) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_comm.c45 ilb_handle_impl_t *hi = (ilb_handle_impl_t *)h; in i_ilb_socket_set_err() local
49 hi->h_valid = B_FALSE; in i_ilb_socket_set_err()
50 hi->h_error = err; in i_ilb_socket_set_err()
56 ilb_handle_impl_t *hi = NULL; in ilb_open() local
65 hi = calloc(1, sizeof (*hi)); in ilb_open()
66 if (hi == NULL) in ilb_open()
69 if (cond_init(&hi->h_cv, USYNC_THREAD, NULL) != 0) { in ilb_open()
74 if (mutex_init(&hi->h_lock, USYNC_THREAD | LOCK_ERRORCHECK, NULL) in ilb_open()
80 hi->h_busy = B_FALSE; in ilb_open()
104 hi->h_socket = s; in ilb_open()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dheap.c478 SM_HEAP_ITEM_T *hi; local
490 for (hi = SmHeapTable[i]; hi != NULL; hi = hi->hi_next)
492 if (hi->hi_ptr == ptr)
494 ptr, hi->hi_tag, hi->hi_num);
498 hi = (SM_HEAP_ITEM_T *) malloc(sizeof(SM_HEAP_ITEM_T));
500 if (hi == NULL)
502 hi->hi_ptr = ptr;
503 hi->hi_size = size;
504 hi->hi_tag = tag;
505 hi->hi_num = num;
[all …]
/illumos-gate/usr/src/cmd/cpio/
H A Dutils.c293 free_holesdata(holes_info_t *hi) in free_holesdata() argument
297 for (hl = hi->holes_list; hl != NULL; hl = nhl) { in free_holesdata()
301 hi->holes_list = NULL; in free_holesdata()
303 if (hi->holesdata != NULL) in free_holesdata()
304 free(hi->holesdata); in free_holesdata()
305 hi->holesdata = NULL; in free_holesdata()
323 holes_info_t *hi; in get_holes_info() local
331 hi = e_zalloc(E_EXIT, sizeof (holes_info_t)); in get_holes_info()
332 hi->holes_list = hl; in get_holes_info()
352 hi->data_size = get_compressed_filesz(hl); in get_holes_info()
[all …]
/illumos-gate/usr/src/common/unicode/
H A Duconv.c320 uint32_t hi; in uconv_u16tou32() local
342 hi = 0; in uconv_u16tou32()
381 if (hi) in uconv_u16tou32()
383 hi = lo; in uconv_u16tou32()
386 if (! hi) in uconv_u16tou32()
388 lo = (((hi - UCONV_U16_HI_MIN) * UCONV_U16_BIT_SHIFT + in uconv_u16tou32()
391 hi = 0; in uconv_u16tou32()
392 } else if (hi) { in uconv_u16tou32()
406 if (hi) in uconv_u16tou32()
430 uint32_t hi; in uconv_u16tou8() local
[all …]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vrsqrt.c34 #define HI(x) *(1+(int *)x) macro
37 #define HI(x) *(int *)x macro
102 hx = HI(px); \
130 hx = HI(px); in __vrsqrt()
157 hx0 = HI(&res); in __vrsqrt()
165 HI(&res) = resh0; in __vrsqrt()
166 HI(&res_c0) = res_ch0; in __vrsqrt()
182 HI(&dsqrt_exp0) = sqrt_exp0; in __vrsqrt()
192 hx = HI(px); in __vrsqrt()
198 hx = HI(px); in __vrsqrt()
[all …]
H A D__vrhypot.c34 #define HI(x) *(1+(int*)x) macro
37 #define HI(x) *(int*)x macro
132 hx##I = HI(px); \
133 hy##I = HI(py); \
181 iarr0 = HI(&dres0); \
187 HI(&dd0) = itbl0; \
194 HI(&res0) = HI(&dres0) & 0xffffff00; \
204 HI(&scl##I) = 0x7ff00000 - j0;
292 iarr0 = HI(&dres0); in __vrhypot()
293 iarr1 = HI(&dres1); in __vrhypot()
[all …]
H A D__vrhypotf.c34 #define HI(x) *(1+(int *)x) macro
37 #define HI(x) *(int *)x macro
324 ibase0 = HI(&hyp0); in __vrhypotf()
326 HI(&dbase0) = in __vrhypotf()
330 HI(&hyp0) = hyp0h; in __vrhypotf()
331 HI(&h_hi0) = hyp0h & 0x7fffc000; in __vrhypotf()
381 ibase0 = HI(&hyp0); in __vrhypotf_n()
382 ibase1 = HI(&hyp1); in __vrhypotf_n()
383 ibase2 = HI(&hyp2); in __vrhypotf_n()
385 HI(&dbase0) = (0x60000000 - ((ibase0 & 0x7fe00000) >> 1)); in __vrhypotf_n()
[all …]
H A D__vhypot.c34 #define HI(x) *(1+(int *)x) macro
37 #define HI(x) *(int *)x macro
89 hx0 = HI(px); \
90 hy0 = HI(py); \
119 hx0 = HI(px); in __vhypot()
120 hy0 = HI(py); in __vhypot()
223 hx1 = HI(px); in __vhypot()
250 hy0 = HI(py); in __vhypot()
260 hx0 = HI(px); in __vhypot()
261 hy0 = HI(py); in __vhypot()
[all …]
H A D__vsin.c34 #define HI(x) *(1+(int*)x) macro
37 #define HI(x) *(int*)x macro
97 xsb0 = HI(x); in __vsin()
124 xsb1 = HI(x); in __vsin()
151 xsb2 = HI(x); in __vsin()
185 HI(&t0) = j0; in __vsin()
186 HI(&t1) = j1; in __vsin()
187 HI(&t2) = j2; in __vsin()
223 HI(&t1) = j1; in __vsin()
224 HI(&t2) = j2; in __vsin()
[all …]
H A D__vcos.c34 #define HI(x) *(1+(int*)x) macro
37 #define HI(x) *(int*)x macro
118 xsb0 = HI(x); /* get most significant word */ in __vcos()
145 xsb1 = HI(x); in __vcos()
172 xsb2 = HI(x); in __vcos()
211 HI(&t0) = j0; in __vcos()
212 HI(&t1) = j1; in __vcos()
213 HI(&t2) = j2; in __vcos()
251 HI(&t1) = j1; in __vcos()
252 HI(&t2) = j2; in __vcos()
[all …]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c99 test_size(Lword hi) in test_size() argument
114 if (hi > INT_MAX) { /* Bigger than 2GB */ in test_size()
117 if (hi > UINT_MAX) { in test_size()
136 if (hi > UINT_MAX) { in test_size()
162 Lword hi; in _elf_upd_lib() local
181 hi = elf_fsize(ELF_T_EHDR, 1, ver); in _elf_upd_lib()
183 eh->e_ehsize = (Half)hi; in _elf_upd_lib()
188 eh->e_phoff = (Off)hi; in _elf_upd_lib()
189 hi += eh->e_phentsize * eh->e_phnum; in _elf_upd_lib()
214 * Loop through sections. Compute section size before changing hi. in _elf_upd_lib()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
H A D_Q_qtod.c58 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff80000; in _Q_qtod()
59 u.l.hi |= ((xm & 0x7fff) << 4) | in _Q_qtod()
76 u.l.hi = (x->l.msw & 0x80000000) | 0x7ff00000; in _Q_qtod()
82 u.l.hi = 0x7ff00000; in _Q_qtod()
85 u.l.hi = 0x7fefffff; in _Q_qtod()
88 u.l.hi |= (x->l.msw & 0x80000000); in _Q_qtod()
103 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
108 u.l.hi = (x->l.msw & 0x80000000); in _Q_qtod()
122 u.l.hi = 0x80000 | ((xm & 0xffff) << 3) | (x->l.frac2 >> 29); in _Q_qtod()
130 u.l.lo = u.l.hi; in _Q_qtod()
[all …]
H A D_Q_dtoq.c56 m = ((u.l.hi & 0x7ff00000) >> 4) + 0x3c000000; in _Qp_dtoq()
59 if ((u.l.hi & 0xfffff) | u.l.lo) { in _Qp_dtoq()
62 lhi = u.l.hi & 0xfffff; in _Qp_dtoq()
69 u.l.hi = (u.l.hi & 0x80000000) | lhi; in _Qp_dtoq()
77 if (((u.l.hi & 0x7ffff) | u.l.lo) && (u.l.hi & 0x80000) == 0) { in _Qp_dtoq()
87 u.l.hi |= 0x80000; in _Qp_dtoq()
90 Z.l.msw = m | (u.l.hi & 0x80000000) | ((u.l.hi & 0xffff0) >> 4); in _Qp_dtoq()
91 Z.l.frac2 = (u.l.hi << 28) | (u.l.lo >> 4); in _Qp_dtoq()
/illumos-gate/usr/src/uts/common/io/
H A Dhook.c218 static void hook_int_free(hook_int_t *hi, netstackid_t);
232 hook_int_t *hi);
818 hook_int_t *hi; in hook_run() local
834 TAILQ_FOREACH(hi, &hei->hei_head, hi_entry) { in hook_run()
835 ASSERT(hi->hi_hook.h_func != NULL); in hook_run()
839 hook_int_t *, hi); in hook_run()
840 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg); in hook_run()
844 hook_int_t *, hi, in hook_run()
846 hi->hi_kstats.hook_hits.value.ui64++; in hook_run()
858 hook_int_t *, hi); in hook_run()
[all …]
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.S84 movq %rdx, %r9 / cy = hi(p)
92 movq %rdx, %r9 / cy = hi(p)
100 movq %rdx, %r9 / cy = hi(p)
108 movq %rdx, %r9 / cy = hi(p)
116 movq %rdx, %r9 / cy = hi(p)
124 movq %rdx, %r9 / cy = hi(p)
132 movq %rdx, %r9 / cy = hi(p)
139 movq %rdx, %r9 / cy = hi(p)
154 movq %rdx, %r9 / cy = hi(p)
163 movq %rdx, %r9 / cy = hi(p)
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_utils.h55 #define DMA_REGPAIR_LE(x, val) (x).hi = DMA_HI_LE((val)); \
58 #define HILO_GEN(hi, lo, type) ((((type)(hi)) << 32) + (lo)) argument
59 #define HILO_DMA(hi, lo) HILO_GEN(hi, lo, dma_addr_t) argument
60 #define HILO_64(hi, lo) HILO_GEN(hi, lo, u64) argument
61 #define HILO_DMA_REGPAIR(regpair) (HILO_DMA(regpair.hi, regpair.lo))
62 #define HILO_64_REGPAIR(regpair) (HILO_64(regpair.hi, regpair.lo))
/illumos-gate/usr/src/common/acpica/utilities/
H A Dutmath.c164 UINT32 Hi; member
215 ACPI_MUL_64_BY_32 (0, MultiplicandOvl.Part.Hi, Multiplier, in AcpiUtShortMultiply()
216 Product.Part.Hi, Carry32); in AcpiUtShortMultiply()
221 Product.Part.Hi += Carry32; in AcpiUtShortMultiply()
262 OperandOvl.Part.Hi = OperandOvl.Part.Lo; in AcpiUtShortShiftLeft()
266 ACPI_SHIFT_LEFT_64_BY_32 (OperandOvl.Part.Hi, in AcpiUtShortShiftLeft()
307 OperandOvl.Part.Lo = OperandOvl.Part.Hi; in AcpiUtShortShiftRight()
308 OperandOvl.Part.Hi = 0; in AcpiUtShortShiftRight()
311 ACPI_SHIFT_RIGHT_64_BY_32 (OperandOvl.Part.Hi, in AcpiUtShortShiftRight()
473 ACPI_DIV_64_BY_32 (0, DividendOvl.Part.Hi, Divisor, in AcpiUtShortDivide()
[all …]
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c35 Int32 hi ) in fallbackSimpleSort() argument
40 if (lo == hi) return; in fallbackSimpleSort()
42 if (hi - lo > 3) { in fallbackSimpleSort()
43 for ( i = hi-4; i >= lo; i-- ) { in fallbackSimpleSort()
46 for ( j = i+4; j <= hi && ec_tmp > eclass[fmap[j]]; j += 4 ) in fallbackSimpleSort()
52 for ( i = hi-1; i >= lo; i-- ) { in fallbackSimpleSort()
55 for ( j = i+1; j <= hi && ec_tmp > eclass[fmap[j]]; j++ ) in fallbackSimpleSort()
99 Int32 sp, lo, hi; in fallbackQSort3() local
113 fpop ( lo, hi ); in fallbackQSort3()
114 if (hi - lo < FALLBACK_QSORT_SMALL_THRESH) { in fallbackQSort3()
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dwnoutref.c55 maxx, lo, hi; in wnoutrefresh() local
129 hi = (doall || *bch == _REDRAW || *ech > maxx) ? maxx : *ech; in wnoutrefresh()
133 /* adjust lo and hi so they contain whole characters */ in wnoutrefresh()
148 if (ISMBIT(wc[hi])) { in wnoutrefresh()
151 for (x = hi; x >= lo; --x) in wnoutrefresh()
157 hi = (x+w) <= maxx+1 ? x+w-1 : x; in wnoutrefresh()
161 if (hi < lo) in wnoutrefresh()
168 if (ISMBIT(sc[hi + xorg])) in wnoutrefresh()
169 (void) _mbclrch(_virtscr, y + yorg, hi + xorg); in wnoutrefresh()
178 if (*sech < hi+xorg) in wnoutrefresh()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcatgets.c42 int hi, lo, mid; in catgets() local
66 hi = p->__nsets - 1; in catgets()
73 while (hi >= lo) { in catgets()
74 mid = (hi + lo) / 2; in catgets()
81 hi = lo + q->__nmsgs - 1; in catgets()
82 while (hi >= lo) { in catgets()
83 mid = (hi + lo) / 2; in catgets()
113 hi = mid - 1; in catgets()
122 hi = mid - 1; in catgets()
H A Derrlist.awk
/illumos-gate/usr/src/lib/libc/i386/gen/
H A D_div64.S52 / #define HI(X) ((uint32_t)((X) >> 32) & 0xffffffff)
60 / #define A_MUL32(a, b, lo, hi) \
62 / : "=a"((uint32_t)(lo)), "=d"((uint32_t)(hi)) : "g" (b), "0"(a))
65 / #define A_DIV32(lo, hi, b, q, r) \
68 / : "g" (b), "0"((uint32_t)(lo)), "1"((uint32_t)hi))
85 / if (HI(y) == 0) {
90 / if (HI(x) < LO(y)) {
93 / div_hi = HI(x);
96 / A_DIV32(HI(x), 0, LO(y), q1, div_hi);
108 / } else if (HI(x) < HI(y)) {
[all …]
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dbigrow.test130 INSERT INTO t1(a,b,c) VALUES('one','abcdefghijklmnopqrstuvwxyz0123','hi');
133 } {one 30 hi}
141 } {one 240 hi}
146 } "one [expr {240+$i}] hi"
154 INSERT INTO t1(a,b,c) VALUES('one','abcdefghijklmnopqrstuvwxyz0123','hi');
157 } {one 30 hi}
174 } {one 122880 hi}
180 } {one 65515 hi}
185 } "one [expr {65515+$i}] hi"
194 INSERT INTO t1(a,b,c) VALUES('one','abcdefghijklmnopqrstuvwxyz0123','hi');
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dsid.c146 int64_t hi, lo, m; in ksidlist_has_sid() local
151 hi = ksl->ksl_nsid - 1; in ksidlist_has_sid()
153 if (hi < ksl_bin_search_cutoff) { in ksidlist_has_sid()
154 for (; lo <= hi; lo++) { in ksidlist_has_sid()
163 /* This is an overflow-safe version of m = (lo + hi) / 2 */ in ksidlist_has_sid()
164 m = (int64_t)((uint64_t)(lo + hi) >> 1); in ksidlist_has_sid()
173 hi = m - 1; in ksidlist_has_sid()
177 } while (lo <= hi); in ksidlist_has_sid()
185 int64_t hi, lo, m; in ksidlist_has_pid() local
190 hi = ksl->ksl_nsid - 1; in ksidlist_has_pid()
[all …]
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h57 sethi %hi(native_stick_offset), scr1; \
84 sethi %hi(native_stick_offset), scr1; \
105 sethi %hi(native_tick_offset), scr1; \
117 sethi %hi(native_tick_offset), scr1; \
152 sethi %hi(use_stick), scr1; \
157 sethi %hi(native_stick_offset), scr1; \
161 sethi %hi(native_tick_offset), scr1; \
169 sethi %hi(native_stick_offset), scr1; \
179 sethi %hi(native_stick_offset), scr1; \
198 * Constants used to convert hi-res timestamps into nanoseconds
[all …]

12345678910>>...29