/freebsd-9.3-release/sys/sys/ |
H A D | ttyhook.h | 43 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 D | ttydevsw.h | 43 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 81 ttydevsw_open(struct tty *tp) argument 90 ttydevsw_close(struct tty *tp) argument 99 ttydevsw_outwakeup(struct tty *tp) argument 112 ttydevsw_inwakeup(struct tty *tp) argument 125 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 134 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument 143 ttydevsw_param(struct tty *tp, struct termios *t) argument 151 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) argument 159 ttydevsw_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 168 ttydevsw_pktnotify(struct tty *tp, char event) argument 177 ttydevsw_free(struct tty *tp) argument [all...] |
H A D | ttydisc.h | 45 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-9.3-release/usr.sbin/dumpcis/ |
H A D | readcis.h | 49 #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-9.3-release/contrib/ncurses/ncurses/trace/ |
H A D | trace_xnames.c | 42 _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-9.3-release/lib/libc/powerpc/gen/ |
H A D | _set_tp.c | 32 register void *tp __asm__("r2"); 34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7008));
|
/freebsd-9.3-release/lib/libc/powerpc64/gen/ |
H A D | _set_tp.c | 32 register void *tp __asm__("r13"); 34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7010));
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | thread.c | 72 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-9.3-release/sys/kern/ |
H A D | tty.c | 72 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) argument 159 ttydev_enter(struct tty *tp) argument 173 ttydev_leave(struct tty *tp) argument 222 struct tty *tp; local 320 struct tty *tp = dev->si_drv1; local 357 tty_is_ctty(struct tty *tp, struct proc *p) argument 365 tty_wait_background(struct tty *tp, struct thread *td, int sig) argument 430 struct tty *tp = dev->si_drv1; local 451 struct tty *tp = dev->si_drv1; local 489 struct tty *tp = dev->si_drv1; local 574 struct tty *tp = dev->si_drv1; local 612 struct tty *tp = dev->si_drv1; local 633 struct tty *tp = kn->kn_hook; local 641 struct tty *tp = kn->kn_hook; local 657 struct tty *tp = kn->kn_hook; local 665 struct tty *tp = kn->kn_hook; local 692 struct tty *tp = dev->si_drv1; local 740 struct tty *tp; local 772 struct tty *tp = dev->si_drv1; local 824 tty_init_termios(struct tty *tp) argument 840 tty_init_console(struct tty *tp, speed_t s) argument 861 ttydevsw_defopen(struct tty *tp) argument 868 ttydevsw_defclose(struct tty *tp) argument 873 ttydevsw_defoutwakeup(struct tty *tp) argument 880 ttydevsw_definwakeup(struct tty *tp) argument 885 ttydevsw_defioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 892 ttydevsw_defcioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument 899 ttydevsw_defparam(struct tty *tp, struct termios *t) argument 921 ttydevsw_defmodem(struct tty *tp, int sigon, int sigoff) argument 929 ttydevsw_defmmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 937 ttydevsw_defpktnotify(struct tty *tp, char event) argument 964 struct tty *tp; local 1019 struct tty *tp = arg; local 1048 tty_rel_free(struct tty *tp) argument 1071 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) argument 1083 tty_rel_sess(struct tty *tp, struct session *sess) argument 1097 tty_rel_gone(struct tty *tp) argument 1118 tty_to_xtty(struct tty *tp, struct xtty *xt) argument 1142 struct tty *tp; local 1176 tty_makedev(struct tty *tp, struct ucred *cred, const char *fmt, ...) argument 1264 tty_signal_sessleader(struct tty *tp, int sig) argument 1283 tty_signal_pgrp(struct tty *tp, int sig) argument 1306 tty_wakeup(struct tty *tp, int flags) argument 1324 tty_wait(struct tty *tp, struct cv *cv) argument 1346 tty_timedwait(struct tty *tp, struct cv *cv, int hz) argument 1368 tty_flush(struct tty *tp, int flags) argument 1385 tty_set_winsize(struct tty *tp, const struct winsize *wsz) argument 1395 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1741 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1758 tty_udev(struct tty *tp) argument 1767 tty_checkoutq(struct tty *tp) argument 1775 tty_hiwat_in_block(struct tty *tp) argument 1795 tty_hiwat_in_unblock(struct tty *tp) argument 1822 ttyhook_defrint(struct tty *tp, char c, int flags) argument 1835 struct tty *tp; local 1918 ttyhook_unregister(struct tty *tp) argument 1942 struct tty *tp; local 2117 struct tty *tp; local 2178 struct tty *tp; local [all...] |
H A D | tty_ttydisc.c | 59 #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 684 struct tty *tp = d; local 690 ttydisc_reprint(struct tty *tp) argument 705 struct tty *tp; member in struct:ttydisc_recalc_length 713 struct tty *tp = data->tp; local 726 ttydisc_recalc_linelength(struct tty *tp) argument 736 ttydisc_rubchar(struct tty *tp) argument 809 ttydisc_rubword(struct tty *tp) argument 841 ttydisc_rint(struct tty *tp, char c, int flags) argument 1070 ttydisc_rint_simple(struct tty *tp, const void *buf, size_t len) argument 1086 ttydisc_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 1108 ttydisc_rint_done(struct tty *tp) argument 1123 ttydisc_rint_poll(struct tty *tp) argument 1146 ttydisc_wakeup_watermark(struct tty *tp) argument 1167 ttydisc_getc(struct tty *tp, void *buf, size_t len) argument 1190 ttydisc_getc_uio(struct tty *tp, struct uio *uio) argument 1235 ttydisc_getc_poll(struct tty *tp) argument 1256 tty_putchar(struct tty *tp, char c) argument [all...] |
/freebsd-9.3-release/contrib/gcclibs/libiberty/ |
H A D | gettimeofday.c | 12 @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-9.3-release/contrib/tzcode/zic/ |
H A D | scheck.c | 28 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-9.3-release/crypto/heimdal/lib/roken/ |
H A D | gettimeofday.c | 46 gettimeofday (struct timeval *tp, void *ignore) argument 51 tp->tv_sec = t; 52 tp->tv_usec = 0;
|
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_txt.c | 63 TEXT ait, *ntp, *tp; local 76 tp = tiqh->cqh_first; 77 if (tp->q.cqe_next != (void *)tiqh || tp->lb_len < 32) { 81 tp->len = 0; 83 newtp: if ((tp = text_init(sp, NULL, 0, 32)) == NULL) 85 CIRCLEQ_INSERT_HEAD(tiqh, tp, q); 89 tp->lno = sp->lno + 1; 109 if (v_txt_auto(sp, sp->lno, NULL, 0, tp)) 112 txt_prompt(sp, tp, promp [all...] |
/freebsd-9.3-release/lib/libc/amd64/gen/ |
H A D | _set_tp.c | 34 _set_tp(void *tp) argument 37 amd64_set_fsbase(tp);
|
/freebsd-9.3-release/lib/libc/arm/gen/ |
H A D | _set_tp.c | 35 _set_tp(void *tp) argument 38 *((struct tcb **)ARM_TP_ADDRESS) = tp;
|
/freebsd-9.3-release/lib/libc/i386/gen/ |
H A D | _set_tp.c | 36 _set_tp(void *tp) argument 39 i386_set_gsbase(tp);
|
/freebsd-9.3-release/sys/netinet/ |
H A D | tcp_timer.c | 174 struct tcpcb *tp = xtp; local 176 CURVNET_SET(tp->t_vnet); 178 inp = tp->t_inpcb; 192 if (callout_pending(&tp->t_timers->tt_delack) || 193 !callout_active(&tp->t_timers->tt_delack)) { 198 callout_deactivate(&tp->t_timers->tt_delack); 205 tp->t_flags |= TF_ACKNOW; 207 (void) tcp_output(tp); 215 struct tcpcb *tp = xtp; local 217 CURVNET_SET(tp 295 struct tcpcb *tp = xtp; local 399 struct tcpcb *tp = xtp; local 485 struct tcpcb *tp = xtp; local 649 tcp_timer_activate(struct tcpcb *tp, int timer_type, u_int delta) argument 693 tcp_timer_active(struct tcpcb *tp, int timer_type) argument 722 tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer, struct xtcp_timer *xtimer) argument [all...] |
H A D | tcp_input.c | 240 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, 265 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) argument 270 hhook_data.tp = tp; 275 tp->osd); 283 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) argument 285 INP_WLOCK_ASSERT(tp 315 cc_conn_init(struct tcpcb *tp) argument 386 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) argument 438 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) argument 560 struct tcpcb *tp = NULL; local 1457 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 3113 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument 3278 struct tcpcb *tp = sototcpcb(so); local 3303 tcp_xmit_timer(struct tcpcb *tp, int rtt) argument 3403 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument 3568 tcp_mss(struct tcpcb *tp, int offer) argument 3681 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th) argument [all...] |
H A D | tcp_offload.c | 92 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-9.3-release/lib/libc/mips/gen/ |
H A D | _set_tp.c | 33 _set_tp(void *tp) argument
|
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_trans.c | 253 xfs_trans_t *tp; local 256 tp = kmem_zone_zalloc(xfs_trans_zone, KM_SLEEP); 261 tp->t_magic = XFS_TRANS_MAGIC; 262 tp->t_type = type; 263 tp->t_mountp = mp; 264 tp->t_items_free = XFS_LIC_NUM_SLOTS; 265 tp->t_busy_free = XFS_LBC_NUM_SLOTS; 266 XFS_LIC_INIT(&(tp->t_items)); 267 XFS_LBC_INIT(&(tp->t_busy)); 269 return (tp); 281 xfs_trans_dup( xfs_trans_t *tp) argument 331 xfs_trans_reserve( xfs_trans_t *tp, uint blocks, uint logspace, uint rtextents, uint flags, uint logcount) argument 447 xfs_trans_mod_sb( xfs_trans_t *tp, uint field, long delta) argument 545 xfs_trans_apply_sb_deltas( xfs_trans_t *tp) argument 642 xfs_trans_unreserve_and_mod_sb( xfs_trans_t *tp) argument 770 _xfs_trans_commit( xfs_trans_t *tp, uint flags, xfs_lsn_t *commit_lsn_p, int *log_flushed) argument 997 xfs_trans_count_vecs( xfs_trans_t *tp) argument 1035 xfs_trans_uncommit( xfs_trans_t *tp, uint flags) argument 1069 xfs_trans_fill_vecs( xfs_trans_t *tp, xfs_log_iovec_t *log_vector) argument 1130 xfs_trans_cancel( xfs_trans_t *tp, int flags) argument 1203 xfs_trans_free( xfs_trans_t *tp) argument 1226 xfs_trans_committed( xfs_trans_t *tp, int abortflag) argument [all...] |
/freebsd-9.3-release/contrib/ncurses/include/ |
H A D | term_entry.h | 73 #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...] |
/freebsd-9.3-release/contrib/nvi/vi/ |
H A D | v_txt.c | 232 * Internally, we maintain tp->lno and tp->cno, externally, everyone uses 235 #define UPDATE_POSITION(sp, tp) { \ 236 (sp)->lno = (tp)->lno; \ 237 (sp)->cno = (tp)->cno; \ 262 TEXT *ntp, *tp; /* Input text structures. */ local 303 tp = tiqh->cqh_first; 304 if (tp->q.cqe_next != (void *)tiqh || tp->lb_len < len + 32) { 308 tp 2709 TEXT *tp; local [all...] |
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-dhcp6.c | 332 u_char *tp; local 359 tp = (u_char *)(dh6o + 1); 360 switch (EXTRACT_16BITS(tp)) { 364 EXTRACT_16BITS(&tp[2]), 365 EXTRACT_32BITS(&tp[4])); 367 printf("%02x", tp[i]); 379 printf("%02x", tp[i]); 390 EXTRACT_16BITS(&tp[2])); 392 printf("%02x", tp[i]); 401 printf(" type %d)", EXTRACT_16BITS(tp)); [all...] |