/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_watch.c | 96 } sw; variable 167 mutex_init(&sw.sw_mutex, NULL, MUTEX_DRIVER, NULL); in scsi_watch_init() 168 cv_init(&sw.sw_cv, NULL, CV_DRIVER, NULL); in scsi_watch_init() 169 sw.sw_state = SW_RUNNING; in scsi_watch_init() 170 sw.sw_flags = 0; in scsi_watch_init() 171 sw.swr_current = NULL; in scsi_watch_init() 184 ASSERT(sw.sw_thread == 0); in scsi_watch_fini() 185 mutex_destroy(&sw.sw_mutex); in scsi_watch_fini() 186 cv_destroy(&sw.sw_cv); in scsi_watch_fini() 238 mutex_enter(&sw.sw_mutex); in scsi_watch_request_submit_impl() [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() 190 sw[SW_TITLE] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 193 sw[SW_IDLE] = subwin(stdscr, cstate_lines, win_cols/2 + 1, pos_y, 0); in pt_display_setup() 194 sw[SW_FREQ] = subwin(stdscr, cstate_lines, win_cols/2 - 8, pos_y, in pt_display_setup() 198 sw[SW_WAKEUPS] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 201 sw[SW_POWER] = subwin(stdscr, SINGLE_LINE_SW, win_cols, pos_y, 0); in pt_display_setup() 208 sw[SW_EVENTS] = subwin(stdscr, event_lines, win_cols, pos_y, 0); in pt_display_setup() [all …]
|
/illumos-gate/usr/src/cmd/nscd/ |
H A D | nscd_cfgdef.h | 70 nscd_cfg_switch_t sw; member 78 nscd_cfg_stat_switch_t sw; member 87 nscd_cfg_stat_global_switch_t sw; member 98 nscd_cfg_global_switch_t sw; member 400 sw, 412 sw, 424 sw, 436 sw, 495 sw, 508 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() 687 HOST_c2l(data,l); p[sw]=l; in HASH_UPDATE() 699 l=p[sw]; HOST_p_c2l_p(data,l,sc,len); p[sw]=l; in HASH_UPDATE() 706 l=p[sw]; in HASH_UPDATE() 708 p[sw++]=l; in HASH_UPDATE() 709 for (; (sw < ew) && ((data_end - data) >= 4); sw++) in HASH_UPDATE() 711 HOST_c2l(data,l); p[sw]=l; 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() 162 else if ((sw & FE_DIVBYZERO) && !(cw & (1 << fp_trap_division))) in __fex_get_x86_exc() 164 else if ((sw & FE_OVERFLOW) && !(cw & (1 << fp_trap_overflow))) in __fex_get_x86_exc() 166 else if ((sw & FE_UNDERFLOW) && !(cw & (1 << fp_trap_underflow))) 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() [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/uts/intel/os/ |
H A D | fpu.c | 1511 fpe_sicode(uint_t sw) in fpe_sicode() argument 1513 if (sw & FPS_IE) in fpe_sicode() 1515 if (sw & FPS_ZE) in fpe_sicode() 1517 if (sw & FPS_DE) in fpe_sicode() 1519 if (sw & FPS_OE) in fpe_sicode() 1521 if (sw & FPS_UE) in fpe_sicode() 1523 if (sw & FPS_PE) in fpe_sicode() 1532 fpe_simd_sicode(uint_t sw) in fpe_simd_sicode() argument 1534 if (sw & SSE_IE) in fpe_simd_sicode() 1536 if (sw & SSE_ZE) in fpe_simd_sicode() [all …]
|