/freebsd/sys/kern/ |
H A D | tty_ttydisc.c | 92 ttydisc_open(struct tty *tp) in ttydisc_open() 98 ttydisc_close(struct tty *tp) in ttydisc_close() 141 ttydisc_bytesavail(struct tty *tp) in ttydisc_bytesavail() 670 ttydisc_optimize(struct tty *tp) in ttydisc_optimize() 781 struct tty *tp = d; in ttydisc_reprint_char() local 787 ttydisc_reprint(struct tty *tp) in ttydisc_reprint() 802 struct tty *tp; member 810 struct tty *tp = data->tp; in ttydisc_recalc_charlength() local 833 ttydisc_rubchar(struct tty *tp) in ttydisc_rubchar() 980 ttydisc_rubword(struct tty *tp) in ttydisc_rubword() [all …]
|
H A D | tty.c | 214 ttydev_enter(struct tty *tp) in ttydev_enter() 272 struct tty *tp; in ttydev_open() local 818 struct tty *tp; in ttyil_open() local 1057 struct tty *tp; in tty_alloc_mutex() local 1111 struct tty *tp = arg; in tty_dealloc() local 1316 struct tty *tp; in sysctl_kern_ttys() local 2026 tty_udev(struct tty *tp) in tty_udev() 2104 struct tty *tp; in ttyhook_register() local 2210 struct tty *tp; in ttyconsdev_open() local 2390 struct tty *tp; in DB_SHOW_COMMAND() local [all …]
|
H A D | tty_pts.c | 114 struct tty *tp = fp->f_data; in ptsdev_read() local 188 struct tty *tp = fp->f_data; in ptsdev_write() local 261 struct tty *tp = fp->f_data; in ptsdev_ioctl() local 388 struct tty *tp = fp->f_data; in ptsdev_poll() local 443 struct tty *tp = fp->f_data; in pts_kqops_read_detach() local 453 struct tty *tp = fp->f_data; in pts_kqops_read_event() local 589 struct tty *tp; in ptsdev_fill_kinfo() local 642 ptsdrv_open(struct tty *tp) in ptsdrv_open() 652 ptsdrv_close(struct tty *tp) in ptsdrv_close() 734 struct tty *tp; in pts_alloc() local [all …]
|
/freebsd/contrib/atf/atf-c/ |
H A D | tp.c | 50 find_tc(const atf_tp_t *tp, const char *ident) in find_tc() 76 atf_tp_init(atf_tp_t *tp, const char *const *config) in atf_tp_init() 102 atf_tp_fini(atf_tp_t *tp) in atf_tp_fini() 122 atf_tp_get_config(const atf_tp_t *tp) in atf_tp_get_config() 128 atf_tp_has_tc(const atf_tp_t *tp, const char *id) in atf_tp_has_tc() 135 atf_tp_get_tc(const atf_tp_t *tp, const char *id) in atf_tp_get_tc() 143 atf_tp_get_tcs(const atf_tp_t *tp) in atf_tp_get_tcs() 176 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) in atf_tp_add_tc() 194 atf_tp_run(const atf_tp_t *tp, const char *tcname, const char *resfile) in atf_tp_run() 205 atf_tp_cleanup(const atf_tp_t *tp, const char *tcname) in atf_tp_cleanup()
|
/freebsd/sys/netinet/ |
H A D | tcp_offload.c | 113 tcp_offload_listen_start(struct tcpcb *tp) in tcp_offload_listen_start() 122 tcp_offload_listen_stop(struct tcpcb *tp) in tcp_offload_listen_stop() 131 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) in tcp_offload_input() 142 tcp_offload_output(struct tcpcb *tp) in tcp_offload_output() 167 tcp_offload_rcvd(struct tcpcb *tp) in tcp_offload_rcvd() 178 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) in tcp_offload_ctloutput() 189 tcp_offload_tcp_info(const struct tcpcb *tp, struct tcp_info *ti) in tcp_offload_tcp_info() 200 tcp_offload_alloc_tls_session(struct tcpcb *tp, struct ktls_session *tls, in tcp_offload_alloc_tls_session() 212 tcp_offload_detach(struct tcpcb *tp) in tcp_offload_detach() 223 tcp_offload_pmtu_update(struct tcpcb *tp, tcp_seq seq, int mtu) in tcp_offload_pmtu_update()
|
H A D | tcp_sack.c | 156 tcp_dsack_block_exists(struct tcpcb *tp) in tcp_dsack_block_exists() 404 tcp_clean_dsack_blocks(struct tcpcb *tp) in tcp_clean_dsack_blocks() 446 tcp_clean_sackreport(struct tcpcb *tp) in tcp_clean_sackreport() 460 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) in tcp_sackhole_alloc() 488 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_free() 504 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end, in tcp_sackhole_insert() 531 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) in tcp_sackhole_remove() 893 tcp_free_sackholes(struct tcpcb *tp) in tcp_free_sackholes() 918 tcp_resend_sackholes(struct tcpcb *tp) in tcp_resend_sackholes() 1030 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) in tcp_sack_output() [all …]
|
H A D | tcp_usrreq.c | 206 struct tcpcb *tp; in tcp_usr_detach() local 233 struct tcpcb *tp; in tcp_usr_bind() local 288 struct tcpcb *tp; in tcp6_usr_bind() local 366 struct tcpcb *tp; in tcp_usr_listen() local 417 struct tcpcb *tp; in tcp6_usr_listen() local 485 struct tcpcb *tp; in tcp_usr_connect() local 553 struct tcpcb *tp; in tcp6_usr_connect() local 727 struct tcpcb *tp; in tcp_usr_accept() local 761 struct tcpcb *tp; in tcp6_usr_accept() local 870 struct tcpcb *tp; in tcp_usr_rcvd() local [all …]
|
H A D | tcp_timer.c | 292 tcp_output_locked(struct tcpcb *tp) in tcp_output_locked() 309 tcp_timer_delack(struct tcpcb *tp) in tcp_timer_delack() 331 tcp_timer_2msl(struct tcpcb *tp) in tcp_timer_2msl() 380 tcp_timer_keep(struct tcpcb *tp) in tcp_timer_keep() 465 tcp_maxunacktime_check(struct tcpcb *tp) in tcp_maxunacktime_check() 486 tcp_timer_persist(struct tcpcb *tp) in tcp_timer_persist() 551 tcp_timer_rexmt(struct tcpcb *tp) in tcp_timer_rexmt() 842 tcp_timer_next(struct tcpcb *tp, sbintime_t *precision) in tcp_timer_next() 863 struct tcpcb *tp = xtp; in tcp_timer_enter() local 932 tcp_timer_active(struct tcpcb *tp, tt_which which) in tcp_timer_active() [all …]
|
H A D | tcp_timer.h | 140 #define TP_KEEPINIT(tp) ((tp)->t_keepinit ? (tp)->t_keepinit : tcp_keepinit) argument 141 #define TP_KEEPIDLE(tp) ((tp)->t_keepidle ? (tp)->t_keepidle : tcp_keepidle) argument 142 #define TP_KEEPINTVL(tp) ((tp)->t_keepintvl ? (tp)->t_keepintvl : tcp_keepintvl) argument 143 #define TP_KEEPCNT(tp) ((tp)->t_keepcnt ? (tp)->t_keepcnt : tcp_keepcnt) argument 144 #define TP_MAXIDLE(tp) (TP_KEEPCNT(tp) * TP_KEEPINTVL(tp)) argument 145 #define TP_MAXUNACKTIME(tp) \ argument 153 #define TP_RXTCUR(tp) \ argument
|
H A D | tcp_ecn.c | 120 tcp_ecn_input_syn_sent(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_syn_sent() 226 tcp_ecn_input_parallel_syn(struct tcpcb *tp, uint16_t thflags, int iptos) in tcp_ecn_input_parallel_syn() 294 tcp_ecn_input_segment(struct tcpcb *tp, uint16_t thflags, int tlen, int pkts, int iptos) in tcp_ecn_input_segment() 374 tcp_ecn_output_syn_sent(struct tcpcb *tp) in tcp_ecn_output_syn_sent() 404 tcp_ecn_output_established(struct tcpcb *tp, uint16_t *thflags, int len, bool rxmit) in tcp_ecn_output_established() 463 tcp_ecn_syncache_socket(struct tcpcb *tp, struct syncache *sc) in tcp_ecn_syncache_socket()
|
H A D | tcp_input.c | 252 tcp_is_sack_recovery(struct tcpcb *tp, struct tcpopt *to) in tcp_is_sack_recovery() 354 cc_conn_init(struct tcpcb *tp) in cc_conn_init() 477 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) in cc_post_recovery() 506 #define DELAY_ACK(tp, tlen) \ argument 610 struct tcpcb *tp = NULL; in tcp_input_with_port() local 1478 struct tcpcb *tp, int tlen) in tcp_autorcvbuf() 1508 tcp_handle_wakeup(struct tcpcb *tp) in tcp_handle_wakeup() 3615 struct tcpcb *tp = sototcpcb(so); in tcp_pulloutofband() local 3640 tcp_xmit_timer(struct tcpcb *tp, int rtt) in tcp_xmit_timer() 3889 tcp_mss(struct tcpcb *tp, int offer) in tcp_mss() [all …]
|
H A D | tcp_subr.c | 1390 struct tcpcb *tp; in deregister_tcp_functions() local 2388 tcp_discardcb(struct tcpcb *tp) in tcp_discardcb() 2516 tcp_close(struct tcpcb *tp) in tcp_close() 2566 struct tcpcb *tp; in tcp_notify() local 2810 struct tcpcb *tp; in tcp_ctlinput_with_port() local 2963 struct tcpcb *tp; in tcp6_ctlinput_with_port() local 3275 struct tcpcb *tp; in tcp_drop_syn_sent() local 3310 struct tcpcb *tp; in tcp_mtudisc() local 3435 tcp6_use_min_mtu(struct tcpcb *tp) in tcp6_use_min_mtu() 3468 tcp_maxseg(const struct tcpcb *tp) in tcp_maxseg() [all …]
|
H A D | tcp_reass.c | 195 tcp_log_reassm(struct tcpcb *tp, struct tseg_qent *q, struct tseg_qent *p, in tcp_log_reassm() 233 tcp_reass_log_dump(struct tcpcb *tp) in tcp_reass_log_dump() 245 tcp_reass_log_new_in(struct tcpcb *tp, tcp_seq seq, int len, struct mbuf *m, in tcp_reass_log_new_in() 295 tcp_reass_flush(struct tcpcb *tp) in tcp_reass_flush() 314 tcp_reass_append(struct tcpcb *tp, struct tseg_qent *last, in tcp_reass_append() 340 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th, in tcp_reass_prepend() 376 tcp_reass_replace(struct tcpcb *tp, struct tseg_qent *q, struct mbuf *m, in tcp_reass_replace() 411 tcp_reass_merge_into(struct tcpcb *tp, struct tseg_qent *ent, in tcp_reass_merge_into() 436 tcp_reass_merge_forward(struct tcpcb *tp, struct tseg_qent *ent) in tcp_reass_merge_forward() 516 tcp_reass(struct tcpcb *tp, struct tcphdr *th, tcp_seq *seq_start, in tcp_reass()
|
/freebsd/sys/sys/ |
H A D | ttyhook.h | 72 #define ttyhook_softc(tp) ((tp)->t_hooksoftc) argument 73 #define ttyhook_hashook(tp,hook) ((tp)->t_hook != NULL && \ argument 77 ttyhook_rint(struct tty *tp, char c, int flags) in ttyhook_rint() 86 ttyhook_rint_bypass(struct tty *tp, const void *buf, size_t len) in ttyhook_rint_bypass() 95 ttyhook_rint_done(struct tty *tp) in ttyhook_rint_done() 104 ttyhook_rint_poll(struct tty *tp) in ttyhook_rint_poll() 113 ttyhook_getc_inject(struct tty *tp, void *buf, size_t len) in ttyhook_getc_inject() 122 ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len) in ttyhook_getc_capture() 131 ttyhook_getc_poll(struct tty *tp) in ttyhook_getc_poll() 140 ttyhook_close(struct tty *tp) in ttyhook_close()
|
H A D | ttydevsw.h | 84 ttydevsw_open(struct tty *tp) in ttydevsw_open() 94 ttydevsw_close(struct tty *tp) in ttydevsw_close() 104 ttydevsw_outwakeup(struct tty *tp) in ttydevsw_outwakeup() 118 ttydevsw_inwakeup(struct tty *tp) in ttydevsw_inwakeup() 142 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, in ttydevsw_cioctl() 153 ttydevsw_param(struct tty *tp, struct termios *t) in ttydevsw_param() 162 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) in ttydevsw_modem() 171 ttydevsw_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, in ttydevsw_mmap() 181 ttydevsw_pktnotify(struct tty *tp, char event) in ttydevsw_pktnotify() 191 ttydevsw_free(struct tty *tp) in ttydevsw_free() [all …]
|
H A D | ttydisc.h | 55 #define ttydisc_can_bypass(tp) ((tp)->t_flags & TF_BYPASS) argument 72 ttydisc_read_poll(struct tty *tp) in ttydisc_read_poll() 81 ttydisc_write_poll(struct tty *tp) in ttydisc_write_poll()
|
H A D | tty.h | 171 #define tty_lock(tp) mtx_lock((tp)->t_mtx) argument 172 #define tty_unlock(tp) mtx_unlock((tp)->t_mtx) argument 173 #define tty_lock_owned(tp) mtx_owned((tp)->t_mtx) argument 175 #define tty_getlock(tp) ((tp)->t_mtx) argument 178 #define tty_lock_assert(tp, ma) mtx_assert((tp)->t_mtx, (ma)) argument 184 #define tty_makedev(tp, cred, fmt, ...) \ argument 186 #define tty_makealias(tp,fmt,...) \ argument 213 #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) argument 214 #define tty_gone(tp) ((tp)->t_flags & TF_GONE) argument 215 #define tty_softc(tp) ((tp)->t_devswsoftc) argument [all …]
|
/freebsd/sys/netinet/tcp_stacks/ |
H A D | rack_bbr_common.c | 485 ctf_do_queued_segments(struct tcpcb *tp, int have_pkt) in ctf_do_queued_segments() 501 ctf_outstanding(struct tcpcb *tp) in ctf_outstanding() 514 ctf_flight_size(struct tcpcb *tp, uint32_t rc_sacked) in ctf_flight_size() 535 ctf_ack_war_checks(struct tcpcb *tp, uint32_t *ts, uint32_t *cnt) in ctf_ack_war_checks() 572 struct tcpcb *tp, int32_t *tlenp, in _ctf_drop_checks() 710 ctf_do_drop(struct mbuf *m, struct tcpcb *tp) in ctf_do_drop() 724 struct tcpcb *tp, uint32_t *ts, uint32_t *cnt) in __ctf_process_rst() 883 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags) in ctf_ts_check_ac() 909 ctf_calc_rwin(struct socket *so, struct tcpcb *tp) in ctf_calc_rwin() 936 ctf_fixed_maxseg(struct tcpcb *tp) in ctf_fixed_maxseg() [all …]
|
/freebsd/contrib/ncurses/include/ |
H A D | term_entry.h | 57 #define NUM_BOOLEANS(tp) (tp)->num_Booleans argument 58 #define NUM_NUMBERS(tp) (tp)->num_Numbers argument 59 #define NUM_STRINGS(tp) (tp)->num_Strings argument 60 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i] argument 68 #define NUM_EXT_NAMES(tp) (unsigned) ((tp)->ext_Booleans + (tp)->ext_Numbers + (tp)->ext_Strings) argument 70 #define for_each_boolean(n,tp) for(n = 0; n < NUM_BOOLEANS(tp); n++) argument 71 #define for_each_number(n,tp) for(n = 0; n < NUM_NUMBERS(tp); n++) argument 72 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++) argument 75 #define for_each_ext_boolean(n,tp) for(n = BOOLCOUNT; (int) n < (int) NUM_BOOLEANS(tp); n++) argument 76 #define for_each_ext_number(n,tp) for(n = NUMCOUNT; (int) n < (int) NUM_NUMBERS(tp); n++) argument [all …]
|
/freebsd/contrib/lib9p/ |
H A D | threadpool.c | 44 struct l9p_threadpool *tp; in l9p_responder() local 81 struct l9p_threadpool *tp; in l9p_worker() local 123 l9p_threadpool_rflush(struct l9p_threadpool *tp, struct l9p_request *req) in l9p_threadpool_rflush() 156 l9p_threadpool_init(struct l9p_threadpool *tp, int size) in l9p_threadpool_init() 235 l9p_threadpool_run(struct l9p_threadpool *tp, struct l9p_request *req) in l9p_threadpool_run() 264 struct l9p_threadpool *tp; in l9p_threadpool_tflush() local 401 l9p_threadpool_shutdown(struct l9p_threadpool *tp) in l9p_threadpool_shutdown()
|
/freebsd/sys/dev/uart/ |
H A D | uart_tty.c | 164 uart_tty_open(struct tty *tp) in uart_tty_open() 178 uart_tty_close(struct tty *tp) in uart_tty_close() 198 uart_tty_outwakeup(struct tty *tp) in uart_tty_outwakeup() 223 uart_tty_inwakeup(struct tty *tp) in uart_tty_inwakeup() 240 uart_tty_ioctl(struct tty *tp, u_long cmd, caddr_t data, in uart_tty_ioctl() 260 uart_tty_param(struct tty *tp, struct termios *t) in uart_tty_param() 308 uart_tty_modem(struct tty *tp, int biton, int bitoff) in uart_tty_modem() 322 struct tty *tp; in uart_tty_intr() local 385 uart_tty_busy(struct tty *tp) in uart_tty_busy() 422 struct tty *tp; in uart_tty_attach() local [all …]
|
/freebsd/sys/net/ |
H A D | if_tuntap.c | 375 tun_busy(struct tuntap_softc *tp) in tun_busy() 386 tun_unbusy(struct tuntap_softc *tp) in tun_unbusy() 686 struct tuntap_softc *tp; in tun_uninit() local 780 struct tuntap_softc *tp; in tun_create_device() local 922 struct tuntap_softc *tp; in tuncreate() local 987 struct tuntap_softc *tp; in tunrename() local 1039 struct tuntap_softc *tp; in tunopen() local 1108 struct tuntap_softc *tp; in tundtor() local 1224 struct tuntap_softc *tp; in tunifinit() local 1296 struct tuntap_softc *tp; in tunifioctl() local [all …]
|
/freebsd/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c | 262 aju_handle_input(struct altera_jtag_uart_softc *sc, struct tty *tp) in aju_handle_input() 293 aju_handle_output(struct altera_jtag_uart_softc *sc, struct tty *tp) in aju_handle_output() 360 aju_outwakeup(struct tty *tp) in aju_outwakeup() 375 struct tty *tp = sc->ajus_ttyp; in aju_io_callout() local 406 struct tty *tp = sc->ajus_ttyp; in aju_ac_callout() local 446 struct tty *tp = sc->ajus_ttyp; in aju_intr() local 467 struct tty *tp; in altera_jtag_uart_attach() local 541 struct tty *tp = sc->ajus_ttyp; in altera_jtag_uart_detach() local
|
/freebsd/usr.sbin/dumpcis/ |
H A D | readcis.c | 124 struct tuple *tp; in freecis() local 195 struct tuple *tp; in read_tuples() local 250 struct tuple *tp, *last_tp = 0; in read_one_tuplelist() local 361 struct tuple *tp; in find_tuple_in_list() local 375 struct tuple_info *tp; in get_tuple_info() local 386 struct tuple_info *tp; in tuple_name() local
|
/freebsd/contrib/mandoc/ |
H A D | tbl_term.c | 162 term_tbl(struct termp *tp, const struct tbl_span *sp) in term_tbl() 570 tbl_hrule(struct termp *tp, const struct tbl_span *spp, in tbl_hrule() 715 tbl_data(struct termp *tp, const struct tbl_opts *opts, in tbl_data() 767 tbl_fill_string(struct termp *tp, const char *cp, size_t len) in tbl_fill_string() 777 tbl_fill_char(struct termp *tp, char c, size_t len) in tbl_fill_char() 787 tbl_fill_border(struct termp *tp, int c, size_t len) in tbl_fill_border() 799 tbl_direct_border(struct termp *tp, int c, size_t len) in tbl_direct_border() 812 tbl_literal(struct termp *tp, const struct tbl_dat *dp, in tbl_literal() 854 tbl_number(struct termp *tp, const struct tbl_opts *opts, in tbl_number() 921 tbl_word(struct termp *tp, const struct tbl_dat *dp) in tbl_word()
|