/illumos-gate/usr/src/uts/common/io/ |
H A D | tty_common.c | 66 mutex_enter(&tc->t_excl); in ttycommon_close() 67 tc->t_flags &= ~TS_XCLUDE; in ttycommon_close() 68 tc->t_readq = NULL; in ttycommon_close() 69 tc->t_writeq = NULL; in ttycommon_close() 73 mp = tc->t_iocpending; in ttycommon_close() 74 tc->t_iocpending = NULL; in ttycommon_close() 75 mutex_exit(&tc->t_excl); in ttycommon_close() 84 mutex_exit(&tc->t_excl); in ttycommon_close() 195 tc->t_iflag = (tc->t_iflag & 0xffff0000 | cb->c_iflag); in ttycommon_ioctl() 196 tc->t_cflag = (tc->t_cflag & 0xffff0000 | cb->c_cflag); in ttycommon_ioctl() [all …]
|
H A D | tty_pts.c | 632 tc->t_size.ws_xpixel = 0; in ptslioctl() 633 tc->t_size.ws_ypixel = 0; in ptslioctl() 699 mutex_enter(&tc->t_excl); in ptslioctl() 704 mutex_exit(&tc->t_excl); in ptslioctl() 728 mutex_enter(&tc->t_excl); in ptslioctl() 729 tc->t_iflag = (tc->t_iflag & 0xffff0000 | cb->c_iflag); in ptslioctl() 730 tc->t_cflag = (tc->t_cflag & 0xffff0000 | cb->c_cflag); in ptslioctl() 731 mutex_exit(&tc->t_excl); in ptslioctl() 753 mutex_enter(&tc->t_excl); in ptslioctl() 755 tc->t_size = *ws; in ptslioctl() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/i18n/ |
H A D | bindtextdomain_test.c | 117 }, *tc; in main() local 120 tc = &test_cases[i]; in main() 121 test_t t = test_start(tc->name); in main() 122 umem_setmtbf((uint_t)tc->malloc_fail); in main() 124 const char *got = bindtextdomain("domain", tc->dir); in main() 127 if (((got == NULL) != (tc->want == NULL)) || in main() 128 ((got != NULL) && strcmp(got, tc->want))) { in main() 131 tc->want != NULL ? tc->want : "<NULL>"); in main() 134 if (got_errno != tc->want_errno) { in main() 136 got_errno, tc->want_errno); in main()
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_dcb_82599.c | 53 int tc; in ixgbe_dcb_get_tc_stats_82599() local 61 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82599() 63 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599() 65 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 69 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82599() 71 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(tc)); in ixgbe_dcb_get_tc_stats_82599() 76 stats->qprdc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRDC(tc)); in ixgbe_dcb_get_tc_stats_82599() 94 int tc; in ixgbe_dcb_get_pfc_stats_82599() local 101 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_pfc_stats_82599() 103 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82599() [all …]
|
H A D | ixgbe_dcb_82598.c | 53 int tc; in ixgbe_dcb_get_tc_stats_82598() local 61 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82598() 63 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 65 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc)); in ixgbe_dcb_get_tc_stats_82598() 67 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 69 stats->qbrc[tc] += IXGBE_READ_REG(hw, IXGBE_QBRC(tc)); in ixgbe_dcb_get_tc_stats_82598() 95 int tc; in ixgbe_dcb_get_pfc_stats_82598() local 102 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_pfc_stats_82598() 104 stats->pxofftxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(tc)); in ixgbe_dcb_get_pfc_stats_82598() 106 stats->pxoffrxc[tc] += IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(tc)); in ixgbe_dcb_get_pfc_stats_82598()
|
H A D | ixgbe_dcb.c | 229 int tc; in ixgbe_dcb_unpack_refill_cee() local 231 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill_cee() 238 int tc; in ixgbe_dcb_unpack_max_cee() local 240 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_max_cee() 241 max[tc] = tc_config[tc].desc_credits_max; in ixgbe_dcb_unpack_max_cee() 248 int tc; in ixgbe_dcb_unpack_bwgid_cee() local 250 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_bwgid_cee() 258 int tc; in ixgbe_dcb_unpack_tsa_cee() local 260 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_tsa_cee() 261 tsa[tc] = tc_config[tc].path[direction].tsa; in ixgbe_dcb_unpack_tsa_cee() [all …]
|
/illumos-gate/usr/src/cmd/tip/ |
H A D | etc.remote | 3 :pn=2015551212:tc=UNIX-2400: 6 tip300:tc=UNIX-300: 7 tip1200:tc=UNIX-1200: 8 tip0|tip2400:tc=UNIX-2400: 9 tip9600:tc=UNIX-9600: 10 tip19200:tc=UNIX-19200: 12 :el=^D^U^C^S^Q^O@:du:at=hayes:ie=#$%:oe=^D:br#300:tc=dialers: 14 :el=^D^U^C^S^Q^O@:du:at=hayes:ie=#$%:oe=^D:br#1200:tc=dialers: 22 :el=^Z^U^C^S^Q^O:du:at=hayes:ie=$@:oe=^Z:br#300:tc=dialers: 24 :el=^Z^U^C^S^Q^O:du:at=hayes:ie=$@:oe=^Z:br#1200:tc=dialers: [all …]
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | ecore_init_fw_funcs.c | 265 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) in ecore_cmdq_lines_rt_init() 271 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_cmdq_lines_rt_init() 321 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) in ecore_btb_blocks_rt_init() 330 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_btb_blocks_rt_init() 553 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_vp_wfq_rt_init() 718 for(tc = 0; tc < NUM_OF_TCS; tc++) in ecore_qm_pf_rt_init() 802 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_init_vport_wfq() 921 for (tc = 0; tc < num_tc; tc++) { in ecore_init_nig_ets() 1050 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_init_nig_pri_tc_map() 1075 for (tc = 0; tc < NUM_OF_TCS; tc++) { in ecore_init_prs_ets() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | txg.c | 302 mutex_enter(&tc->tc_lock); in txg_hold_open() 304 mutex_exit(&tc->tc_lock); in txg_hold_open() 306 th->th_cpu = tc; in txg_hold_open() 315 tx_cpu_t *tc = th->th_cpu; in txg_rele_to_quiesce() local 324 tx_cpu_t *tc = th->th_cpu; in txg_register_callbacks() local 327 mutex_enter(&tc->tc_lock); in txg_register_callbacks() 329 mutex_exit(&tc->tc_lock); in txg_register_callbacks() 335 tx_cpu_t *tc = th->th_cpu; in txg_rele_to_sync() local 338 mutex_enter(&tc->tc_lock); in txg_rele_to_sync() 342 mutex_exit(&tc->tc_lock); in txg_rele_to_sync() [all …]
|
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.print.c | 119 Putchar(tchar tc) in Putchar() argument 123 if (isascii(tc&TRIM)) { in Putchar() 124 putbyte((int)tc); in Putchar() 127 tc &= TRIM; in Putchar() 128 n = wctomb(linp, tc); in Putchar() 171 Putchar(tchar tc) in Putchar() argument 173 putbyte((int)tc); in Putchar()
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | copywin.c | 93 int tc; in copywin() local 102 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) { in copywin() 108 __m_touch_locs(t, tminr, tc, tc + 1); in copywin()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | turnstile.c | 285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_lookup() local 287 disp_lock_enter(&tc->tc_lock); in turnstile_lookup() 417 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_block() 430 ts->ts_next = tc->tc_first; in turnstile_block() 431 tc->tc_first = ts; in turnstile_block() 459 THREAD_SLEEP(t, &tc->tc_lock); in turnstile_block() 664 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_dequeue() 665 ASSERT(t->t_lockp == &tc->tc_lock); in turnstile_dequeue() 700 tspp = &tc->tc_first; in turnstile_dequeue() 723 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_wakeup() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | grep.sh | 62 integer n=0 c=0 tc=0 nargs=$# # initialize counters 84 let tc=tc+c n=0 c=0 86 test "$cflag" && print $tc # print count if cflag is set 87 let tc # set the return value
|
/illumos-gate/usr/src/test/util-tests/tests/demangle/ |
H A D | rust.c | 277 check_failure(size_t i, rust_test_case_t *tc, const char *dem, boolean_t res) in check_failure() argument 290 (void) printf(" Name: '%s'\n", tc->mangled); in check_failure() 301 check_success(size_t i, rust_test_case_t *tc, const char *dem, boolean_t res) in check_success() argument 303 if (dem != NULL && strcmp(tc->demangled, dem) == 0) in check_success() 311 tc->mangled); in check_success() 316 (void) printf(" Mangled: %s\n", tc->mangled); in check_success() 317 (void) printf(" Expected: %s\n", tc->demangled); in check_success()
|
/illumos-gate/usr/src/cmd/acct/ |
H A D | acctmerg.c | 169 struct tacct tc; in sumcurr() local 172 memcpy(&tc, tp, sizeof(struct tacct)); in sumcurr() 177 tp->ta_uid == tc.ta_uid && in sumcurr() 178 (uidsum || EQN(tp->ta_name, tc.ta_name))) { in sumcurr() 179 tacctadd(&tc, tp); in sumcurr() 185 output(&tc); in sumcurr()
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6835835_builtin_cat_n_broken.sh | 116 nameref tc=testcases[${testid}] 118 out="$( ${SHELL} -o errexit -c "${tc.cmd}" )" || err_exit "${tc.name}: Shell failed" 121 out="$( ${SHELL} +o errexit -c "${tc.cmd}" )" || err_exit "${tc.name}: Shell failed"
|
H A D | sun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh | 125 nameref tc=testcases[${testid}] 140 cut_args+=( "$( printf -- "${tc.cut_args_format[arg_index]}" )" ) 143 typeset output_format="$( printf -- "${tc.output_format}" )" 147 …out="$(printf "${tc.input_format}" | ${SHELL} -c "${cut_cmd} \"\$@\"" dummy "${cut_args[@]}" 2>&1)…
|
H A D | sun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh | 116 nameref tc=testcases[${testid}] 131 join_args+=( "$( printf -- "${tc.join_args_format[arg_index]}" )" ) 134 typeset output_format="$( printf -- "${tc.output_format}" )"
|
/illumos-gate/usr/src/data/terminfo/ |
H A D | termcap.src | 562 :tc=ansi+enq:tc=ecma+color:tc=klone+sgr8:tc=ansi-m: 574 :tc=ansi+rca:tc=ansi+erase:tc=ansi+tabs:tc=ansi+local:\ 575 :tc=ansi+idc:tc=ansi+idl:tc=ansi+rep:tc=ansi+sgrbold:\ 2922 :tc=xterm+app:tc=xterm+pcf2:tc=xterm+pcc2:tc=xterm+pce2: 3412 :tc=ansi+enq:tc=xterm+pcc0:tc=gnome-rh90: 4345 :tc=vt100+enq:tc=rxvt+pcfkeys:tc=vt220+keypad:tc=screen: 5623 :tc=hp+pfk+cr:tc=hp+labels:tc=scrhp: 10313 :tc=aaa+dec:tc=aaa+rv:tc=aaa-60-s: 15357 :tc=nsterm+s:tc=nsterm+c41:tc=nsterm+7: 15360 :tc=nsterm+s:tc=nsterm+c:tc=nsterm+7: [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/ |
H A D | sys_bsd.c | 276 struct tchars tc; local 329 tc = ntc; 360 tc.t_startc = _POSIX_VDISABLE; 361 tc.t_stopc = _POSIX_VDISABLE; 379 tc.t_intrc = _POSIX_VDISABLE; 380 tc.t_quitc = _POSIX_VDISABLE; 381 tc.t_eofc = _POSIX_VDISABLE; 510 if (tc.t_brkc == (cc_t)(_POSIX_VDISABLE)) 511 tc.t_brkc = esc; 520 tc = otc; [all …]
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | copywin.c | 98 int i, tc; local 120 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | topoch.c | 121 port->tc = in STP_topoch_enter_state() 128 port->rcvdTcAck = port->tc = port->tcProp = False; in STP_topoch_enter_state() 140 port->tc = False; in STP_topoch_enter_state() 197 port->tc || port->tcProp) in STP_topoch_check_conditions() 203 if (port->tc) in STP_topoch_check_conditions()
|
/illumos-gate/usr/src/lib/libgen/common/ |
H A D | strrspn.c | 40 strrspn(const char *string, const char *tc) in strrspn() argument 46 if (!strchr(tc, *--p)) in strrspn()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 6579 ASSERT(tc->sig == tc); in fctl_tc_timer() 6608 ASSERT(tc->sig != tc); in fctl_tc_constructor() 6610 bzero(tc, sizeof (*tc)); in fctl_tc_constructor() 6616 tc->sig = tc; in fctl_tc_constructor() 6634 ASSERT(tc->sig == tc); in fctl_tc_destructor() 6643 tc->sig = NULL; in fctl_tc_destructor() 6665 ASSERT(tc->sig == tc); in fctl_tc_increment() 6670 ++tc->counter; in fctl_tc_increment() 6671 if (tc->counter >= tc->max_value) { in fctl_tc_increment() 6676 tc->tid = timeout(fctl_tc_timer, tc, tc->timer); in fctl_tc_increment() [all …]
|
/illumos-gate/usr/src/lib/libmvec/common/ |
H A D | __vsincosbigf.c | 72 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; in __vlibm_vsincos_bigf() local 138 tc = __vlibm_TBL_sincos_lo[j+1] - (__vlibm_TBL_sincos_hi[j] * w - c * t); in __vlibm_vsincos_bigf() 139 c += tc; in __vlibm_vsincos_bigf()
|