/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 96 } sw; variable 170 sw.sw_flags = 0; in scsi_watch_init() 244 sw.sw_thread = t; in scsi_watch_request_submit_impl() 358 if (sw.sw_head) { in scsi_watch_request_submit_impl() 361 sw.sw_head = swr; in scsi_watch_request_submit_impl() 392 if (!sw.sw_head) in scsi_watch_resume() 435 if (!sw.sw_head) in scsi_watch_suspend() 456 (void) cv_reltimedwait(&sw.sw_cv, &sw.sw_mutex, in scsi_watch_suspend() 681 cv_wait(&sw.sw_cv, &sw.sw_mutex); in _NOTE() 708 cv_wait(&sw.sw_cv, &sw.sw_mutex); in _NOTE() [all …]
|
/illumos-gate/usr/src/cmd/powertop/common/ |
H A D | display.c | 103 static WINDOW *sw[SW_COUNT]; variable 117 if (sw[i] != NULL) { in pt_display_cleanup() 118 (void) delwin(sw[i]); in pt_display_cleanup() 119 sw[i] = NULL; in pt_display_cleanup() 292 (void) werase(sw[SW_TITLE]); in pt_display_title_bar() 300 (void) wnoutrefresh(sw[SW_TITLE]); in pt_display_title_bar() 309 (void) werase(sw[SW_STATUS]); in pt_display_status_bar() 533 (void) werase(sw[SW_POWER]); in pt_display_acpi_power() 574 (void) werase(sw[SW_WAKEUPS]); in pt_display_wakeups() 612 (void) werase(sw[SW_EVENTS]); in pt_display_events() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgdef.h | 400 sw, 412 sw, 424 sw, 436 sw, 495 sw, 508 sw, 521 sw, 533 sw, 545 sw, 557 sw, [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | waddchnstr.c | 56 int sw; in waddchnstr() local 62 sw = mbscrw((int)(_CHAR(*string))); in waddchnstr() 64 if (remcols < sw) in waddchnstr() 70 remcols -= sw; in waddchnstr() 75 sw = mbscrw((int)(_CHAR(*string))); in waddchnstr() 77 if ((remcols < sw) || (ncols < ew)) in waddchnstr() 83 remcols -= sw; in waddchnstr()
|
H A D | winstr.c | 54 int sw, s; in winstr() local 61 sw = mbscrw((int) wc); in winstr() 63 for (s = 0; s < sw; s++, ptr++) { in winstr()
|
H A D | winwstr.c | 45 int sw, s; in winwstr() local 53 sw = mbscrw((int)wc); in winwstr() 57 for (s = 0; s < sw; s++, ptr++) { in winwstr()
|
H A D | winsdelln.c | 56 chtype *sw; in winsdelln() local 133 sw = win->_y[to]; in winsdelln() 135 win->_y[fr] = sw; in winsdelln()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_errno.c | 116 const struct status2winerr *sw; in smb_status2doserr() local 121 for (sw = smb_status2winerr_map; sw->status != 0; sw++) in smb_status2doserr() 122 if (sw->status == status && (sw->winerr < 0xFFFF)) in smb_status2doserr() 123 return ((uint16_t)sw->winerr); in smb_status2doserr()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/specfs/ |
H A D | specfs.c | 45 snode_walk_data_t *sw; in snode_walk_init() local 67 sw = mdb_alloc(sizeof (snode_walk_data_t), UM_SLEEP); in snode_walk_init() 68 sw->sw_stablesz = stablesz; in snode_walk_init() 69 sw->sw_stable = stable; in snode_walk_init() 72 wsp->walk_data = sw; in snode_walk_init() 81 snode_walk_data_t *sw = wsp->walk_data; in snode_walk_step() local 86 if (--sw->sw_stablesz == 0) in snode_walk_step() 89 sw->sw_stable += sizeof (struct snode *); in snode_walk_step() 91 if (mdb_vread(&sp, sizeof (sp), sw->sw_stable) == -1) { in snode_walk_step() 93 sw->sw_stable); in snode_walk_step()
|
/illumos-gate/usr/src/lib/libc/amd64/fp/ |
H A D | fpgetsticky.c | 36 int sw, mxcsr; in fpgetsticky() local 38 _getsw(&sw); in fpgetsticky() 40 sw |= mxcsr; in fpgetsticky() 41 return ((fp_except)(sw & 0x3f)); in fpgetsticky()
|
H A D | fpsetsticky.c | 36 int sw, mxcsr; in fpsetsticky() local 38 _getsw(&sw); in fpsetsticky() 41 sw |= mxcsr; in fpsetsticky() 44 return ((fp_except)(sw & 0x3f)); in fpsetsticky()
|
/illumos-gate/usr/src/lib/libc/i386/fp/ |
H A D | fpgetsticky.c | 38 int sw, mxcsr; in fpgetsticky() local 40 _getsw(&sw); in fpgetsticky() 43 sw |= mxcsr; in fpgetsticky() 45 return ((fp_except)(sw & 0x3f)); in fpgetsticky()
|
H A D | fpsetsticky.c | 38 int sw, mxcsr; in fpsetsticky() local 40 _getsw(&sw); in fpsetsticky() 44 sw |= mxcsr; in fpsetsticky() 48 return ((fp_except)(sw & 0x3f)); in fpsetsticky()
|
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSCore/ |
H A D | DNSDigest.c | 664 int sw,sc,ew,ec; in HASH_UPDATE() local 679 sw=c->num>>2; in HASH_UPDATE() 684 l=p[sw]; HOST_p_c2l(data,l,sc); p[sw++]=l; in HASH_UPDATE() 685 for (; (sw < HASH_LBLOCK) && ((data_end - data) >= 4); sw++) in HASH_UPDATE() 699 l=p[sw]; HOST_p_c2l_p(data,l,sc,len); p[sw]=l; in HASH_UPDATE() 709 for (; (sw < ew) && ((data_end - data) >= 4); sw++) in HASH_UPDATE() 723 if (sw > 0) in HASH_UPDATE() 735 data+=sw; in HASH_UPDATE() 736 len-=sw; in HASH_UPDATE() 753 data+=sw; in HASH_UPDATE() [all …]
|
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | __fex_i386.c | 151 unsigned sw, cw; in __fex_get_x86_exc() local 153 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status; in __fex_get_x86_exc() 159 if ((sw & FE_INVALID) && !(cw & (1 << fp_trap_invalid))) in __fex_get_x86_exc() 161 sip->si_code = ((sw & 0x40)? 0 : FPE_FLTINV); in __fex_get_x86_exc() 164 else if ((sw & FE_OVERFLOW) && !(cw & (1 << fp_trap_overflow))) in __fex_get_x86_exc() 168 else if ((sw & FE_INEXACT) && !(cw & (1 << fp_trap_inexact))) in __fex_get_x86_exc() 573 unsigned int cwsw, ex, sw, op; in __fex_get_op() local 579 sw = uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.status; in __fex_get_op() 812 if (sw & 0x200) /* result was rounded up */ in __fex_get_op() 1179 uap->uc_mcontext.fpregs.fp_reg_set.fpchip_state.sw = in pop() [all …]
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | nsparse.c | 63 struct __nsw_switchconfig_v1 *sw; member 68 struct __nsw_switchconfig *sw; member 723 if (strcmp(dbase, cellp->sw->dbase) == 0) in scrounge_cache_v1() 724 return (cellp->sw); in scrounge_cache_v1() 734 if (strcmp(dbase, cellp->sw->dbase) == 0) in scrounge_cache() 735 return (cellp->sw); in scrounge_cache() 868 cp->sw = cfp; in add_concell_v1() 884 cp->sw = cfp; in add_concell() 905 if (cellp->sw == conf) { in __nsw_freeconfig_v1() 935 if (cellp->sw == conf) { in __nsw_freeconfig()
|
/illumos-gate/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 223 int i, sw; in siconv() local 230 sw = 0; in siconv() 232 sw = 1; in siconv() 240 return (sw ? -i : i); in siconv() 333 cclinter(int sw) in cclinter() argument 338 if (!sw) { /* is NCCL */ in cclinter() 525 static int sw, savline; in cpyact() local 528 sw = TRUE; in cpyact() 542 if (brac == 0 && sw == TRUE) { in cpyact() 623 sw = FALSE; in cpyact()
|
/illumos-gate/usr/src/test/util-tests/tests/dis/risc-v/ |
H A D | tst.rv32i.s | 58 sw t4, 0x7ff(t1) 59 sw t3, (t2) 60 sw t2, -0x800(t3)
|
/illumos-gate/usr/src/test/util-tests/tests/awk/tests/ |
H A D | res.ok | 32 ] with .V5.sw at Last.end 105 Last: backbond(0.2, 240, from R4.V4.sw) 110 Last: H: atom("H", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015) with .L.sw at Last.end 133 Last: bond(0.2, 240, from Last.V5.sw ) 145 Last: H: atom("H", 0.12, 0.16, 0.06, 0.16, 0.12, 0.015) with .L.sw at Last.end 192 Last: OCH3: atom("OCH\s-3\d3\u\s+3", 0.42, 0.16, 0.18, 0.16, 0.12, 0.015) with .L.sw at Last.end
|
/illumos-gate/usr/src/boot/efi/loader/arch/i386/ |
H A D | bootinfo.c | 54 const char *sw; in bi_getboothowto() local 73 sw = strchr(howto_switches, *opts); in bi_getboothowto() 74 if (sw == NULL) in bi_getboothowto() 76 howto |= howto_masks[sw - howto_switches]; in bi_getboothowto()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | trestore.c | 123 t->sw.swline = 0; in r_tree() 125 t->sw.swline = sfgetu(infile); in r_tree() 126 t->sw.swarg = r_arg(shp); in r_tree() 128 t->sw.swio = r_redirect(shp); in r_tree() 130 t->sw.swio = 0; in r_tree() 131 t->sw.swlst = r_switch(shp); in r_tree()
|
H A D | string.c | 79 register const char *s, *t, *sw, *tw; in sh_lookopt() local 111 s=sw=sp; in sh_lookopt() 139 sw = ++s; in sh_lookopt() 147 else if(s==sw && t==tw) in sh_lookopt() 159 while (s>sw && *s!=*t) in sh_lookopt()
|
/illumos-gate/usr/src/test/os-tests/tests/xsave/data/ |
H A D | mdb_xregs.ymm.32 | 33 sw 0x0000 (TOP=0t0) (0) 34 xcp sw 0x0000 (0)
|
/illumos-gate/usr/src/cmd/mdb/intel/mdb/ |
H A D | proc_ia32dep.c | 258 fps.sw &= 0xffff; /* status word is really 16 bits */ in pt_fpregs() 266 top = (fps.sw & FPS_TOP) >> 11; in pt_fpregs() 267 mdb_printf("sw 0x%04x (TOP=0t%u) (%s)\n", fps.sw, in pt_fpregs() 268 top, fpsw2str(fps.sw, buf, sizeof (buf))); in pt_fpregs()
|
/illumos-gate/usr/src/boot/efi/libefi/ |
H A D | handles.c | 45 efi_register_handles(struct devsw *sw, EFI_HANDLE *handles, in efi_register_handles() argument 61 entry[idx].dev = sw; in efi_register_handles()
|