Searched refs:tp (Results 1 - 25 of 1099) sorted by relevance

1234567891011>>

/freebsd-10.3-release/contrib/netbsd-tests/lib/semaphore/pthread/
H A Dt_sem_pth.c4 ATF_TP_ADD_TCS(tp)
7 ATF_TP_ADD_TC(tp, postwait);
8 ATF_TP_ADD_TC(tp, initvalue);
9 ATF_TP_ADD_TC(tp, destroy);
10 ATF_TP_ADD_TC(tp, busydestroy);
11 ATF_TP_ADD_TC(tp, blockwait);
12 ATF_TP_ADD_TC(tp, blocktimedwait);
13 ATF_TP_ADD_TC(tp, named);
14 ATF_TP_ADD_TC(tp, unlink);
/freebsd-10.3-release/sys/sys/
H A Dttyhook.h43 typedef int th_rint_t(struct tty *tp, char c, int flags);
44 typedef size_t th_rint_bypass_t(struct tty *tp, const void *buf, size_t len);
45 typedef void th_rint_done_t(struct tty *tp);
46 typedef size_t th_rint_poll_t(struct tty *tp);
48 typedef size_t th_getc_inject_t(struct tty *tp, void *buf, size_t len);
49 typedef void th_getc_capture_t(struct tty *tp, const void *buf, size_t len);
50 typedef size_t th_getc_poll_t(struct tty *tp);
52 typedef void th_close_t(struct tty *tp);
72 #define ttyhook_softc(tp) ((tp)
77 ttyhook_rint(struct tty *tp, char c, int flags) argument
86 ttyhook_rint_bypass(struct tty *tp, const void *buf, size_t len) argument
95 ttyhook_rint_done(struct tty *tp) argument
104 ttyhook_rint_poll(struct tty *tp) argument
113 ttyhook_getc_inject(struct tty *tp, void *buf, size_t len) argument
122 ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len) argument
131 ttyhook_getc_poll(struct tty *tp) argument
140 ttyhook_close(struct tty *tp) argument
[all...]
H A Dttydevsw.h43 typedef int tsw_open_t(struct tty *tp);
44 typedef void tsw_close_t(struct tty *tp);
45 typedef void tsw_outwakeup_t(struct tty *tp);
46 typedef void tsw_inwakeup_t(struct tty *tp);
47 typedef int tsw_ioctl_t(struct tty *tp, u_long cmd, caddr_t data,
49 typedef int tsw_cioctl_t(struct tty *tp, int unit, u_long cmd, caddr_t data,
51 typedef int tsw_param_t(struct tty *tp, struct termios *t);
52 typedef int tsw_modem_t(struct tty *tp, int sigon, int sigoff);
53 typedef int tsw_mmap_t(struct tty *tp, vm_ooffset_t offset,
55 typedef void tsw_pktnotify_t(struct tty *tp, cha
84 ttydevsw_open(struct tty *tp) argument
94 ttydevsw_close(struct tty *tp) argument
104 ttydevsw_outwakeup(struct tty *tp) argument
118 ttydevsw_inwakeup(struct tty *tp) argument
132 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument
142 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument
153 ttydevsw_param(struct tty *tp, struct termios *t) argument
162 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) argument
171 ttydevsw_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument
181 ttydevsw_pktnotify(struct tty *tp, char event) argument
191 ttydevsw_free(struct tty *tp) argument
200 ttydevsw_busy(struct tty *tp) argument
[all...]
H A Dttydisc.h45 void ttydisc_open(struct tty *tp);
46 void ttydisc_close(struct tty *tp);
47 int ttydisc_read(struct tty *tp, struct uio *uio, int ioflag);
48 int ttydisc_write(struct tty *tp, struct uio *uio, int ioflag);
49 void ttydisc_optimize(struct tty *tp);
52 void ttydisc_modem(struct tty *tp, int open);
53 #define ttydisc_can_bypass(tp) ((tp)->t_flags & TF_BYPASS)
54 int ttydisc_rint(struct tty *tp, char c, int flags);
55 size_t ttydisc_rint_simple(struct tty *tp, cons
70 ttydisc_read_poll(struct tty *tp) argument
79 ttydisc_write_poll(struct tty *tp) argument
[all...]
/freebsd-10.3-release/usr.sbin/dumpcis/
H A Dreadcis.h49 #define tpl32(tp) ((*((tp) + 3) << 24) | \
50 (*((tp) + 2) << 16) | \
51 (*((tp) + 1) << 8) | *(tp))
52 #define tpl24(tp) ((*((tp) + 2) << 16) | \
53 (*((tp) + 1) << 8) | *(tp))
54 #define tpl16(tp) ((*((t
[all...]
/freebsd-10.3-release/contrib/ncurses/ncurses/trace/
H A Dtrace_xnames.c42 _nc_trace_xnames(TERMTYPE * tp GCC_UNUSED)
46 int limit = tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings;
49 int begin_num = tp->ext_Booleans;
50 int begin_str = tp->ext_Booleans + tp->ext_Numbers;
53 tp->term_names,
55 tp->ext_Booleans, tp
[all...]
/freebsd-10.3-release/lib/libc/powerpc/gen/
H A D_set_tp.c32 register void *tp __asm__("r2");
34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7008));
/freebsd-10.3-release/lib/libc/powerpc64/gen/
H A D_set_tp.c32 register void *tp __asm__("r13");
34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7010));
/freebsd-10.3-release/contrib/atf/atf-c/
H A Datf_c_test.c40 ATF_TP_ADD_TCS(tp)
43 ATF_TP_ADD_TC(tp, include);
/freebsd-10.3-release/contrib/gdb/gdb/
H A Dthread.c72 struct thread_info *tp; local
77 for (tp = thread_list; tp; tp = tp->next)
78 if (tp->step_resume_breakpoint == *breakpointp)
79 tp->step_resume_breakpoint = NULL;
86 free_thread (struct thread_info *tp) argument
90 if (tp->step_resume_breakpoint)
91 delete_breakpoint (tp
104 struct thread_info *tp, *tpnext; local
125 struct thread_info *tp; local
139 struct thread_info *tp, *tpprev; local
161 struct thread_info *tp; local
174 struct thread_info *tp; local
201 struct thread_info *tp; local
213 struct thread_info *tp; local
225 struct thread_info *tp; local
247 struct thread_info *tp; local
261 struct thread_info *tp; local
309 struct thread_info *tp; local
355 struct thread_info *tp; local
382 thread_alive(struct thread_info *tp) argument
397 struct thread_info *tp, *next; local
417 struct thread_info *tp; local
538 struct thread_info *tp; local
600 struct thread_info *tp; local
683 struct thread_info *tp; local
[all...]
/freebsd-10.3-release/sys/kern/
H A Dtty.c72 static void tty_rel_free(struct tty *tp);
96 #define TTY_CALLOUT(tp,d) (dev2unit(d) & TTYUNIT_CALLOUT)
105 tty_watermarks(struct tty *tp) argument
110 if (tp->t_termios.c_cflag & CREAD)
111 bs = MIN(tp->t_termios.c_ispeed / 5, TTYBUF_MAX);
112 ttyinq_setsize(&tp->t_inq, tp, bs);
115 tp->t_inlow = (ttyinq_getallocatedsize(&tp->t_inq) * 9) / 10;
118 bs = MIN(tp
126 tty_drain(struct tty *tp, int leaving) argument
176 ttydev_enter(struct tty *tp) argument
191 ttydev_leave(struct tty *tp) argument
242 struct tty *tp; local
339 struct tty *tp = dev->si_drv1; local
377 tty_is_ctty(struct tty *tp, struct proc *p) argument
386 tty_wait_background(struct tty *tp, struct thread *td, int sig) argument
451 struct tty *tp = dev->si_drv1; local
472 struct tty *tp = dev->si_drv1; local
510 struct tty *tp = dev->si_drv1; local
595 struct tty *tp = dev->si_drv1; local
633 struct tty *tp = dev->si_drv1; local
654 struct tty *tp = kn->kn_hook; local
662 struct tty *tp = kn->kn_hook; local
678 struct tty *tp = kn->kn_hook; local
686 struct tty *tp = kn->kn_hook; local
714 struct tty *tp = dev->si_drv1; local
763 struct tty *tp; local
796 struct tty *tp = dev->si_drv1; local
848 tty_init_termios(struct tty *tp) argument
864 tty_init_console(struct tty *tp, speed_t s) argument
1002 struct tty *tp; local
1053 struct tty *tp = arg; local
1082 tty_rel_free(struct tty *tp) argument
1110 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) argument
1123 tty_rel_sess(struct tty *tp, struct session *sess) argument
1138 tty_rel_gone(struct tty *tp) argument
1160 tty_to_xtty(struct tty *tp, struct xtty *xt) argument
1185 struct tty *tp; local
1219 tty_vmakedevf(struct tty *tp, struct ucred *cred, int flags, const char *fmt, va_list ap) argument
1344 tty_makedevf(struct tty *tp, struct ucred *cred, int flags, const char *fmt, ...) argument
1358 tty_makedev(struct tty *tp, struct ucred *cred, const char *fmt, ...) argument
1372 tty_signal_sessleader(struct tty *tp, int sig) argument
1391 tty_signal_pgrp(struct tty *tp, int sig) argument
1414 tty_wakeup(struct tty *tp, int flags) argument
1433 tty_wait(struct tty *tp, struct cv *cv) argument
1455 tty_timedwait(struct tty *tp, struct cv *cv, int hz) argument
1477 tty_flush(struct tty *tp, int flags) argument
1495 tty_set_winsize(struct tty *tp, const struct winsize *wsz) argument
1505 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument
1851 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument
1868 tty_udev(struct tty *tp) argument
1878 tty_checkoutq(struct tty *tp) argument
1886 tty_hiwat_in_block(struct tty *tp) argument
1906 tty_hiwat_in_unblock(struct tty *tp) argument
1933 ttyhook_defrint(struct tty *tp, char c, int flags) argument
1946 struct tty *tp; local
2019 ttyhook_unregister(struct tty *tp) argument
2043 struct tty *tp; local
2223 struct tty *tp; local
2284 struct tty *tp; local
[all...]
H A Dtty_ttydisc.c59 #define CMP_CC(v,c) (tp->t_termios.c_cc[v] != _POSIX_VDISABLE && \
60 tp->t_termios.c_cc[v] == (c))
61 #define CMP_FLAG(field,opt) (tp->t_termios.c_ ## field ## flag & (opt))
85 ttydisc_open(struct tty *tp) argument
87 ttydisc_optimize(tp);
91 ttydisc_close(struct tty *tp) argument
95 tp->t_flags &= ~(TF_STOPPED|TF_HIWAT|TF_ZOMBIE);
98 ttyinq_flush(&tp->t_inq);
99 ttyoutq_flush(&tp->t_outq);
101 if (!tty_gone(tp)) {
111 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag) argument
184 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag) argument
223 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag, int oresid) argument
277 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag) argument
326 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag) argument
369 ttydisc_write_oproc(struct tty *tp, char c) argument
455 ttydisc_write(struct tty *tp, struct uio *uio, int ioflag) argument
575 ttydisc_optimize(struct tty *tp) argument
595 ttydisc_modem(struct tty *tp, int open) argument
630 ttydisc_echo_force(struct tty *tp, char c, int quote) argument
666 ttydisc_echo(struct tty *tp, char c, int quote) argument
683 struct tty *tp = d; local
689 ttydisc_reprint(struct tty *tp) argument
704 struct tty *tp; member in struct:ttydisc_recalc_length
712 struct tty *tp = data->tp; local
725 ttydisc_recalc_linelength(struct tty *tp) argument
735 ttydisc_rubchar(struct tty *tp) argument
808 ttydisc_rubword(struct tty *tp) argument
840 ttydisc_rint(struct tty *tp, char c, int flags) argument
1069 ttydisc_rint_simple(struct tty *tp, const void *buf, size_t len) argument
1085 ttydisc_rint_bypass(struct tty *tp, const void *buf, size_t len) argument
1107 ttydisc_rint_done(struct tty *tp) argument
1122 ttydisc_rint_poll(struct tty *tp) argument
1145 ttydisc_wakeup_watermark(struct tty *tp) argument
1166 ttydisc_getc(struct tty *tp, void *buf, size_t len) argument
1189 ttydisc_getc_uio(struct tty *tp, struct uio *uio) argument
1234 ttydisc_getc_poll(struct tty *tp) argument
1255 tty_putchar(struct tty *tp, char c) argument
[all...]
/freebsd-10.3-release/contrib/gcclibs/libiberty/
H A Dgettimeofday.c12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz})
14 Writes the current time to @var{tp}. This implementation requires
22 gettimeofday (struct timeval *tp, void *tz) argument
26 tp->tv_usec = 0;
27 if (time (&tp->tv_sec) == (time_t) -1)
/freebsd-10.3-release/contrib/tzcode/zic/
H A Dscheck.c28 register char * tp; local
40 tp = fbuf;
41 while ((*tp++ = c = *fp++) != '\0') {
45 *tp++ = *fp++;
48 *tp++ = '*';
52 *tp++ = *fp++;
54 *tp++ = *fp++;
56 do *tp++ = *fp++;
58 if ((*tp++ = *fp++) == '\0')
61 *(tp
[all...]
/freebsd-10.3-release/lib/libc/arm/gen/
H A D_set_tp.c35 _set_tp(void *tp) argument
39 *((struct tcb **)ARM_TP_ADDRESS) = tp;
41 sysarch(ARM_SET_TP, tp);
/freebsd-10.3-release/lib/libc/amd64/gen/
H A D_set_tp.c34 _set_tp(void *tp) argument
37 amd64_set_fsbase(tp);
/freebsd-10.3-release/lib/libc/i386/gen/
H A D_set_tp.c36 _set_tp(void *tp) argument
39 i386_set_gsbase(tp);
/freebsd-10.3-release/lib/libc/mips/gen/
H A D_set_tp.c35 _set_tp(void *tp) argument
38 sysarch(MIPS_SET_TLS, tp);
/freebsd-10.3-release/contrib/nvi/ex/
H A Dex_txt.c61 TEXT ait, *ntp, *tp; local
75 tp = TAILQ_FIRST(tiqh);
76 if (TAILQ_NEXT(tp, q) != NULL || tp->lb_len < 32) {
80 tp->len = 0;
82 newtp: if ((tp = text_init(sp, NULL, 0, 32)) == NULL)
84 TAILQ_INSERT_HEAD(tiqh, tp, q);
88 tp->lno = sp->lno + 1;
108 if (v_txt_auto(sp, sp->lno, NULL, 0, tp))
111 txt_prompt(sp, tp, promp
356 txt_prompt(SCR *sp, TEXT *tp, ARG_CHAR_T prompt, u_int32_t flags) argument
380 txt_dent(SCR *sp, TEXT *tp) argument
[all...]
/freebsd-10.3-release/sys/netinet/
H A Dtcp_input.c240 static void inline cc_ack_received(struct tcpcb *tp, struct tcphdr *th,
242 static void inline cc_conn_init(struct tcpcb *tp);
243 static void inline cc_post_recovery(struct tcpcb *tp, struct tcphdr *th);
244 static void inline hhook_run_tcp_est_in(struct tcpcb *tp,
273 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) argument
278 hhook_data.tp = tp;
283 tp->osd);
291 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) argument
293 INP_WLOCK_ASSERT(tp
323 cc_conn_init(struct tcpcb *tp) argument
394 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) argument
446 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) argument
548 struct tcpcb *tp = NULL; local
1447 tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, int ti_locked) argument
3226 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument
3406 struct tcpcb *tp = sototcpcb(so); local
3431 tcp_xmit_timer(struct tcpcb *tp, int rtt) argument
3531 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument
3696 tcp_mss(struct tcpcb *tp, int offer) argument
3811 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th) argument
3843 tcp_compute_pipe(struct tcpcb *tp) argument
[all...]
H A Dtcp_timer.c227 struct tcpcb *tp = xtp; local
229 CURVNET_SET(tp->t_vnet);
231 inp = tp->t_inpcb;
232 KASSERT(inp != NULL, ("%s: tp %p tp->t_inpcb == NULL", __func__, tp));
234 if (callout_pending(&tp->t_timers->tt_delack) ||
235 !callout_active(&tp->t_timers->tt_delack)) {
240 callout_deactivate(&tp->t_timers->tt_delack);
246 KASSERT((tp
261 struct tcpcb *tp = xtp; local
332 struct tcpcb *tp = xtp; local
431 struct tcpcb *tp = xtp; local
509 struct tcpcb *tp = xtp; local
779 tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, u_int delta) argument
847 tcp_timer_active(struct tcpcb *tp, uint32_t timer_type) argument
874 tcp_timer_stop(struct tcpcb *tp, uint32_t timer_type) argument
935 tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer, struct xtcp_timer *xtimer) argument
[all...]
H A Dtcp_output.c130 static void inline hhook_run_tcp_est_out(struct tcpcb *tp,
133 static void inline cc_after_idle(struct tcpcb *tp);
139 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, argument
145 hhook_data.tp = tp;
152 tp->osd);
160 cc_after_idle(struct tcpcb *tp) argument
162 INP_WLOCK_ASSERT(tp->t_inpcb);
164 if (CC_ALGO(tp)->after_idle != NULL)
165 CC_ALGO(tp)
172 tcp_output(struct tcpcb *tp) argument
1599 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_offload.c92 tcp_offload_listen_start(struct tcpcb *tp) argument
95 INP_WLOCK_ASSERT(tp->t_inpcb);
97 EVENTHANDLER_INVOKE(tcp_offload_listen_start, tp);
101 tcp_offload_listen_stop(struct tcpcb *tp) argument
104 INP_WLOCK_ASSERT(tp->t_inpcb);
106 EVENTHANDLER_INVOKE(tcp_offload_listen_stop, tp);
110 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) argument
112 struct toedev *tod = tp->tod;
114 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp
121 tcp_offload_output(struct tcpcb *tp) argument
146 tcp_offload_rcvd(struct tcpcb *tp) argument
157 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) argument
168 tcp_offload_detach(struct tcpcb *tp) argument
[all...]
/freebsd-10.3-release/contrib/file/python/
H A Dexample.py7 tp = ms.file("/bin/ls") variable
8 print (tp)
14 tp = ms.buffer(buf) variable
15 print (tp)
/freebsd-10.3-release/contrib/ncurses/include/
H A Dterm_entry.h73 #define NUM_BOOLEANS(tp) (tp)->num_Booleans
74 #define NUM_NUMBERS(tp) (tp)->num_Numbers
75 #define NUM_STRINGS(tp) (tp)->num_Strings
76 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i]
78 #define NUM_BOOLEANS(tp) BOOLCOUNT
79 #define NUM_NUMBERS(tp) NUMCOUN
[all...]

Completed in 132 milliseconds

1234567891011>>