Home
last modified time | relevance | path

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

1234

/titanic_51/usr/src/uts/common/io/
H A Dtty_common.c63 ttycommon_close(tty_common_t *tc) in ttycommon_close() argument
65 mutex_enter(&tc->t_excl); in ttycommon_close()
66 tc->t_flags &= ~TS_XCLUDE; in ttycommon_close()
67 tc->t_readq = NULL; in ttycommon_close()
68 tc->t_writeq = NULL; in ttycommon_close()
69 if (tc->t_iocpending != NULL) { in ttycommon_close()
72 mp = tc->t_iocpending; in ttycommon_close()
73 tc->t_iocpending = NULL; in ttycommon_close()
74 mutex_exit(&tc->t_excl); in ttycommon_close()
83 mutex_exit(&tc in ttycommon_close()
92 ttycommon_qfull(tty_common_t * tc,queue_t * q) ttycommon_qfull() argument
121 ttycommon_ioctl(tty_common_t * tc,queue_t * q,mblk_t * mp,int * errorp) ttycommon_ioctl() argument
[all...]
H A Dtty_pts.c617 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
628 tc->t_size.ws_row = tp->ts_lines; in ptslioctl()
629 tc->t_size.ws_col = tp->ts_cols; in ptslioctl()
630 tc->t_size.ws_xpixel = 0; in ptslioctl()
631 tc->t_size.ws_ypixel = 0; in ptslioctl()
642 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
667 tp->ts_lines = tc->t_size.ws_row; in ptslioctl()
668 tp->ts_cols = tc->t_size.ws_col; in ptslioctl()
684 tty_common_t *tc = &pty->pt_ttycommon; in ptslioctl() local
697 mutex_enter(&tc in ptslioctl()
713 tty_common_t *tc = &pty->pt_ttycommon; ptslioctl() local
740 tty_common_t *tc = &pty->pt_ttycommon; ptslioctl() local
[all...]
/titanic_51/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
[all...]
/titanic_51/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82599.c52 int tc; in ixgbe_dcb_get_tc_stats_82599() local
60 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82599()
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82599()
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc)); in ixgbe_dcb_get_tc_stats_82599()
65 stats->qbtc[tc] += in ixgbe_dcb_get_tc_stats_82599()
66 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 3 in ixgbe_dcb_get_tc_stats_82599()
93 int tc; ixgbe_dcb_get_pfc_stats_82599() local
[all...]
H A Dixgbe_dcb_82598.c52 int tc; in ixgbe_dcb_get_tc_stats_82598() local
60 for (tc = 0; tc < tc_count; tc++) { in ixgbe_dcb_get_tc_stats_82598()
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc)); in ixgbe_dcb_get_tc_stats_82598()
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc)); in ixgbe_dcb_get_tc_stats_82598()
66 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc)); in ixgbe_dcb_get_tc_stats_82598()
94 int tc; ixgbe_dcb_get_pfc_stats_82598() local
[all...]
H A Dixgbe_dcb.c200 * consumed by hardware routines. The priority to tc map must be
222 int tc; in ixgbe_dcb_unpack_refill_cee() local
224 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++) in ixgbe_dcb_unpack_refill_cee()
225 refill[tc] = tc_config[tc].path[direction].data_credits_refill; in ixgbe_dcb_unpack_refill_cee()
231 int tc; in ixgbe_dcb_unpack_max_cee() local
233 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLAS in ixgbe_dcb_unpack_max_cee()
241 int tc; ixgbe_dcb_unpack_bwgid_cee() local
251 int tc; ixgbe_dcb_unpack_tsa_cee() local
261 u8 tc = cfg->num_tcs.pg_tcs; ixgbe_dcb_get_tc_from_up() local
[all...]
/titanic_51/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c676 ttrace_cpu_data_t *tc; in ttrace_walk_init() local
706 tc = &(tw->tw_cpus[i]); in ttrace_walk_init()
707 tc->tc_bufsiz = ctl->d.limit - in ttrace_walk_init()
709 tc->tc_buf = buf = mdb_alloc(tc->tc_bufsiz, UM_SLEEP); in ttrace_walk_init()
710 tc->tc_base = (uintptr_t)ctl->d.vaddr_base; in ttrace_walk_init()
712 if (mdb_vread(buf, tc->tc_bufsiz, tc->tc_base) == -1) { in ttrace_walk_init()
715 mdb_free(buf, tc->tc_bufsiz); in ttrace_walk_init()
716 tc in ttrace_walk_init()
739 ttrace_cpu_data_t *tc; ttrace_walk_step() local
964 httrace_cpu_data_t *tc; httrace_walk_init() local
1028 httrace_cpu_data_t *tc; httrace_walk_step() local
[all...]
/titanic_51/usr/src/uts/common/fs/zfs/
H A Dtxg.c295 tx_cpu_t *tc = &tx->tx_cpu[CPU_SEQID]; in txg_hold_open() local
298 mutex_enter(&tc->tc_open_lock); in txg_hold_open()
301 mutex_enter(&tc->tc_lock); in txg_hold_open()
302 tc->tc_count[txg & TXG_MASK]++; in txg_hold_open()
303 mutex_exit(&tc->tc_lock); in txg_hold_open()
305 th->th_cpu = tc; in txg_hold_open()
314 tx_cpu_t *tc = th->th_cpu; in txg_rele_to_quiesce() local
316 ASSERT(!MUTEX_HELD(&tc->tc_lock)); in txg_rele_to_quiesce()
317 mutex_exit(&tc->tc_open_lock); in txg_rele_to_quiesce()
323 tx_cpu_t *tc in txg_register_callbacks() local
334 tx_cpu_t *tc = th->th_cpu; txg_rele_to_sync() local
383 tx_cpu_t *tc = &tx->tx_cpu[c]; txg_quiesce() local
415 tx_cpu_t *tc = &tx->tx_cpu[c]; txg_dispatch_callbacks() local
[all...]
/titanic_51/usr/src/cmd/csh/
H A Dsh.print.c114 * Putchar(tc) does what putbyte(c) do for a byte c.
116 * a control character) as it is, while Putchar(tc) may expand the
117 * character tc to some byte sequnce that represents the character
121 Putchar(tchar tc) in Putchar() argument
125 if (isascii(tc&TRIM)) { in Putchar()
126 putbyte((int)tc); in Putchar()
129 tc &= TRIM; in Putchar()
130 n = wctomb(linp, tc); in Putchar()
168 * Putchar(tc) does what putbyte(c) do for a byte c.
173 Putchar(tchar tc) in Putchar() argument
[all...]
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c95 int tc; in copywin() local
104 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) { in copywin()
110 __m_touch_locs(t, tminr, tc, tc + 1); in copywin()
/titanic_51/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 in turnstile_dequeue()
720 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); turnstile_wakeup() local
[all...]
/titanic_51/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
/titanic_51/usr/src/lib/libshell/common/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
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_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)…
/titanic_51/usr/src/uts/i86pc/io/
H A Dmicrofind.c163 int tc = 0; in microfind_pit_delta_avg() local
167 while (tc < trials) { in microfind_pit_delta_avg()
186 tc++; in microfind_pit_delta_avg()
189 return (total / tc); in microfind_pit_delta_avg()
/titanic_51/usr/src/cmd/acct/
H A Dacctmerg.c170 struct tacct tc; in sumcurr() local
173 memcpy(&tc, tp, sizeof(struct tacct)); in sumcurr()
178 tp->ta_uid == tc.ta_uid && in sumcurr()
179 (uidsum || EQN(tp->ta_name, tc.ta_name))) { in sumcurr()
180 tacctadd(&tc, tp); in sumcurr()
186 output(&tc); in sumcurr()
/titanic_51/usr/src/cmd/ast/libshell/common/tests/
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"
119 [[ "${expected_output}" == "${out}" ]] || err_exit "${tc.name}: Builtin output does not match expected output"
121 out="$( ${SHELL} +o errexit -c "${tc.cmd}" )" || err_exit "${tc.name}: Shell failed"
122 [[ "${expected_output}" == "${out}" ]] || err_exit "${tc.name}: Builtin output does not match expected output"
H A Dsun_solaris_cr_6904575_cut_-d_with_multibyte_character_no_longer_works.sh125 nameref tc=testcases[${testid}]
126 testname="${cut_cmd}/${tc.name}"
128 if [[ "${tc.locale}" == "<unicode>" ]] ; then
133 export LC_ALL="${tc.locale}"
139 for arg_index in "${!tc.cut_args_format[@]}" ; do
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)" || err_exit "${testname}: Command returned exit code $?"
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dsys_bsd.c280 struct tchars tc; local
333 tc = ntc;
364 tc.t_startc = _POSIX_VDISABLE;
365 tc.t_stopc = _POSIX_VDISABLE;
383 tc.t_intrc = _POSIX_VDISABLE;
384 tc.t_quitc = _POSIX_VDISABLE;
385 tc.t_eofc = _POSIX_VDISABLE;
514 if (tc.t_brkc == (cc_t)(_POSIX_VDISABLE))
515 tc.t_brkc = esc;
524 tc
[all...]
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcopywin.c100 int i, tc; local
122 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
/titanic_51/usr/src/cmd/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
[all...]
/titanic_51/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()
/titanic_51/usr/src/lib/libgen/common/
H A Dstrrspn.c38 * to be trimmed (tc).
42 strrspn(const char *string, const char *tc) in strrspn() argument
48 if (!strchr(tc, *--p)) in strrspn()
/titanic_51/usr/src/uts/sun/io/ttymux/
H A Dttymux_impl.h141 #define SM_SETCFLAG(qi, tc) \ argument
143 (qi->sm_ttycommon->t_cflag & 0xffff0000 | (tc)->c_cflag)
144 #define SM_SETLFLAG(qi, tc) \ argument
146 (qi->sm_ttycommon->t_iflag & 0xffff0000 | (tc)->c_iflag)

1234