Searched refs:tc (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/lib/libgen/common/
H A Dstrrspn.c38 * to be trimmed (tc).
42 strrspn(const char *string, const char *tc) argument
48 if (!strchr(tc, *--p))
/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c63 ttycommon_close(tty_common_t *tc) argument
65 mutex_enter(&tc->t_excl);
66 tc->t_flags &= ~TS_XCLUDE;
67 tc->t_readq = NULL;
68 tc->t_writeq = NULL;
69 if (tc->t_iocpending != NULL) {
72 mp = tc->t_iocpending;
73 tc->t_iocpending = NULL;
74 mutex_exit(&tc->t_excl);
83 mutex_exit(&tc
92 ttycommon_qfull(tty_common_t *tc, queue_t *q) argument
121 ttycommon_ioctl(tty_common_t *tc, queue_t *q, mblk_t *mp, int *errorp) argument
[all...]
H A Dtty_pts.c617 tty_common_t *tc = &pty->pt_ttycommon; local
628 tc->t_size.ws_row = tp->ts_lines;
629 tc->t_size.ws_col = tp->ts_cols;
630 tc->t_size.ws_xpixel = 0;
631 tc->t_size.ws_ypixel = 0;
642 tty_common_t *tc = &pty->pt_ttycommon; local
667 tp->ts_lines = tc->t_size.ws_row;
668 tp->ts_cols = tc->t_size.ws_col;
684 tty_common_t *tc = &pty->pt_ttycommon; local
697 mutex_enter(&tc
713 tty_common_t *tc = &pty->pt_ttycommon; local
740 tty_common_t *tc = &pty->pt_ttycommon; local
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_dcb_82598.c52 int tc; local
60 for (tc = 0; tc < tc_count; tc++) {
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC(tc));
66 stats->qprc[tc] += IXGBE_READ_REG(hw, IXGBE_QPRC(tc));
94 int tc; local
[all...]
H A Dixgbe_dcb_82599.c52 int tc; local
60 for (tc = 0; tc < tc_count; tc++) {
62 stats->qptc[tc] += IXGBE_READ_REG(hw, IXGBE_QPTC(tc));
64 stats->qbtc[tc] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(tc));
65 stats->qbtc[tc] +=
66 (((u64)(IXGBE_READ_REG(hw, IXGBE_QBTC_H(tc)))) << 3
93 int tc; local
[all...]
H A Dixgbe_dcb.c200 * consumed by hardware routines. The priority to tc map must be
222 int tc; local
224 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLASS; tc++)
225 refill[tc] = tc_config[tc].path[direction].data_credits_refill;
231 int tc; local
233 for (tc = 0; tc < IXGBE_DCB_MAX_TRAFFIC_CLAS
241 int tc; local
251 int tc; local
261 u8 tc = cfg->num_tcs.pg_tcs; local
[all...]
/illumos-gate/usr/src/lib/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 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_6904878_join_-t_no_longer_works_with_multibyte_char_separator.sh116 nameref tc=testcases[${testid}]
117 testname="${join_cmd}/${tc.name}"
119 if [[ "${tc.locale}" == "<unicode>" ]] ; then
124 export LC_ALL="${tc.locale}"
130 for arg_index in "${!tc.join_args_format[@]}" ; do
131 join_args+=( "$( printf -- "${tc.join_args_format[arg_index]}" )" )
134 typeset output_format="$( printf -- "${tc.output_format}" )"
138 printf "${tc.input1_format}" >"input1"
139 printf "${tc.input2_format}" >"input2"
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 $?"
H A Dsun_solaris_cr_6904557_wc_no_longer_counts_number_of_bytes_correctly.sh141 nameref tc=testcases[${testid}]
142 testname="${wc_cmd}/${tc.name}"
144 if [[ "${tc.locale}" == "<unicode>" ]] ; then
149 export LC_ALL="${tc.locale}"
152 out="$(printf "${tc.input_format}" | ${SHELL} -c "${wc_cmd} \"\$@\"" dummy "${tc.wc_args[@]}" 2>&1)" || err_exit "${testname}: Command returned exit code $?"
153 [[ "${out}" == ${tc.output_pattern} ]] || err_exit "${testname}: Expected match for $(printf "%q\n" "${tc.output_pattern}"), got $(printf "%q\n" "${out}")"
/illumos-gate/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) argument
125 if (isascii(tc&TRIM)) {
126 putbyte((int)tc);
129 tc &= TRIM;
130 n = wctomb(linp, tc);
168 * Putchar(tc) does what putbyte(c) do for a byte c.
173 Putchar(tchar tc) argument
[all...]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcopywin.c95 int tc; local
104 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
110 __m_touch_locs(t, tminr, tc, tc + 1);
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c676 ttrace_cpu_data_t *tc; local
706 tc = &(tw->tw_cpus[i]);
707 tc->tc_bufsiz = ctl->d.limit -
709 tc->tc_buf = buf = mdb_alloc(tc->tc_bufsiz, UM_SLEEP);
710 tc->tc_base = (uintptr_t)ctl->d.vaddr_base;
712 if (mdb_vread(buf, tc->tc_bufsiz, tc->tc_base) == -1) {
715 mdb_free(buf, tc->tc_bufsiz);
716 tc
739 ttrace_cpu_data_t *tc; local
964 httrace_cpu_data_t *tc; local
1028 httrace_cpu_data_t *tc; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/
H A Dmicrofind.c163 int tc = 0; local
167 while (tc < trials) {
186 tc++;
189 return (total / tc);
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcopywin.c100 int i, tc; local
122 for (tc = tminc; tc <= tmaxc; ++tc, ++tt, ++st) {
/illumos-gate/usr/src/uts/common/os/
H A Dturnstile.c285 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); local
287 disp_lock_enter(&tc->tc_lock);
289 for (ts = tc->tc_first; ts != NULL; ts = ts->ts_next)
413 turnstile_chain_t *tc = &TURNSTILE_CHAIN(sobj); local
417 ASSERT(DISP_LOCK_HELD(&tc->tc_lock));
430 ts->ts_next = tc->tc_first;
431 tc->tc_first = ts;
459 THREAD_SLEEP(t, &tc->tc_lock);
661 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); local
664 ASSERT(DISP_LOCK_HELD(&tc
720 turnstile_chain_t *tc = &TURNSTILE_CHAIN(ts->ts_sobj); local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c295 tx_cpu_t *tc = &tx->tx_cpu[CPU_SEQID]; local
298 mutex_enter(&tc->tc_open_lock);
301 mutex_enter(&tc->tc_lock);
302 tc->tc_count[txg & TXG_MASK]++;
303 mutex_exit(&tc->tc_lock);
305 th->th_cpu = tc;
314 tx_cpu_t *tc = th->th_cpu; local
316 ASSERT(!MUTEX_HELD(&tc->tc_lock));
317 mutex_exit(&tc->tc_open_lock);
323 tx_cpu_t *tc local
334 tx_cpu_t *tc = th->th_cpu; local
383 tx_cpu_t *tc = &tx->tx_cpu[c]; local
415 tx_cpu_t *tc = &tx->tx_cpu[c]; local
[all...]
/illumos-gate/usr/src/lib/efcode/efdaemon/
H A Defdaemon.c58 char tc; local
137 nbytes = read(fd, &tc, sizeof (tc));
/illumos-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_impl.h141 #define SM_SETCFLAG(qi, tc) \
143 (qi->sm_ttycommon->t_cflag & 0xffff0000 | (tc)->c_cflag)
144 #define SM_SETLFLAG(qi, tc) \
146 (qi->sm_ttycommon->t_iflag & 0xffff0000 | (tc)->c_iflag)
/illumos-gate/usr/src/cmd/acct/
H A Dacctmerg.c170 struct tacct tc; local
173 memcpy(&tc, tp, sizeof(struct tacct));
178 tp->ta_uid == tc.ta_uid &&
179 (uidsum || EQN(tp->ta_name, tc.ta_name))) {
180 tacctadd(&tc, tp);
186 output(&tc);
/illumos-gate/usr/src/lib/librstp/common/
H A Dtopoch.c121 port->tc =
128 port->rcvdTcAck = port->tc = port->tcProp = False;
140 port->tc = False;
197 port->tc || port->tcProp)
203 if (port->tc)
/illumos-gate/usr/src/uts/intel/io/drm/
H A Di915_gem_debug.c591 unsigned int tc; local
639 for (tc = 0; tc <= 7; tc++) {
640 switch ((saved_s2 >> (tc * 4)) & 0xf) {
642 VERTEX_OUT("T%d.X = %x float", tc, data[i]);
643 VERTEX_OUT("T%d.Y = %x float", tc, data[i]);
646 VERTEX_OUT("T%d.X = %x float", tc, data[i]);
647 VERTEX_OUT("T%d.Y = %x float", tc, data[i]);
648 VERTEX_OUT("T%d.Z = %x float", tc, dat
[all...]
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vsincosbig.c73 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; local
141 tc = __vlibm_TBL_sincos_lo[j+1] - (__vlibm_TBL_sincos_hi[j] * w - c * t);
142 c += tc;
H A D__vsincosbigf.c72 double ts, tc, tx, tt[3], ty[2], t, w, z, c, s; local
138 tc = __vlibm_TBL_sincos_lo[j+1] - (__vlibm_TBL_sincos_hi[j] * w - c * t);
139 c += tc;

Completed in 136 milliseconds

123