Home
last modified time | relevance | path

Searched refs:hi (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/lib/libilb/common/
H A Dilb_comm.c50 hi->h_error = err; in i_ilb_socket_set_err()
65 hi = calloc(1, sizeof (*hi)); in ilb_open()
66 if (hi == NULL) in ilb_open()
104 hi->h_socket = s; in ilb_open()
114 free(hi); in ilb_open()
141 if (cond_wait(&hi->h_cv, &hi->h_lock) != 0) { in ilb_close()
151 free(hi); in ilb_close()
184 hi->h_waiter++; in i_ilb_do_comm()
186 if (cond_wait(&hi->h_cv, &hi->h_lock) != 0) { in i_ilb_do_comm()
194 if (!hi->h_valid || hi->h_closing) { in i_ilb_do_comm()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dheap.c490 for (hi = SmHeapTable[i]; hi != NULL; hi = hi->hi_next)
494 ptr, hi->hi_tag, hi->hi_num);
500 if (hi == NULL)
502 hi->hi_ptr = ptr;
504 hi->hi_tag = tag;
547 hi = *hp;
567 *hp = hi;
616 hi = *hp;
636 *hp = hi;
696 free(hi);
[all …]
/illumos-gate/usr/src/common/unicode/
H A Duconv.c342 hi = 0; in uconv_u16tou32()
381 if (hi) in uconv_u16tou32()
391 hi = 0; in uconv_u16tou32()
406 if (hi) in uconv_u16tou32()
444 hi = 0; in uconv_u16tou8()
460 if (hi) in uconv_u16tou8()
507 if (hi) in uconv_u16tou8()
721 hi = hi & u8_masks_tbl[remaining_bytes]; in uconv_u8tou16()
742 hi = (hi << UCONV_U8_BIT_SHIFT) | in uconv_u8tou16()
821 hi = hi & u8_masks_tbl[remaining_bytes]; in uconv_u8tou32()
[all …]
/illumos-gate/usr/src/cmd/cpio/
H A Dutils.c304 free(hi->holesdata); in free_holesdata()
323 holes_info_t *hi; in get_holes_info() local
332 hi->holes_list = hl; in get_holes_info()
356 return (hi); in get_holes_info()
370 holes_info_t *hi; in read_holes_header() local
378 free(hi); in read_holes_header()
393 return (hi); in read_holes_header()
441 free_holesdata(hi); in parse_holesdata()
445 hi->data_size = get_compressed_filesz(hi->holes_list); in parse_holesdata()
453 free_holesdata(hi); in free_holes_info()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dhook.c818 hook_int_t *hi; in hook_run() local
840 rval = (*hi->hi_hook.h_func)(token, info, hi->hi_hook.h_arg); in hook_run()
2013 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_FIRST)) in hook_insert()
2020 if ((hi != NULL) && (hi->hi_hook.h_hint == HH_LAST)) in hook_insert()
2251 return (hi); in hook_find_byname()
2366 hi->hi_kstatp = kstat_create_netstack(hi->hi_ksname, 0, in hook_init_kstats()
2374 hi->hi_kstats.hook_flags.value.ui32 = hi->hi_hook.h_flags; in hook_init_kstats()
2375 hi->hi_kstats.hook_hint.value.i32 = hi->hi_hook.h_hint; in hook_init_kstats()
2392 hi->hi_kstatp->ks_data = (void *)&hi->hi_kstats; in hook_init_kstats()
2426 kmem_free(hi->hi_ksname, strlen(hi->hi_ksname) + 1); in hook_int_free()
[all …]
/illumos-gate/usr/src/lib/libc/sparc/fp/
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()
H A D_Q_qtod.c59 u.l.hi |= ((xm & 0x7fff) << 4) | 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()
130 u.l.lo = u.l.hi; in _Q_qtod()
131 u.l.hi = 0; in _Q_qtod()
138 u.l.hi >>= e; in _Q_qtod()
160 if (++u.l.hi >= 0x7ff00000) in _Q_qtod()
[all …]
/illumos-gate/usr/src/cmd/sgs/libelf/common/
H A Dupdate.c162 Lword hi; in _elf_upd_lib() local
273 hibit = hi; in _elf_upd_lib()
276 hi = hibit; in _elf_upd_lib()
282 hi += j - fsz; in _elf_upd_lib()
286 hi += sz; in _elf_upd_lib()
295 hi = hibit; in _elf_upd_lib()
304 hi += FSZ_LONG - hi % FSZ_LONG; in _elf_upd_lib()
346 Lword hi; in _elf_upd_usr() local
381 hi = sz; in _elf_upd_usr()
446 hi = sz; in _elf_upd_usr()
[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/lib/libc/port/gen/
H A Derrlist.awk54 hi = 0
75 if ($1 > hi)
76 hi = $1
85 if (hi > mx)
92 for (j = 0; j <= hi; ++j)
105 for (j = 0; j <= hi; ++j)
116 printf "const char *_sys_err_names[%d] = {\n", hi + 1 >newfile
118 for (j = 1; j <= hi; ++j)
126 print "const int _sys_num_err = " hi + 1 ";\n" >newfile
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()
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfpparts.h46 unsigned hi :20; member
53 unsigned hi :19; member
57 unsigned hi; member
88 unsigned hi :20; member
94 unsigned hi :19; member
101 unsigned hi :32; member
128 #define HIFRACTION(X) (((_dval *)&(X))->fparts.hi)
131 #define HIWORD(X) (((_dval *)&(X))->fwords.hi)
/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()
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()
179 *sech = hi+xorg; in wnoutrefresh()
[all …]
/illumos-gate/usr/src/common/bzip2/
H A Dblocksort.c40 if (lo == hi) return; in fallbackSimpleSort()
42 if (hi - lo > 3) { in fallbackSimpleSort()
99 Int32 sp, lo, hi; in fallbackQSort3() local
113 fpop ( lo, hi ); in fallbackQSort3()
133 unHi = gtHi = hi; in fallbackQSort3()
167 m = fmin(hi-gtHi, gtHi-unHi); fvswap(unLo, hi-m+1, m); in fallbackQSort3()
174 fpush ( m, hi ); in fallbackQSort3()
176 fpush ( m, hi ); in fallbackQSort3()
497 bigN = hi - lo + 1; in mainSimpleSort()
631 Int32 sp, lo, hi, d; in mainQSort3() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libmlsvc/
H A Dmlsvc.c47 const HT_ITEM *hi = data; in dump_shr_cb() local
50 if (hi->hi_data == NULL) in dump_shr_cb()
53 if ((hi->hi_flags & HT_DELETE) != 0 && in dump_shr_cb()
64 mdb_printf("%-?p ", hi->hi_data); in dump_shr_cb()
65 mdb_call_dcmd("print", (uintptr_t)hi->hi_data, in dump_shr_cb()
69 (uintptr_t)hi->hi_data) == -1) { in dump_shr_cb()
71 "smb_share_t", hi->hi_data); in dump_shr_cb()
75 mdb_printf("%-?p ", hi->hi_data); in dump_shr_cb()
H A Dsmb_ht.c77 HT_ITEM *hi = &hw->hw_item; in smb_ht_walk_step() local
94 if (mdb_vread(hi, sizeof (*hi), wsp->walk_addr) == -1) { in smb_ht_walk_step()
100 rv = wsp->walk_callback(wsp->walk_addr, hi, in smb_ht_walk_step()
103 wsp->walk_addr = (uintptr_t)hi->hi_next; in smb_ht_walk_step()
/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; \
229 5: sethi %hi(hres_lock), scr; \
245 sethi %hi(NANOSEC), nano; \
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dexp.c126 double z,hi,lo,c; variable
141 hi=x-k*ln2hi;
142 x=hi-(lo=k*ln2lo);
147 return scalb(1.0+(hi-(lo-(x*c)/(2.0-c))),k);
173 double z,hi,lo; local
188 hi=(x-k*ln2hi); /* Exact. */
189 x= hi - (lo = k*ln2lo-c);
195 return scalb(1.+(hi-(lo - c)), k);
/illumos-gate/usr/src/uts/common/os/
H A Dsid.c145 int64_t hi, lo, m; in ksidlist_has_sid() local
150 hi = ksl->ksl_nsid - 1; in ksidlist_has_sid()
152 if (hi < ksl_bin_search_cutoff) { in ksidlist_has_sid()
153 for (; lo <= hi; lo++) { in ksidlist_has_sid()
172 hi = m - 1; in ksidlist_has_sid()
176 } while (lo <= hi); in ksidlist_has_sid()
184 int64_t hi, lo, m; in ksidlist_has_pid() local
189 hi = ksl->ksl_nsid - 1; in ksidlist_has_pid()
192 for (; lo <= hi; lo++) { in ksidlist_has_pid()
208 hi = m - 1; in ksidlist_has_pid()
[all …]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_cexp.c120 double hi = 0.0L, lo = 0.0L, c, t; in __k_cexp() local
147 hi = x - ln2HI[xsb]; in __k_cexp()
153 hi = x - t * ln2HI[0]; in __k_cexp()
157 x = hi - lo; in __k_cexp()
170 t = one - ((lo - (x * c) / (2.0 - c)) - hi); in __k_cexp()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dstrsearch.c43 char* hi = lo + (num - 1) * siz; in strsearch() local
48 while (lo <= hi) in strsearch()
50 mid = lo + (((hi - lo) / siz) / 2) * siz; in strsearch()
55 else hi = mid - siz; in strsearch()
/illumos-gate/usr/src/common/bignum/amd64/
H A Dbignum_amd64_asm.S258 movq %rdx, %r9 / cy = hi(p)
269 movq %rdx, %r9 / cy = hi(p)
280 movq %rdx, %r9 / cy = hi(p)
291 movq %rdx, %r9 / cy = hi(p)
302 movq %rdx, %r9 / cy = hi(p)
313 movq %rdx, %r9 / cy = hi(p)
324 movq %rdx, %r9 / cy = hi(p)
333 movq %rdx, %r9 / cy = hi(p)
351 movq %rdx, %r9 / cy = hi(p)
363 movq %rdx, %r9 / cy = hi(p)
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dexpm1.c163 double y, hi, lo, c = 0.0L, t, e, hxs, hfx, r1; in expm1() local
201 hi = x - ln2_hi; in expm1()
206 hi = x + ln2_hi; in expm1()
214 hi = x - t * ln2_hi; /* t*ln2_hi is exact here */ in expm1()
217 x = hi - lo; in expm1()
218 c = (hi - x) - lo; /* still at |x| > 0.5 ln2 */ in expm1()
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c208 *hi = tmp; in parse_minor_range()
209 if (*lo > *hi) in parse_minor_range()
232 minor_t lo, minor_t hi, char type) in put_minor_range() argument
239 put_minor_range(fp, NULL, devn, tail, lo, hi, 'b'); in put_minor_range()
241 } else if (lo == hi) { in put_minor_range()
348 minor_t lo, hi; in delete_one_entry() local
359 lo <= rhi && hi >= rlo) { in delete_one_entry()
363 if (lo >= rlo && hi <= rhi) in delete_one_entry()
370 newhi = hi; in delete_one_entry()
371 if (hi > rhi) in delete_one_entry()
[all …]
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/
H A Dquoting.sh180 x='$hi'
181 if [[ $x\$ != '$hi$' ]]
182 then err_exit ' $x\$, with x=$hi, does not expand to $hi$'
184 if [[ $x$ != '$hi$' ]]
185 then err_exit ' $x$, with x=$hi, does not expand to $hi$'

12345678910>>...16