Home
last modified time | relevance | path

Searched refs:tc (Results 1 – 25 of 94) sorted by relevance

1234

/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c64 ttycommon_close(tty_common_t *tc) in ttycommon_close() argument
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()
70 if (tc->t_iocpending != 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()
[all …]
H A Dtty_pts.c619 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
630 tc->t_size.ws_row = tp->ts_lines; in ptslioctl()
631 tc->t_size.ws_col = tp->ts_cols; in ptslioctl()
632 tc->t_size.ws_xpixel = 0; in ptslioctl()
633 tc->t_size.ws_ypixel = 0; in ptslioctl()
644 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
669 tp->ts_lines = tc->t_size.ws_row; in ptslioctl()
670 tp->ts_cols = tc->t_size.ws_col; in ptslioctl()
686 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
699 mutex_enter(&tc->t_excl); in ptslioctl()
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/i18n/
H A Dbindtextdomain_test.c117 }, *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 Dixgbe_dcb_82599.c53 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()
66 stats->qbtc[tc] += in ixgbe_dcb_get_tc_stats_82599()
67 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 32); 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()
72 stats->qbrc[tc] += in ixgbe_dcb_get_tc_stats_82599()
73 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBRC_H(tc)))) << 32); in ixgbe_dcb_get_tc_stats_82599()
[all …]
H A Dixgbe_dcb_82598.c53 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 Dixgbe_dcb.c229 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()
232 refill[tc] = tc_config[tc].path[direction].data_credits_refill; 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()
251 bwgid[tc] = tc_config[tc].path[direction].bwg_id; in ixgbe_dcb_unpack_bwgid_cee()
258 int tc; in ixgbe_dcb_unpack_tsa_cee() local
[all …]
/illumos-gate/usr/src/cmd/tip/
H A Detc.remote3 :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:
16 :el=^D^U^C^S^Q^O@:du:at=hayes:ie=#$%:oe=^D:br#2400:tc=dialers:
18 :el=^D^U^C^S^Q^O@:du:at=hayes:ie=#$%:oe=^D:br#9600:tc=dialers:
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_fw_funcs.c160 #define PHYS_VOQ(port, tc, max_phys_tcs_per_port) ((port) * (max_phys_tcs_per_port) + (tc)) argument
162 #define VOQ(port, tc, max_phys_tcs_per_port) ((tc) < LB_TC ? PHYS_VOQ(port, tc, max_phys_tcs_per… argument
248 u8 tc, voq, port_id, num_tcs_in_port; in ecore_cmdq_lines_rt_init() local
265 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) in ecore_cmdq_lines_rt_init()
266 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) in ecore_cmdq_lines_rt_init()
271 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) { in ecore_cmdq_lines_rt_init()
272 if (((port_params[port_id].active_phys_tcs >> tc) & 0x1) == 1) { in ecore_cmdq_lines_rt_init()
273 voq = PHYS_VOQ(port_id, tc, max_phys_tcs_per_port); in ecore_cmdq_lines_rt_init()
308 u8 tc, voq, port_id, num_tcs_in_port; in ecore_btb_blocks_rt_init() local
321 for (tc = 0; tc < NUM_OF_PHYS_TCS; tc++) in ecore_btb_blocks_rt_init()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c296 tx_cpu_t *tc = &tx->tx_cpu[CPU_SEQID]; in txg_hold_open() local
299 mutex_enter(&tc->tc_open_lock); in txg_hold_open()
302 mutex_enter(&tc->tc_lock); in txg_hold_open()
303 tc->tc_count[txg & TXG_MASK]++; 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
317 ASSERT(!MUTEX_HELD(&tc->tc_lock)); in txg_rele_to_quiesce()
318 mutex_exit(&tc->tc_open_lock); in txg_rele_to_quiesce()
324 tx_cpu_t *tc = th->th_cpu; in txg_register_callbacks() local
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.print.c119 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/uts/common/os/
H A Dturnstile.c285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_lookup() local
287 disp_lock_enter(&tc->tc_lock); in turnstile_lookup()
289 for (ts = tc->tc_first; ts != NULL; ts = ts->ts_next) in turnstile_lookup()
413 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); in turnstile_block() local
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()
661 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); in turnstile_dequeue() local
664 ASSERT(DISP_LOCK_HELD(&tc->tc_lock)); in turnstile_dequeue()
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c93 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/contrib/ast/src/cmd/ksh93/tests/
H A Dgrep.sh62 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 Drust.c277 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 Dacctmerg.c169 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 Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh125 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 Dsun_solaris_cr_6835835_builtin_cat_n_broken.sh116 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 Dsun_solaris_cr_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh116 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 Dtermcap.src96 # library can handle multiple tc capabilities in an entry. 4.4BSD has this
175 # Entries with embedded plus signs are designed to be included through use/tc
305 :gn:tc=dumb:
339 :DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:tc=ansi+local1:
343 :it#8:tc=ansi+tabs:
354 :AL=\E[%dL:DL=\E[%dM:tc=ansi+idl1:
366 :md=\E[1m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
368 :mh=\E[2m:tc=ansi+sgr:tc=ansi+sgrso:tc=ansi+sgrul:
390 :se=\E[m:so=\E[7m:ue=\E[m:us=\E[4m:tc=klone+acs:
394 :mk=\E[8m:tc=klone+sgr:
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c276 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/librstp/common/
H A Dtopoch.c121 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/libxcurses/src/libc/xcurses/
H A Dcopywin.c98 int i, tc; local
120 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c6576 timed_counter_t *tc = (timed_counter_t *)arg; in fctl_tc_timer() local
6578 ASSERT(tc != NULL); in fctl_tc_timer()
6579 ASSERT(tc->sig == tc); in fctl_tc_timer()
6581 mutex_enter(&tc->mutex); in fctl_tc_timer()
6582 if (tc->active) { in fctl_tc_timer()
6583 tc->active = B_FALSE; in fctl_tc_timer()
6584 tc->counter = 0; in fctl_tc_timer()
6586 mutex_exit(&tc->mutex); in fctl_tc_timer()
6605 fctl_tc_constructor(timed_counter_t *tc, uint32_t max_value, clock_t timer) in fctl_tc_constructor() argument
6607 ASSERT(tc != NULL); in fctl_tc_constructor()
[all …]
/illumos-gate/usr/src/lib/libgen/common/
H A Dstrrspn.c40 strrspn(const char *string, const char *tc) in strrspn() argument
46 if (!strchr(tc, *--p)) in strrspn()
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vsincosbigf.c72 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()

1234