/illumos-gate/usr/src/lib/libilb/common/ |
H A D | ilb_comm.c | 45 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 D | heap.c | 478 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/common/unicode/ |
H A D | uconv.c | 320 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/cmd/cpio/ |
H A D | utils.c | 293 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/uts/common/io/ |
H A D | hook.c | 218 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/cmd/sgs/libelf/common/ |
H A D | update.c | 99 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() 273 hibit = hi; in _elf_upd_lib() [all …]
|
/illumos-gate/usr/src/lib/libc/sparc/fp/ |
H A D | _Q_dtoq.c | 56 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.c | 58 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 …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_utils.h | 55 #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 D | errlist.awk | 54 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 D | catgets.c | 42 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 D | fpparts.h | 46 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 D | wnoutref.c | 55 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 D | blocksort.c | 35 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/cmd/mdb/common/modules/libmlsvc/ |
H A D | mlsvc.c | 47 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 D | smb_ht.c | 77 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 D | machclock.h | 57 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; \ 229 5: sethi %hi(hres_lock), scr; \ [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | exp.c | 126 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 D | sid.c | 145 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() 163 m = (int64_t)((uint64_t)(lo + hi) >> 1); 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() 191 if (hi < ksl_bin_search_cutoff) { in ksidlist_has_pid() [all …]
|
/illumos-gate/usr/src/common/bignum/amd64/ |
H A D | bignum_amd64_asm.S | 258 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/complex/ |
H A D | k_cexp.c | 120 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/lib/libm/common/C/ |
H A D | expm1.c | 163 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/contrib/ast/src/lib/libast/string/ |
H A D | strsearch.c | 43 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/cmd/modload/ |
H A D | plcysubr.c | 188 parse_minor_range(const char *range, minor_t *lo, minor_t *hi, char *type) in parse_minor_range() argument 208 *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() 240 put_minor_range(fp, NULL, devn, tail, lo, hi, 'c'); in put_minor_range() 241 } else if (lo == hi) { in put_minor_range() 244 (void) fprintf(fp, "%s:(%d-%d)%c%s", devn, (int)lo, (int)hi, in put_minor_range() 348 minor_t lo, hi; in delete_one_entry() local 357 parse_minor_range(min, &lo, &hi, &type) == 0 && in delete_one_entry() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | quoting.sh | 180 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$'
|