Home
last modified time | relevance | path

Searched defs:tp (Results 1 – 25 of 1167) sorted by relevance

12345678910>>...47

/freebsd-src/sys/kern/
H A Dtty_ttydisc.c92 ttydisc_open(struct tty *tp) in ttydisc_open()
98 ttydisc_close(struct tty *tp) in ttydisc_close()
120 ttydisc_read_break(struct tty *tp, char *breakc, size_t breaksz) in ttydisc_read_break()
141 ttydisc_bytesavail(struct tty *tp) in ttydisc_bytesavail()
170 ttydisc_canonicalize(struct tty *tp) in ttydisc_canonicalize()
192 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag) in ttydisc_read_canonical()
267 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag) in ttydisc_read_raw_no_timer()
306 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag, in ttydisc_read_raw_read_timer()
360 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag) in ttydisc_read_raw_interbyte_timer()
409 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag) in ttydisc_read()
[all …]
H A Dtty.c99 #define TTY_CALLOUT(tp,d) (dev2unit(d) & TTYUNIT_CALLOUT) argument
124 tty_watermarks(struct tty *tp) in tty_watermarks() argument
152 tty_drain(struct tty * tp,int leaving) tty_drain() argument
214 ttydev_enter(struct tty * tp) ttydev_enter() argument
229 ttydev_leave(struct tty * tp) ttydev_leave() argument
272 struct tty *tp; ttydev_open() local
372 struct tty *tp = dev->si_drv1; ttydev_close() local
413 tty_is_ctty(struct tty * tp,struct proc * p) tty_is_ctty() argument
422 tty_wait_background(struct tty * tp,struct thread * td,int sig) tty_wait_background() argument
504 struct tty *tp = dev->si_drv1; ttydev_read() local
525 struct tty *tp = dev->si_drv1; ttydev_write() local
565 struct tty *tp = dev->si_drv1; ttydev_ioctl() local
650 struct tty *tp = dev->si_drv1; ttydev_poll() local
688 struct tty *tp = dev->si_drv1; ttydev_mmap() local
709 struct tty *tp = kn->kn_hook; tty_kqops_read_detach() local
717 struct tty *tp = kn->kn_hook; tty_kqops_read_event() local
733 struct tty *tp = kn->kn_hook; tty_kqops_write_detach() local
741 struct tty *tp = kn->kn_hook; tty_kqops_write_event() local
769 struct tty *tp = dev->si_drv1; ttydev_kqfilter() local
818 struct tty *tp; ttyil_open() local
851 struct tty *tp = dev->si_drv1; ttyil_ioctl() local
903 tty_init_termios(struct tty * tp) tty_init_termios() argument
919 tty_init_console(struct tty * tp,speed_t s) tty_init_console() argument
1057 struct tty *tp; tty_alloc_mutex() local
1111 struct tty *tp = arg; tty_dealloc() local
1142 tty_rel_free(struct tty * tp) tty_rel_free() argument
1173 tty_rel_pgrp(struct tty * tp,struct pgrp * pg) tty_rel_pgrp() argument
1186 tty_rel_sess(struct tty * tp,struct session * sess) tty_rel_sess() argument
1201 tty_rel_gone(struct tty * tp) tty_rel_gone() argument
1220 tty_drop_ctty(struct tty * tp,struct proc * p) tty_drop_ctty() argument
1289 tty_to_xtty(struct tty * tp,struct xtty * xt) tty_to_xtty() argument
1316 struct tty *tp; sysctl_kern_ttys() local
1367 tty_makedevf(struct tty * tp,struct ucred * cred,int flags,const char * fmt,...) tty_makedevf() argument
1499 tty_signal_sessleader(struct tty * tp,int sig) tty_signal_sessleader() argument
1526 tty_signal_pgrp(struct tty * tp,int sig) tty_signal_pgrp() argument
1550 tty_wakeup(struct tty * tp,int flags) tty_wakeup() argument
1569 tty_wait(struct tty * tp,struct cv * cv) tty_wait() argument
1591 tty_timedwait(struct tty * tp,struct cv * cv,int hz) tty_timedwait() argument
1613 tty_flush(struct tty * tp,int flags) tty_flush() argument
1637 tty_set_winsize(struct tty * tp,const struct winsize * wsz) tty_set_winsize() argument
1647 tty_generic_ioctl(struct tty * tp,u_long cmd,void * data,int fflag,struct thread * td) tty_generic_ioctl() argument
2009 tty_ioctl(struct tty * tp,u_long cmd,void * data,int fflag,struct thread * td) tty_ioctl() argument
2026 tty_udev(struct tty * tp) tty_udev() argument
2036 tty_checkoutq(struct tty * tp) tty_checkoutq() argument
2044 tty_hiwat_in_block(struct tty * tp) tty_hiwat_in_block() argument
2064 tty_hiwat_in_unblock(struct tty * tp) tty_hiwat_in_unblock() argument
2091 ttyhook_defrint(struct tty * tp,char c,int flags) ttyhook_defrint() argument
2104 struct tty *tp; ttyhook_register() local
2186 ttyhook_unregister(struct tty * tp) ttyhook_unregister() argument
2210 struct tty *tp; ttyconsdev_open() local
2390 struct tty *tp; DB_SHOW_COMMAND() local
2450 struct tty *tp; DB_SHOW_ALL_COMMAND() local
[all...]
H A Dtty_pts.c114 struct tty *tp = fp->f_data; in ptsdev_read() local
188 struct tty *tp = fp->f_data; ptsdev_write() local
261 struct tty *tp = fp->f_data; ptsdev_ioctl() local
388 struct tty *tp = fp->f_data; ptsdev_poll() local
443 struct tty *tp = fp->f_data; pts_kqops_read_detach() local
453 struct tty *tp = fp->f_data; pts_kqops_read_event() local
469 struct tty *tp = fp->f_data; pts_kqops_write_detach() local
479 struct tty *tp = fp->f_data; pts_kqops_write_event() local
505 struct tty *tp = fp->f_data; ptsdev_kqfilter() local
532 struct tty *tp = fp->f_data; ptsdev_stat() local
568 struct tty *tp = fp->f_data; ptsdev_close() local
589 struct tty *tp; ptsdev_fill_kinfo() local
622 ptsdrv_outwakeup(struct tty * tp) ptsdrv_outwakeup() argument
632 ptsdrv_inwakeup(struct tty * tp) ptsdrv_inwakeup() argument
642 ptsdrv_open(struct tty * tp) ptsdrv_open() argument
652 ptsdrv_close(struct tty * tp) ptsdrv_close() argument
663 ptsdrv_pktnotify(struct tty * tp,char event) ptsdrv_pktnotify() argument
734 struct tty *tp; pts_alloc() local
788 struct tty *tp; pts_alloc_external() local
[all...]
/freebsd-src/contrib/atf/atf-c/
H A Dtp.c50 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-src/sys/netinet/
H A Dtcp_offload.c113 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 Dtcp_sack.c161 tcp_dsack_block_exists(struct tcpcb *tp) in tcp_dsack_block_exists() argument
176 tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) in tcp_update_dsack_list() argument
272 tcp_update_sack_list(struct tcpcb * tp,tcp_seq rcv_start,tcp_seq rcv_end) tcp_update_sack_list() argument
409 tcp_clean_dsack_blocks(struct tcpcb * tp) tcp_clean_dsack_blocks() argument
451 tcp_clean_sackreport(struct tcpcb * tp) tcp_clean_sackreport() argument
465 tcp_sackhole_alloc(struct tcpcb * tp,tcp_seq start,tcp_seq end) tcp_sackhole_alloc() argument
493 tcp_sackhole_free(struct tcpcb * tp,struct sackhole * hole) tcp_sackhole_free() argument
509 tcp_sackhole_insert(struct tcpcb * tp,tcp_seq start,tcp_seq end,struct sackhole * after) tcp_sackhole_insert() argument
536 tcp_sackhole_remove(struct tcpcb * tp,struct sackhole * hole) tcp_sackhole_remove() argument
559 tcp_sack_doack(struct tcpcb * tp,struct tcpopt * to,tcp_seq th_ack) tcp_sack_doack() argument
901 tcp_free_sackholes(struct tcpcb * tp) tcp_free_sackholes() argument
926 tcp_resend_sackholes(struct tcpcb * tp) tcp_resend_sackholes() argument
947 tcp_sack_partialack(struct tcpcb * tp,struct tcphdr * th,u_int * maxsegp) tcp_sack_partialack() argument
1038 tcp_sack_output(struct tcpcb * tp,int * sack_bytes_rexmt) tcp_sack_output() argument
1081 tcp_sack_adjust(struct tcpcb * tp) tcp_sack_adjust() argument
1123 tcp_sack_lost_retransmission(struct tcpcb * tp,struct tcphdr * th) tcp_sack_lost_retransmission() argument
[all...]
H A Dtcp_usrreq.c131 tcp_bblog_pru(struct tcpcb *tp, uint32_t pru, int error) in tcp_bblog_pru() argument
159 struct tcpcb *tp = NULL; in tcp_usr_attach() local
200 struct tcpcb *tp; tcp_usr_detach() local
227 struct tcpcb *tp; tcp_usr_bind() local
282 struct tcpcb *tp; tcp6_usr_bind() local
360 struct tcpcb *tp; tcp_usr_listen() local
411 struct tcpcb *tp; tcp6_usr_listen() local
479 struct tcpcb *tp; tcp_usr_connect() local
547 struct tcpcb *tp; tcp6_usr_connect() local
686 struct tcpcb *tp = NULL; tcp_usr_disconnect() local
721 struct tcpcb *tp; tcp_usr_accept() local
755 struct tcpcb *tp; tcp6_usr_accept() local
806 struct tcpcb *tp = intotcpcb(inp); tcp_usr_shutdown() local
864 struct tcpcb *tp; tcp_usr_rcvd() local
914 struct tcpcb *tp; tcp_usr_send() local
1228 struct tcpcb *tp; tcp_usr_ready() local
1261 struct tcpcb *tp; tcp_usr_abort() local
1299 struct tcpcb *tp; tcp_usr_close() local
1332 tcp_pru_options_support(struct tcpcb * tp,int flags) tcp_pru_options_support() argument
1357 struct tcpcb *tp; tcp_usr_rcvoob() local
1459 tcp_connect(struct tcpcb * tp,struct sockaddr_in * sin,struct thread * td) tcp_connect() argument
1502 tcp6_connect(struct tcpcb * tp,struct sockaddr_in6 * sin6,struct thread * td) tcp6_connect() argument
1546 tcp_fill_info(const struct tcpcb * tp,struct tcp_info * ti) tcp_fill_info() argument
1646 struct tcpcb *tp = intotcpcb(inp); tcp_ctloutput_set() local
1814 struct tcpcb *tp = intotcpcb(inp); tcp_ctloutput_get() local
1897 struct tcpcb *tp; tcp_set_cc_mod() local
2006 tcp_default_ctloutput(struct tcpcb * tp,struct sockopt * sopt) tcp_default_ctloutput() argument
2658 tcp_disconnect(struct tcpcb * tp) tcp_disconnect() argument
2700 tcp_usrclosed(struct tcpcb * tp) tcp_usrclosed() argument
2994 db_print_tcpcb(struct tcpcb * tp,const char * name,int indent) db_print_tcpcb() argument
3108 struct tcpcb *tp; DB_SHOW_COMMAND() local
[all...]
H A Dtcp_timer.c292 tcp_output_locked(struct tcpcb *tp) in tcp_output_locked() argument
309 tcp_timer_delack(struct tcpcb * tp) tcp_timer_delack() argument
331 tcp_timer_2msl(struct tcpcb * tp) tcp_timer_2msl() argument
380 tcp_timer_keep(struct tcpcb * tp) tcp_timer_keep() argument
465 tcp_maxunacktime_check(struct tcpcb * tp) tcp_maxunacktime_check() argument
486 tcp_timer_persist(struct tcpcb * tp) tcp_timer_persist() argument
551 tcp_timer_rexmt(struct tcpcb * tp) tcp_timer_rexmt() argument
823 tcp_bblog_timer(struct tcpcb * tp,tt_which which,tt_what what,uint32_t ticks) tcp_bblog_timer() argument
852 tcp_timer_next(struct tcpcb * tp,sbintime_t * precision) tcp_timer_next() argument
873 struct tcpcb *tp = xtp; tcp_timer_enter() local
909 tcp_timer_activate(struct tcpcb * tp,tt_which which,u_int delta) tcp_timer_activate() argument
942 tcp_timer_active(struct tcpcb * tp,tt_which which) tcp_timer_active() argument
965 tcp_timer_stop(struct tcpcb * tp) tcp_timer_stop() argument
[all...]
H A Dtcp_timer.h140 #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 Dtcp_ecn.c120 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 Dtcp_input.c252 tcp_is_sack_recovery(struct tcpcb * tp,struct tcpopt * to) tcp_is_sack_recovery() argument
264 hhook_run_tcp_est_in(struct tcpcb * tp,struct tcphdr * th,struct tcpopt * to) hhook_run_tcp_est_in() argument
283 cc_ack_received(struct tcpcb * tp,struct tcphdr * th,uint16_t nsegs,uint16_t type) cc_ack_received() argument
354 cc_conn_init(struct tcpcb * tp) cc_conn_init() argument
409 cc_cong_signal(struct tcpcb * tp,struct tcphdr * th,uint32_t type) cc_cong_signal() argument
477 cc_post_recovery(struct tcpcb * tp,struct tcphdr * th) cc_post_recovery() argument
506 DELAY_ACK(tp,tlen) global() argument
513 cc_ecnpkt_handler_flags(struct tcpcb * tp,uint16_t flags,uint8_t iptos) cc_ecnpkt_handler_flags() argument
546 cc_ecnpkt_handler(struct tcpcb * tp,struct tcphdr * th,uint8_t iptos) cc_ecnpkt_handler() argument
610 struct tcpcb *tp = NULL; tcp_input_with_port() local
1474 tcp_autorcvbuf(struct mbuf * m,struct tcphdr * th,struct socket * so,struct tcpcb * tp,int tlen) tcp_autorcvbuf() argument
1504 tcp_handle_wakeup(struct tcpcb * tp) tcp_handle_wakeup() argument
1519 tcp_do_segment(struct tcpcb * tp,struct mbuf * m,struct tcphdr * th,int drop_hdrlen,int tlen,uint8_t iptos) tcp_do_segment() argument
3437 tcp_dropwithreset(struct mbuf * m,struct tcphdr * th,struct tcpcb * tp,int tlen,int rstreason) tcp_dropwithreset() argument
3618 struct tcpcb *tp = sototcpcb(so); tcp_pulloutofband() local
3643 tcp_xmit_timer(struct tcpcb * tp,int rtt) tcp_xmit_timer() argument
3743 tcp_mss_update(struct tcpcb * tp,int offer,int mtuoffer,struct hc_metrics_lite * metricptr,struct tcp_ifcap * cap) tcp_mss_update() argument
3903 tcp_mss(struct tcpcb * tp,int offer) tcp_mss() argument
4028 tcp_do_prr_ack(struct tcpcb * tp,struct tcphdr * th,struct tcpopt * to,sackstatus_t sack_changed,u_int * maxsegp) tcp_do_prr_ack() argument
4122 tcp_newreno_partial_ack(struct tcpcb * tp,struct tcphdr * th) tcp_newreno_partial_ack() argument
4155 tcp_compute_pipe(struct tcpcb * tp) tcp_compute_pipe() argument
[all...]
H A Dtcp_subr.c370 tcp_record_dsack(struct tcpcb * tp,tcp_seq start,tcp_seq end,int tlp) tcp_record_dsack() argument
498 tcp_switch_back_to_default(struct tcpcb * tp) tcp_switch_back_to_default() argument
1011 tcp_default_handoff_ok(struct tcpcb * tp) tcp_default_handoff_ok() argument
1027 tcp_default_fb_init(struct tcpcb * tp,void ** ptr) tcp_default_fb_init() argument
1111 tcp_default_fb_fini(struct tcpcb * tp,int tcb_is_purged) tcp_default_fb_fini() argument
1338 struct tcpcb *tp; deregister_tcp_functions() local
1746 tcp_respond(struct tcpcb * tp,void * ipgen,struct tcphdr * th,struct mbuf * m,tcp_seq ack,tcp_seq seq,uint16_t flags) tcp_respond() argument
2185 struct tcpcb *tp = intotcpcb(inp); tcp_newtcpcb() local
2327 tcp_drop(struct tcpcb * tp,int errno) tcp_drop() argument
2348 tcp_discardcb(struct tcpcb * tp) tcp_discardcb() argument
2476 tcp_close(struct tcpcb * tp) tcp_close() argument
2526 struct tcpcb *tp; tcp_notify() local
2770 struct tcpcb *tp; tcp_ctlinput_with_port() local
2923 struct tcpcb *tp; tcp6_ctlinput_with_port() local
3235 struct tcpcb *tp; tcp_drop_syn_sent() local
3270 struct tcpcb *tp; tcp_mtudisc() local
3406 tcp6_use_min_mtu(struct tcpcb * tp) tcp6_use_min_mtu() argument
3450 tcp_maxseg(const struct tcpcb * tp) tcp_maxseg() argument
3498 tcp_fixed_maxseg(const struct tcpcb * tp) tcp_fixed_maxseg() argument
3548 struct tcpcb *tp; sysctl_drop() local
3893 tcp_state_change(struct tcpcb * tp,int newstate) tcp_state_change() argument
3916 struct tcpcb *tp = intotcpcb(inp); tcp_inptoxtp() local
3965 tcp_log_end_status(struct tcpcb * tp,uint8_t status) tcp_log_end_status() argument
4067 tcp_default_switch_failed(struct tcpcb * tp) tcp_default_switch_failed() argument
4085 tcp_do_ack_accounting(struct tcpcb * tp,struct tcphdr * th,struct tcpopt * to,uint32_t tiwin,int mss) tcp_do_ack_accounting() argument
4140 tcp_change_time_units(struct tcpcb * tp,int granularity) tcp_change_time_units() argument
4251 tcp_handle_orphaned_packets(struct tcpcb * tp) tcp_handle_orphaned_packets() argument
4328 tcp_req_log_req_info(struct tcpcb * tp,struct tcp_sendfile_track * req,uint16_t slot,uint8_t val,uint64_t offset,uint64_t nbytes) tcp_req_log_req_info() argument
4369 tcp_req_free_a_slot(struct tcpcb * tp,struct tcp_sendfile_track * ent) tcp_req_free_a_slot() argument
4384 tcp_req_check_for_stale_entries(struct tcpcb * tp,uint64_t ts,int rm_oldest) tcp_req_check_for_stale_entries() argument
4431 tcp_req_check_for_comp(struct tcpcb * tp,tcp_seq ack_point) tcp_req_check_for_comp() argument
4461 tcp_req_is_entry_comp(struct tcpcb * tp,struct tcp_sendfile_track * ent,tcp_seq ack_point) tcp_req_is_entry_comp() argument
4476 tcp_req_find_a_req_that_is_completed_by(struct tcpcb * tp,tcp_seq th_ack,int * ip) tcp_req_find_a_req_that_is_completed_by() argument
4505 tcp_req_find_req_for_seq(struct tcpcb * tp,tcp_seq seq) tcp_req_find_req_for_seq() argument
4549 tcp_req_alloc_req_full(struct tcpcb * tp,struct tcp_snd_req * req,uint64_t ts,int rec_dups) tcp_req_alloc_req_full() argument
4640 tcp_req_alloc_req(struct tcpcb * tp,union tcp_log_userdata * user,uint64_t ts) tcp_req_alloc_req() argument
4647 tcp_log_socket_option(struct tcpcb * tp,uint32_t option_num,uint32_t option_val,int err) tcp_log_socket_option() argument
4666 tcp_get_srtt(struct tcpcb * tp,int granularity) tcp_get_srtt() argument
4702 tcp_account_for_send(struct tcpcb * tp,uint32_t len,uint8_t is_rxt,uint8_t is_tlp,bool hw_tls) tcp_account_for_send() argument
[all...]
H A Dtcp_reass.c195 tcp_log_reassm(struct tcpcb *tp, struct tseg_qent *q, struct tseg_qent *p, in tcp_log_reassm() argument
233 tcp_reass_log_dump(struct tcpcb *tp) in tcp_reass_log_dump() argument
245 tcp_reass_log_new_in(struct tcpcb *tp, tcp_se argument
295 tcp_reass_flush(struct tcpcb * tp) tcp_reass_flush() argument
314 tcp_reass_append(struct tcpcb * tp,struct tseg_qent * last,struct mbuf * m,struct tcphdr * th,int tlen,struct mbuf * mlast,int lenofoh) tcp_reass_append() argument
340 tcp_reass_prepend(struct tcpcb * tp,struct tseg_qent * first,struct mbuf * m,struct tcphdr * th,int tlen,struct mbuf * mlast,int lenofoh) tcp_reass_prepend() argument
376 tcp_reass_replace(struct tcpcb * tp,struct tseg_qent * q,struct mbuf * m,tcp_seq seq,int len,struct mbuf * mlast,int mbufoh,uint16_t flags) tcp_reass_replace() argument
411 tcp_reass_merge_into(struct tcpcb * tp,struct tseg_qent * ent,struct tseg_qent * q) tcp_reass_merge_into() argument
436 tcp_reass_merge_forward(struct tcpcb * tp,struct tseg_qent * ent) tcp_reass_merge_forward() argument
516 tcp_reass(struct tcpcb * tp,struct tcphdr * th,tcp_seq * seq_start,int * tlenp,struct mbuf * m) tcp_reass() argument
[all...]
/freebsd-src/sys/sys/
H A Dttyhook.h72 #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 Dttydevsw.h84 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()
132 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) in ttydevsw_ioctl()
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()
[all …]
H A Dttydisc.h55 #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 Dtty.h171 #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
174 #define tty_assert_locked(tp) mtx_assert((tp)->t_mtx, MA_OWNED) 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
[all …]
/freebsd-src/sys/netinet/tcp_stacks/
H A Drack_bbr_common.c325 ctf_process_inbound_raw(struct tcpcb *tp, struct mbuf *m, int has_pkt) in ctf_process_inbound_raw() argument
485 ctf_do_queued_segments(struct tcpcb * tp,int have_pkt) ctf_do_queued_segments() argument
501 ctf_outstanding(struct tcpcb * tp) ctf_outstanding() argument
514 ctf_flight_size(struct tcpcb * tp,uint32_t rc_sacked) ctf_flight_size() argument
524 ctf_do_dropwithreset(struct mbuf * m,struct tcpcb * tp,struct tcphdr * th,int32_t rstreason,int32_t tlen) ctf_do_dropwithreset() argument
535 ctf_ack_war_checks(struct tcpcb * tp,uint32_t * ts,uint32_t * cnt) ctf_ack_war_checks() argument
572 _ctf_drop_checks(struct tcpopt * to,struct mbuf * m,struct tcphdr * th,struct tcpcb * tp,int32_t * tlenp,int32_t * thf,int32_t * drop_hdrlen,int32_t * ret_val,uint32_t * ts,uint32_t * cnt) _ctf_drop_checks() argument
680 __ctf_do_dropafterack(struct mbuf * m,struct tcpcb * tp,struct tcphdr * th,int32_t thflags,int32_t tlen,int32_t * ret_val,uint32_t * ts,uint32_t * cnt) __ctf_do_dropafterack() argument
710 ctf_do_drop(struct mbuf * m,struct tcpcb * tp) ctf_do_drop() argument
724 __ctf_process_rst(struct mbuf * m,struct tcphdr * th,struct socket * so,struct tcpcb * tp,uint32_t * ts,uint32_t * cnt) __ctf_process_rst() argument
819 ctf_challenge_ack(struct mbuf * m,struct tcphdr * th,struct tcpcb * tp,uint8_t iptos,int32_t * ret_val) ctf_challenge_ack() argument
851 ctf_ts_check(struct mbuf * m,struct tcphdr * th,struct tcpcb * tp,int32_t tlen,int32_t thflags,int32_t * ret_val) ctf_ts_check() argument
883 ctf_ts_check_ac(struct tcpcb * tp,int32_t thflags) ctf_ts_check_ac() argument
909 ctf_calc_rwin(struct socket * so,struct tcpcb * tp) ctf_calc_rwin() argument
925 ctf_do_dropwithreset_conn(struct mbuf * m,struct tcpcb * tp,struct tcphdr * th,int32_t rstreason,int32_t tlen) ctf_do_dropwithreset_conn() argument
936 ctf_fixed_maxseg(struct tcpcb * tp) ctf_fixed_maxseg() argument
942 ctf_log_sack_filter(struct tcpcb * tp,int num_sack_blks,struct sackblk * sack_blocks) ctf_log_sack_filter() argument
1002 ctf_progress_timeout_check(struct tcpcb * tp,bool log) ctf_progress_timeout_check() argument
[all...]
/freebsd-src/contrib/ncurses/include/
H A Dterm_entry.h57 #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-src/contrib/lib9p/
H A Dthreadpool.c44 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-src/sys/dev/uart/
H A Duart_tty.c164 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-src/sys/net/
H A Dif_tuntap.c155 #define TUN_LOCK(tp) mtx_lock(&(tp)->tun_mtx) argument
156 #define TUN_UNLOCK(tp) mtx_unlock(&(tp)->tun_mtx) argument
157 #define TUN_LOCK_ASSERT(tp) mtx_assert(&(tp)->tun_mtx, MA_OWNED); argument
343 tun_busy_locked(struct tuntap_softc * tp) tun_busy_locked() argument
362 tun_unbusy_locked(struct tuntap_softc * tp) tun_unbusy_locked() argument
375 tun_busy(struct tuntap_softc * tp) tun_busy() argument
386 tun_unbusy(struct tuntap_softc * tp) tun_unbusy() argument
537 struct tuntap_softc *tp = dev->si_drv1; tun_clone_create() local
608 tun_destroy(struct tuntap_softc * tp) tun_destroy() argument
645 struct tuntap_softc *tp = ifp->if_softc; tun_clone_destroy() local
686 struct tuntap_softc *tp; tun_uninit() local
780 struct tuntap_softc *tp; tun_create_device() local
818 struct tuntap_softc *tp = ifp->if_softc; tunstart() local
854 struct tuntap_softc *tp = ifp->if_softc; tunstart_l2() local
922 struct tuntap_softc *tp; tuncreate() local
984 struct tuntap_softc *tp; tunrename() local
1036 struct tuntap_softc *tp; tunopen() local
1105 struct tuntap_softc *tp; tundtor() local
1186 struct tuntap_softc *tp = ifp->if_softc; tuninit() local
1221 struct tuntap_softc *tp; tunifinit() local
1256 struct tuntap_softc *tp = ifp->if_softc; tun_vnethdr_set() local
1293 struct tuntap_softc *tp; tunifioctl() local
1379 struct tuntap_softc *tp = ifp->if_softc; tunoutput() local
1468 struct tuntap_softc *tp = dev->si_drv1; tunioctl() local
1681 struct tuntap_softc *tp = dev->si_drv1; tunread() local
1747 tunwrite_l2(struct tuntap_softc * tp,struct mbuf * m,struct virtio_net_hdr_mrg_rxbuf * vhdr) tunwrite_l2() argument
1823 tunwrite_l3(struct tuntap_softc * tp,struct mbuf * m) tunwrite_l3() argument
1880 struct tuntap_softc *tp; tunwrite() local
1946 struct tuntap_softc *tp = dev->si_drv1; tunpoll() local
1974 struct tuntap_softc *tp = dev->si_drv1; tunkqfilter() local
2009 struct tuntap_softc *tp = kn->kn_hook; tunkqread() local
2034 struct tuntap_softc *tp = kn->kn_hook; tunkqwrite() local
2045 struct tuntap_softc *tp = kn->kn_hook; tunkqdetach() local
[all...]
/freebsd-src/sys/dev/altera/jtag_uart/
H A Daltera_jtag_uart_tty.c
/freebsd-src/usr.sbin/dumpcis/
H A Dreadcis.c124 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-src/contrib/mandoc/
H A Dtbl_term.c162 term_tbl(struct termp * tp,const struct tbl_span * sp) term_tbl() argument
570 tbl_hrule(struct termp * tp,const struct tbl_span * spp,const struct tbl_span * sp,const struct tbl_span * spn,int flags) tbl_hrule() argument
715 tbl_data(struct termp * tp,const struct tbl_opts * opts,const struct tbl_cell * cp,const struct tbl_dat * dp,const struct roffcol * col) tbl_data() argument
767 tbl_fill_string(struct termp * tp,const char * cp,size_t len) tbl_fill_string() argument
777 tbl_fill_char(struct termp * tp,char c,size_t len) tbl_fill_char() argument
787 tbl_fill_border(struct termp * tp,int c,size_t len) tbl_fill_border() argument
799 tbl_direct_border(struct termp * tp,int c,size_t len) tbl_direct_border() argument
812 tbl_literal(struct termp * tp,const struct tbl_dat * dp,const struct roffcol * col) tbl_literal() argument
854 tbl_number(struct termp * tp,const struct tbl_opts * opts,const struct tbl_dat * dp,const struct roffcol * col) tbl_number() argument
921 tbl_word(struct termp * tp,const struct tbl_dat * dp) tbl_word() argument
[all...]

12345678910>>...47