Home
last modified time | relevance | path

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

1234

/titanic_41/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->t_excl); in ttycommon_close()
[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->t_excl); in ptslioctl()
[all …]
/titanic_41/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 …]
/titanic_41/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->tc_buf = NULL; in ttrace_walk_init()
718 tc->tc_rec = (struct trap_trace_record *) in ttrace_walk_init()
720 tc->tc_stop = (struct trap_trace_record *) in ttrace_walk_init()
[all …]
/titanic_41/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 = th->th_cpu; in txg_register_callbacks() local
[all …]
/titanic_41/usr/src/cmd/csh/
H A Dsh.print.c121 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()
173 Putchar(tchar tc) in Putchar() argument
175 putbyte((int)tc); in Putchar()
/titanic_41/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_41/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 …]
/titanic_41/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)…
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}" )"
/titanic_41/usr/src/uts/intel/io/drm/
H A Di915_gem_debug.c591 unsigned int tc; in decode_3d_primitive() local
639 for (tc = 0; tc <= 7; tc++) { in decode_3d_primitive()
640 switch ((saved_s2 >> (tc * 4)) & 0xf) { in decode_3d_primitive()
642 VERTEX_OUT("T%d.X = %x float", tc, data[i]); in decode_3d_primitive()
643 VERTEX_OUT("T%d.Y = %x float", tc, data[i]); in decode_3d_primitive()
646 VERTEX_OUT("T%d.X = %x float", tc, data[i]); in decode_3d_primitive()
647 VERTEX_OUT("T%d.Y = %x float", tc, data[i]); in decode_3d_primitive()
648 VERTEX_OUT("T%d.Z = %x float", tc, data[i]); in decode_3d_primitive()
651 VERTEX_OUT("T%d.X = %x float", tc, data[i]); in decode_3d_primitive()
652 VERTEX_OUT("T%d.Y = %x float", tc, data[i]); in decode_3d_primitive()
[all …]
/titanic_41/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_41/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 = otc;
[all …]
/titanic_41/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_41/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=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 …]
/titanic_41/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_41/usr/src/lib/libgen/common/
H A Dstrrspn.c42 strrspn(const char *string, const char *tc) in strrspn() argument
48 if (!strchr(tc, *--p)) in strrspn()
/titanic_41/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)
/titanic_41/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c58 char tc; in main() local
137 nbytes = read(fd, &tc, sizeof (tc)); in main()
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c6570 timed_counter_t *tc = (timed_counter_t *)arg; in fctl_tc_timer() local
6572 ASSERT(tc != NULL); in fctl_tc_timer()
6573 ASSERT(tc->sig == tc); in fctl_tc_timer()
6575 mutex_enter(&tc->mutex); in fctl_tc_timer()
6576 if (tc->active) { in fctl_tc_timer()
6577 tc->active = B_FALSE; in fctl_tc_timer()
6578 tc->counter = 0; in fctl_tc_timer()
6580 mutex_exit(&tc->mutex); in fctl_tc_timer()
6599 fctl_tc_constructor(timed_counter_t *tc, uint32_t max_value, clock_t timer) in fctl_tc_constructor() argument
6601 ASSERT(tc != NULL); in fctl_tc_constructor()
[all …]
/titanic_41/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()
H A D__vsincosbig.c73 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; in __vlibm_vsincos_big() local
141 tc = __vlibm_TBL_sincos_lo[j+1] - (__vlibm_TBL_sincos_hi[j] * w - c * t); in __vlibm_vsincos_big()
142 c += tc; in __vlibm_vsincos_big()
/titanic_41/usr/src/cmd/bnu/
H A Dfio.c328 static int tc = TC; variable
355 if (--tc < 0) {
356 tc = TC;
443 if (--tc < 0) {
444 tc = TC;

1234