Home
last modified time | relevance | path

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

1234

/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c66 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 Dtty_pts.c632 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 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/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:
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/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()
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 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()
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/mdb/sun4u/modules/unix/
H A Dunix.c709 tc->tc_buf = buf = mdb_alloc(tc->tc_bufsiz, UM_SLEEP); in ttrace_walk_init()
773 (uintptr_t)tc->tc_buf + tc->tc_base, &fullrec, in ttrace_walk_step()
778 if (tc->tc_rec < tc->tc_buf) in ttrace_walk_step()
780 tc->tc_buf + (uintptr_t)tc->tc_bufsiz - in ttrace_walk_step()
783 if (tc->tc_rec == tc->tc_stop) { in ttrace_walk_step()
785 mdb_free(tc->tc_buf, tc->tc_bufsiz); in ttrace_walk_step()
1062 (uintptr_t)tc->tc_buf + tc->tc_base, &fullrec, in httrace_walk_step()
1068 if (tc->tc_rec == tc->tc_buf) in httrace_walk_step()
1070 tc->tc_buf + (uintptr_t)tc->tc_bufsiz - in httrace_walk_step()
1073 if (tc->tc_rec == tc->tc_stop) { in httrace_walk_step()
[all …]
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_init_fw_funcs.c265 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 Dtxg.c302 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 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()
/illumos-gate/usr/src/test/util-tests/tests/demangle/
H A Drust.c122 check_failure(size_t i, rust_test_case_t *tc, const char *dem, boolean_t res) in check_failure() argument
135 (void) printf(" Name: '%s'\n", tc->mangled); in check_failure()
146 check_success(size_t i, rust_test_case_t *tc, const char *dem, boolean_t res) in check_success() argument
148 if (dem != NULL && strcmp(tc->demangled, dem) == 0) in check_success()
156 tc->mangled); in check_success()
161 (void) printf(" Mangled: %s\n", tc->mangled); in check_success()
162 (void) printf(" Expected: %s\n", tc->demangled); in check_success()
/illumos-gate/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()
/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()
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 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/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()
/illumos-gate/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()
/illumos-gate/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"
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}" )"
/illumos-gate/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 …]
/illumos-gate/usr/src/data/terminfo/
H A Dtermcap.src562 :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/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/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/libgen/common/
H A Dstrrspn.c42 strrspn(const char *string, const char *tc) in strrspn() argument
48 if (!strchr(tc, *--p)) in strrspn()

1234