/dflybsd-src/sys/kern/ |
H A D | tty.c | 220 ttyopen(cdev_t device, struct tty *tp) in ttyopen() 247 ttyclose(struct tty *tp) in ttyclose() 279 ttyclearsession(struct tty *tp) in ttyclearsession() 398 ttyinput(int c, struct tty *tp) in ttyinput() 745 ttyoutput(int c, struct tty *tp) in ttyoutput() 853 ttioctl(struct tty *tp, u_long cmd, void *data, int flag) in ttioctl() 1279 struct tty *tp = dev->si_tty; in ttykqfilter() local 1309 struct tty *tp = ((cdev_t)kn->kn_hook)->si_tty; in filt_ttyrdetach() local 1319 struct tty *tp = ((cdev_t)kn->kn_hook)->si_tty; in filt_ttyread() local 1335 struct tty *tp = ((cdev_t)kn->kn_hook)->si_tty; in filt_ttywdetach() local [all …]
|
H A D | tty_pty.c | 355 struct tty *tp; in ptsopen() local 445 struct tty *tp; in ptsclose() local 484 struct tty *tp = dev->si_tty; in ptsread() local 552 struct tty *tp; in ptswrite() local 572 ptsstart(struct tty *tp) in ptsstart() 598 ptcwakeup(struct tty *tp, int flag) in ptcwakeup() 614 struct tty *tp; in ptcopen() local 691 struct tty *tp; in ptcclose() local 746 struct tty *tp = dev->si_tty; in ptcread() local 831 ptsstop(struct tty *tp, int flush) in ptsstop() [all …]
|
H A D | tty_conf.c | 133 l_noopen(cdev_t dev, struct tty *tp) in l_noopen() 140 l_noclose(struct tty *tp, int flag) in l_noclose() 147 l_noread(struct tty *tp, struct uio *uio, int flag) in l_noread() 154 l_nowrite(struct tty *tp, struct uio *uio, int flag) in l_nowrite() 161 l_norint(int c, struct tty *tp) in l_norint() 168 l_nostart(struct tty *tp) in l_nostart() 179 l_nullioctl(struct tty *tp, u_long cmd, char *data, int flags, in l_nullioctl()
|
/dflybsd-src/contrib/gdb-7/gdb/ |
H A D | thread.c | 71 struct thread_info *tp = find_thread_ptid (inferior_ptid); in inferior_thread() local 77 delete_step_resume_breakpoint (struct thread_info *tp) in delete_step_resume_breakpoint() 87 delete_exception_resume_breakpoint (struct thread_info *tp) in delete_exception_resume_breakpoint() 97 clear_thread_inferior_resources (struct thread_info *tp) in clear_thread_inferior_resources() 127 free_thread (struct thread_info *tp) in free_thread() 144 struct thread_info *tp, *tpnext; in init_thread_list() local 166 struct thread_info *tp; in new_thread() local 185 struct thread_info *tp; in add_thread_silent() local 258 struct thread_info *tp, *tpprev; in delete_thread_1() local 325 struct thread_info *tp; in find_thread_id() local [all …]
|
/dflybsd-src/sys/netinet/ |
H A D | tcp_timer.c | 204 tcp_canceltimers(struct tcpcb *tp) in tcp_canceltimers() 216 tcp_send_timermsg(struct tcpcb *tp, uint32_t task) in tcp_send_timermsg() 241 tcp_timer_delack_handler(struct tcpcb *tp) in tcp_timer_delack_handler() 255 struct tcpcb *tp = xtp; in tcp_timer_delack() local 270 tcp_timer_2msl_handler(struct tcpcb *tp) in tcp_timer_2msl_handler() 303 struct tcpcb *tp = xtp; in tcp_timer_2msl() local 318 tcp_timer_keep_handler(struct tcpcb *tp) in tcp_timer_keep_handler() 384 struct tcpcb *tp = xtp; in tcp_timer_keep() local 399 tcp_timer_persist_handler(struct tcpcb *tp) in tcp_timer_persist_handler() 443 struct tcpcb *tp = xtp; in tcp_timer_persist() local [all …]
|
H A D | tcp_input.c | 278 #define ND6_HINT(tp) \ argument 286 #define ND6_HINT(tp) argument 296 #define DELAY_ACK(tp) \ argument 300 #define acceptable_window_update(tp, th, tiwin) \ argument 307 #define need_early_retransmit(tp, ownd) \ argument 322 tcp_paws_canreasslast(const struct tcpcb *tp, const struct tcphdr *th, int tlen) in tcp_paws_canreasslast() 360 tcp_ncr_update_rxtthresh(struct tcpcb *tp) in tcp_ncr_update_rxtthresh() 374 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) in tcp_reass() 649 struct tcpcb *tp = NULL; in tcp_input() local 2783 struct tcpcb *tp = sototcpcb(so); in tcp_pulloutofband() local [all …]
|
H A D | tcp_usrreq.c | 206 struct tcpcb *tp = NULL; in tcp_usr_attach() local 238 struct tcpcb *tp; in tcp_usr_detach() local 306 struct tcpcb *tp; in tcp_usr_bind() local 397 struct tcpcb *tp; in tcp6_usr_bind() local 449 struct tcpcb *tp; in tcp_usr_listen() local 526 struct tcpcb *tp; in tcp6_usr_listen() local 587 struct tcpcb *tp; in tcp_usr_connect() local 630 struct tcpcb *tp; in tcp6_usr_connect() local 689 struct tcpcb *tp; in tcp_usr_disconnect() local 708 struct tcpcb *tp = NULL; in tcp_usr_accept() local [all …]
|
H A D | tcp_output.c | 173 tcp_output(struct tcpcb *tp) in tcp_output() 1328 tcp_setpersist(struct tcpcb *tp) in tcp_setpersist() 1353 tcp_idle_cwnd_validate(struct tcpcb *tp) in tcp_idle_cwnd_validate() 1410 tcp_tso_getsize(struct tcpcb *tp, u_int *segsz, u_int *hlen0) in tcp_tso_getsize() 1452 struct tcpcb *tp = nmsg->lmsg.u.ms_resultp; in tcp_output_sched_handler() local 1463 tcp_output_init(struct tcpcb *tp) in tcp_output_init() 1471 tcp_output_cancel(struct tcpcb *tp) in tcp_output_cancel() 1485 tcp_output_pending(struct tcpcb *tp) in tcp_output_pending() 1494 tcp_output_sched(struct tcpcb *tp) in tcp_output_sched() 1523 tcp_output_fair(struct tcpcb *tp) in tcp_output_fair()
|
H A D | tcp_sack.c | 85 tcp_sack_tcpcb_init(struct tcpcb *tp) in tcp_sack_tcpcb_init() 247 tcp_sack_ack_blocks(struct tcpcb *tp, tcp_seq th_ack) in tcp_sack_ack_blocks() 293 tcp_sack_discard(struct tcpcb *tp) in tcp_sack_discard() 319 tcp_sack_report_cleanup(struct tcpcb *tp) in tcp_sack_report_cleanup() 330 tcp_sack_report_needed(const struct tcpcb *tp) in tcp_sack_report_needed() 368 tcp_sack_add_blocks(struct tcpcb *tp, struct tcpopt *to) in tcp_sack_add_blocks() 406 tcp_sack_update_scoreboard(struct tcpcb *tp, struct tcpopt *to) in tcp_sack_update_scoreboard() 617 tcp_sack_compute_pipe(const struct tcpcb *tp) in tcp_sack_compute_pipe() 644 tcp_sack_nextseg(struct tcpcb *tp, tcp_seq *nextrexmt, uint32_t *plen, in tcp_sack_nextseg() 757 tcp_sack_first_unsacked_len(const struct tcpcb *tp) in tcp_sack_first_unsacked_len() [all …]
|
H A D | tcp_subr.c | 447 struct tcpcb *tp; in tcp_willblock() local 464 tcp_fillheaders(struct tcpcb *tp, void *ip_ptr, void *tcp_ptr, boolean_t tso) in tcp_fillheaders() 525 tcp_maketemplate(struct tcpcb *tp) in tcp_maketemplate() 556 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, in tcp_respond() 720 struct tcpcb *tp; in tcp_newtcpcb() local 796 tcp_drop(struct tcpcb *tp, int error) in tcp_drop() 822 struct tcpcb *tp = nmsg->nm_tp; in tcp_listen_detach_handler() local 846 tcp_close(struct tcpcb *tp) in tcp_close() 1200 struct tcpcb *tp = intotcpcb(inp); in tcp_notify() local 1507 struct tcpcb *tp = intotcpcb(inp); in tcp_ctlinput() local [all …]
|
/dflybsd-src/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 …]
|
/dflybsd-src/sys/netgraph/tty/ |
H A D | ng_tty.c | 86 struct tty *tp; /* Terminal device */ member 187 ngt_open(cdev_t dev, struct tty *tp) in ngt_open() 257 ngt_close(struct tty *tp, int flag) in ngt_close() 284 ngt_read(struct tty *tp, struct uio *uio, int flag) in ngt_read() 293 ngt_write(struct tty *tp, struct uio *uio, int flag) in ngt_write() 302 ngt_tioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct ucred *cred) in ngt_tioctl() 338 ngt_input(int c, struct tty *tp) in ngt_input() 406 ngt_start(struct tty *tp) in ngt_start() 470 struct tty *tp = sc->tp; in ngt_timeout() local 503 struct tty *tp = sc->tp; in ngt_newhook() local [all …]
|
/dflybsd-src/sys/netgraph7/tty/ |
H A D | ng_tty.c | 87 struct tty *tp; /* Terminal device */ member 181 ngt_open(struct cdev *dev, struct tty *tp) in ngt_open() 244 ngt_close(struct tty *tp, int flag) in ngt_close() 266 ngt_read(struct tty *tp, struct uio *uio, int flag) in ngt_read() 275 ngt_write(struct tty *tp, struct uio *uio, int flag) in ngt_write() 284 ngt_tioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct ucred *cred) in ngt_tioctl() 325 ngt_input(int c, struct tty *tp) in ngt_input() 412 ngt_start(struct tty *tp) in ngt_start() 467 struct tty *tp = sc->tp; in ngt_timeout() local 497 struct tty *tp = sc->tp; in ngt_newhook() local [all …]
|
/dflybsd-src/sys/dev/misc/nmdm/ |
H A D | nmdm.c | 98 #define GETPARTS(tp, ourpart, otherpart) \ argument 152 struct tty *tp, *tp2; in nmdmopen() local 273 struct tty *tp, *tp2; in nmdmclose() local 317 struct tty *tp; in nmdmread() local 367 struct tty *tp1, *tp; in nmdmwrite() local 476 nmdmstart(struct tty *tp) in nmdmstart() 494 wakeup_other(struct tty *tp, int flag) in wakeup_other() 512 nmdmstop(struct tty *tp, int flush) in nmdmstop() 539 struct tty *tp = dev->si_tty; in nmdmioctl() local
|
/dflybsd-src/contrib/mdocml/ |
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()
|
/dflybsd-src/contrib/binutils-2.34/libctf/ |
H A D | ctf-types.c | 44 const ctf_type_t *tp; in ctf_member_iter() local 113 const ctf_type_t *tp; in ctf_enum_iter() local 168 const ctf_type_t *tp = LCTF_INDEX_TO_TYPEPTR (fp, id); in ctf_type_iter() local 188 const ctf_type_t *tp = LCTF_INDEX_TO_TYPEPTR (fp, id); in ctf_type_iter_all() local 245 const ctf_type_t *tp; in ctf_type_resolve() local 283 const ctf_type_t *tp; in ctf_type_resolve_unsliced() local 365 const ctf_type_t *tp = ctf_lookup_by_id (&rfp, cdp->cd_type); in ctf_type_aname() local 472 const ctf_type_t *tp; in ctf_type_aname_raw() local 489 const ctf_type_t *tp; in ctf_type_size() local 539 const ctf_type_t *tp; in ctf_type_align() local [all …]
|
/dflybsd-src/contrib/nvi2/vi/ |
H A D | v_txt.c | 224 #define UPDATE_POSITION(sp, tp) { \ argument 251 TEXT *ntp, *tp; /* Input text structures. */ in v_txt() local 1439 txt_abbrev(SCR *sp, TEXT *tp, CHAR_T *pushcp, int isinfoline, int *didsubp, int *turnoffp) in txt_abbrev() 1605 txt_unmap(SCR *sp, TEXT *tp, u_int32_t *ec_flagsp) in txt_unmap() 1645 txt_ai_resolve(SCR *sp, TEXT *tp, int *changedp) in txt_ai_resolve() 1738 v_txt_auto(SCR *sp, recno_t lno, TEXT *aitp, size_t len, TEXT *tp) in v_txt_auto() 1788 txt_backup(SCR *sp, TEXTH *tiqh, TEXT *tp, u_int32_t *flagsp) in txt_backup() 1863 txt_dent(SCR *sp, TEXT *tp, int swopt, int isindent) in txt_dent() 1967 txt_fc(SCR *sp, TEXT *tp, int *redrawp) in txt_fc() 2242 txt_emark(SCR *sp, TEXT *tp, size_t cno) in txt_emark() [all …]
|
/dflybsd-src/sys/bus/u4b/serial/ |
H A D | usb_serial.c | 211 #define tty_gone(tp) ((tp->t_state) & (TS_ZOMBIE)) argument 445 struct tty *tp; in ucom_attach_tty() local 545 struct tty *tp = sc->sc_tty; in ucom_detach_tty() local 685 struct tty *tp = sc->sc_tty; in ucom_shutdown() local 804 struct tty *tp; in ucom_open() local 941 struct tty *tp = sc->sc_tty; in ucom_close() local 1033 struct tty *tp; in ucom_dev_read() local 1062 struct tty *tp; in ucom_dev_write() local 1091 struct tty *tp = sc->sc_tty; in ucom_dev_ioctl() local 1303 ucom_modem(struct tty *tp, int sigon, int sigoff) in ucom_modem() [all …]
|
/dflybsd-src/contrib/gmp/mpn/generic/ |
H A D | powm.c | 122 mp_ptr tp, qp; in redcify() local 142 mp_srcptr mp, mp_size_t n, mp_ptr tp) in mpn_powm() 309 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_1 (rp, tp, mp, n, mip[0]) in mpn_powm() argument 319 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_2 (rp, tp, mp, n, mip) in mpn_powm() argument 329 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_2 (rp, tp, mp, n, mip) in mpn_powm() argument 339 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_n (rp, tp, mp, n, mip) in mpn_powm() argument 352 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_1 (rp, tp, mp, n, mip[0]) in mpn_powm() argument 362 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_1 (rp, tp, mp, n, mip[0]) in mpn_powm() argument 372 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_2 (rp, tp, mp, n, mip) in mpn_powm() argument 382 #define MPN_REDUCE(rp,tp,mp,n,mip) mpn_redc_n (rp, tp, mp, n, mip) in mpn_powm() argument [all …]
|
H A D | hgcd.c | 67 unsigned col, mp_ptr tp) in hgcd_matrix_update_q() 138 mp_ptr tp) in hgcd_matrix_mul_1() 171 struct hgcd_matrix *M, mp_ptr tp) in hgcd_step() 364 struct hgcd_matrix *M, mp_ptr tp) in mpn_hgcd_lehmer() 390 mp_ptr tp) in mpn_hgcd_matrix_mul() 439 mp_size_t p, mp_ptr tp) in mpn_hgcd_matrix_adjust() 550 struct hgcd_matrix *M, mp_ptr tp) in mpn_hgcd()
|
/dflybsd-src/sys/net/sl/ |
H A D | if_sl.c | 245 slopen(cdev_t dev, struct tty *tp) in slopen() 303 slclose(struct tty *tp, int flag) in slclose() 346 sltioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, struct ucred *cred) in sltioctl() 529 slstart(struct tty *tp) in slstart() 759 slinput(int c, struct tty *tp) in slinput() 996 struct tty *tp; in slioctl() local 1016 struct tty *tp = sc->sc_ttyp; in sl_keepalive() local 1043 struct tty *tp = sc->sc_ttyp; in sl_outfill() local
|
/dflybsd-src/libexec/telnetd/ |
H A D | sys_term.c | 81 # define cfsetospeed(tp, val) (tp)->sg.sg_ospeed = (val) argument 82 # define cfsetispeed(tp, val) (tp)->sg.sg_ispeed = (val) argument 83 # define cfgetospeed(tp) (tp)->sg.sg_ospeed argument 84 # define cfgetispeed(tp) (tp)->sg.sg_ispeed argument 103 # define cfsetospeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ argument 105 # define cfgetospeed(tp) ((tp)->c_cflag & CBAUD) argument 107 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CIBAUD; \ argument 109 # define cfgetispeed(tp) (((tp)->c_cflag & CIBAUD)>>IBSHIFT) argument 111 # define cfsetispeed(tp, val) (tp)->c_cflag &= ~CBAUD; \ argument 113 # define cfgetispeed(tp) ((tp)->c_cflag & CBAUD) argument [all …]
|
/dflybsd-src/sys/netgraph7/bluetooth/drivers/h4/ |
H A D | ng_h4.c | 150 ng_h4_open(struct cdev *dev, struct tty *tp) in ng_h4_open() 239 ng_h4_close(struct tty *tp, int flag) in ng_h4_close() 270 ng_h4_read(struct tty *tp, struct uio *uio, int flag) in ng_h4_read() 280 ng_h4_write(struct tty *tp, struct uio *uio, int flag) in ng_h4_write() 290 ng_h4_ioctl(struct tty *tp, u_long cmd, caddr_t data, int flag, in ng_h4_ioctl() 337 ng_h4_input(int c, struct tty *tp) in ng_h4_input() 573 ng_h4_start(struct tty *tp)
|
/dflybsd-src/contrib/gmp/mpz/ |
H A D | tdiv_q.c | 58 mp_ptr tp; in mpz_tdiv_q() local 66 mp_ptr tp; in mpz_tdiv_q() local 74 mp_ptr tp; in mpz_tdiv_q() local
|
/dflybsd-src/sys/dev/misc/dcons/ |
H A D | dcons_os.c | 212 struct tty *tp; in dcons_open() local 256 struct tty *tp; in dcons_close() local 278 struct tty *tp; in dcons_ioctl() local 304 dcons_tty_param(struct tty *tp, struct termios *t) in dcons_tty_param() 315 dcons_tty_start(struct tty *tp) in dcons_tty_start() 339 struct tty *tp; in dcons_timeout() local 506 struct tty *tp; in dcons_attach_port() local 543 struct tty *tp; in dcons_detach() local
|