Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 1311) sorted by relevance

12345678910>>...53

/freebsd-12.1/sys/netinet/
H A Dtcp_timer.c274 (void) tp->t_fb->tfb_tcp_output(tp); in tcp_timer_delack()
343 tp = tcp_close(tp); in tcp_timer_2msl()
357 tp = tcp_close(tp); in tcp_timer_2msl()
437 if (ticks - tp->t_rcvtime >= TP_KEEPIDLE(tp) + TP_MAXIDLE(tp)) in tcp_timer_keep()
482 tp = tcp_drop(tp, ETIMEDOUT); in tcp_timer_keep()
546 tp = tcp_drop(tp, ETIMEDOUT); in tcp_timer_persist()
563 tp = tcp_drop(tp, ETIMEDOUT); in tcp_timer_persist()
632 tp = tcp_drop(tp, ETIMEDOUT); in tcp_timer_rexmt()
653 tp->snd_cwnd_prev = tp->snd_cwnd; in tcp_timer_rexmt()
812 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
[all …]
H A Dtcp_input.c284 hhook_data.tp = tp; in hhook_run_tcp_est_in()
305 if (tp->snd_cwnd <= tp->snd_wnd) in cc_ack_received()
446 tp->snd_nxt = tp->snd_max; in cc_cong_signal()
1883 tp->rcv_up = tp->rcv_nxt; in tcp_do_segment()
2167 tp = tcp_close(tp); in tcp_do_segment()
2321 tp = tcp_close(tp); in tcp_do_segment()
2915 tp = tcp_close(tp); in tcp_do_segment()
3005 tp->rcv_up = tp->rcv_nxt; in tcp_do_segment()
3498 if (tp->t_rttbest > tp->t_srtt + tp->t_rttvar) in tcp_xmit_timer()
3499 tp->t_rttbest = tp->t_srtt + tp->t_rttvar; in tcp_xmit_timer()
[all …]
H A Dtcp_output.c159 hhook_data.tp = tp; in hhook_run_tcp_est_out()
180 CC_ALGO(tp)->after_idle(tp->ccv); in cc_after_idle()
248 idle = (tp->t_flags & TF_LASTIDLE) || (tp->snd_max == tp->snd_una); in tcp_output()
265 SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_output()
270 off = tp->snd_nxt - tp->snd_una; in tcp_output()
487 tp->snd_nxt = tp->snd_una; in tcp_output()
766 tp->snd_nxt = tp->iss; in tcp_output()
1111 tp->snd_nxt == tp->snd_max) in tcp_output()
1455 tp->snd_max = tp->snd_nxt; in tcp_output()
1569 tp->snd_cwnd = tp->t_maxseg; in tcp_output()
[all …]
H A Dtcp_sack.c176 (tp->sackblks[0].end == tp->rcv_nxt))) { in tcp_update_dsack_list()
241 (SEQ_GT(tp->sackblks[j].start, tp->rcv_nxt)))) in tcp_update_dsack_list()
445 tp->sackblks[i].start = tp->sackblks[i].end=0; in tcp_clean_sackreport()
617 tp->snd_fack = SEQ_MAX(tp->snd_una, th_ack); in tcp_sack_doack()
787 tp->snd_cwnd = (tp->sackhint.sack_bytes_rexmit + in tcp_sack_partialack()
788 (tp->snd_nxt - tp->sack_newdata) + num_segs * tp->t_maxseg); in tcp_sack_partialack()
789 if (tp->snd_cwnd > tp->snd_ssthresh) in tcp_sack_partialack()
790 tp->snd_cwnd = tp->snd_ssthresh; in tcp_sack_partialack()
792 (void) tp->t_fb->tfb_tcp_output(tp); in tcp_sack_partialack()
871 if (SEQ_GEQ(tp->snd_nxt, tp->snd_fack)) in tcp_sack_adjust()
[all …]
H A Dtcp_usrreq.c2342 tp = tcp_close(tp); in tcp_disconnect()
2346 tp = tcp_drop(tp, 0); in tcp_disconnect()
2383 tp = tcp_close(tp); in tcp_usrclosed()
2640 tp->snd_una, tp->snd_max, tp->snd_nxt); in db_print_tcpcb()
2644 tp->snd_up, tp->snd_wl1, tp->snd_wl2); in db_print_tcpcb()
2648 tp->iss, tp->irs, tp->rcv_nxt); in db_print_tcpcb()
2652 tp->rcv_adv, tp->rcv_wnd, tp->rcv_up); in db_print_tcpcb()
2672 tp->t_rxtcur, tp->t_maxseg, tp->t_srtt); in db_print_tcpcb()
2681 tp->t_rttupdated, tp->max_sndwnd, tp->t_softerror); in db_print_tcpcb()
2690 tp->snd_scale, tp->rcv_scale, tp->request_r_scale); in db_print_tcpcb()
[all …]
H A Dtcp_offload.c98 INP_WLOCK_ASSERT(tp->t_inpcb); in tcp_offload_listen_start()
115 struct toedev *tod = tp->tod; in tcp_offload_input()
120 tod->tod_input(tod, tp, m); in tcp_offload_input()
126 struct toedev *tod = tp->tod; in tcp_offload_output()
141 tp->t_flags |= TF_SENTFIN; in tcp_offload_output()
151 struct toedev *tod = tp->tod; in tcp_offload_rcvd()
156 tod->tod_rcvd(tod, tp); in tcp_offload_rcvd()
162 struct toedev *tod = tp->tod; in tcp_offload_ctloutput()
173 struct toedev *tod = tp->tod; in tcp_offload_tcp_info()
184 struct toedev *tod = tp->tod; in tcp_offload_detach()
[all …]
/freebsd-12.1/sys/kern/
H A Dtty.c211 if (tty_gone(tp) || !tty_opened(tp)) { in ttydev_enter()
285 error = tty_wait(tp, &tp->t_dcdwait); in ttydev_open()
319 tp->t_termios = tp->t_termios_init_in; in ttydev_open()
320 ttydevsw_param(tp, &tp->t_termios); in ttydev_open()
341 error = tty_wait(tp, &tp->t_dcdwait); in ttydev_open()
470 error = tty_wait(tp, &tp->t_bgwait); in tty_wait_background()
1069 tp->t_mtx = &tp->t_mtxobj; in tty_alloc_mutex()
1104 if (tp->t_mtx == &tp->t_mtxobj) in tty_dealloc()
1741 tp->t_session->s_ttyp = tp; in tty_generic_ioctl()
2266 tp->t_inq.ti_linestart, tp->t_inq.ti_reprint, tp->t_inq.ti_end, in DB_SHOW_COMMAND()
[all …]
H A Dtty_ttydisc.c160 error = tty_wait(tp, &tp->t_inwait); in ttydisc_read_canonical()
215 error = tty_wait(tp, &tp->t_inwait); in ttydisc_read_raw_no_timer()
316 error = tty_wait(tp, &tp->t_inwait); in ttydisc_read_raw_interbyte_timer()
419 tp->t_column = tp->t_writepos = 0; in ttydisc_write_oproc()
434 tp->t_column = tp->t_writepos = 0; in ttydisc_write_oproc()
514 tp->t_writepos = tp->t_column; in ttydisc_write()
525 tp->t_writepos = tp->t_column; in ttydisc_write()
549 error = tty_wait(tp, &tp->t_outwait); in ttydisc_write()
711 struct tty *tp = data->tp; in ttydisc_recalc_charlength() local
750 if (tp->t_writepos >= tp->t_column) { in ttydisc_rubchar()
[all …]
H A Dtty_pts.c124 tty_lock(tp); in ptsdev_read()
204 tty_lock(tp); in ptsdev_write()
275 tty_lock(tp); in ptsdev_ioctl()
310 tty_lock(tp); in ptsdev_ioctl()
337 tty_lock(tp); in ptsdev_ioctl()
346 tty_lock(tp); in ptsdev_ioctl()
362 tty_lock(tp); in ptsdev_ioctl()
378 tty_lock(tp); in ptsdev_ioctl()
395 tty_lock(tp); in ptsdev_poll()
512 tty_lock(tp); in ptsdev_kqfilter()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dthread.c77 for (tp = thread_list; tp; tp = tp->next) in delete_step_resume_breakpoint()
143 for (tp = thread_list; tp; tpprev = tp, tp = tp->next) in delete_thread()
163 for (tp = thread_list; tp; tp = tp->next) in find_thread_id()
176 for (tp = thread_list; tp; tp = tp->next) in find_thread_pid()
203 for (tp = thread_list; tp; tp = tp->next) in iterate_over_threads()
215 for (tp = thread_list; tp; tp = tp->next) in valid_thread_id()
227 for (tp = thread_list; tp; tp = tp->next) in pid_to_thread_id()
249 for (tp = thread_list; tp; tp = tp->next) in in_thread_list()
270 for (tp = thread_list; tp; tp = tp->next) in do_captured_list_thread_ids()
432 for (tp = thread_list; tp; tp = tp->next) in info_threads_command()
[all …]
/freebsd-12.1/contrib/nvi/vi/
H A Dv_txt.c303 tp->ai = tp->insert = tp->offset = tp->owrite = 0; in v_txt()
898 tp->lb + tp->cno + tp->owrite, tp->insert); in v_txt()
977 if (tp->ai == 0 || tp->cno > tp->ai + tp->offset) in v_txt()
1073 if (tp->ai && tp->cno > tp->ai) in v_txt()
1170 if (tp->ai && tp->cno > tp->ai) in v_txt()
1378 if (tp->cno + tp->insert + tp->owrite != tp->len) { in v_txt()
1381 tp->len, tp->cno, tp->ai, tp->insert, tp->owrite); in v_txt()
1384 tp->len = tp->cno + tp->insert + tp->owrite; in v_txt()
2401 MEMMOVE(tp->lb + tp->cno, tp->lb + tp->cno + len, in txt_hex()
2534 tp->lb[tp->cno + 1] = tp->lb[tp->cno]; in txt_insch()
[all …]
/freebsd-12.1/sys/sys/
H A Dttydevsw.h92 return (tp->t_devsw->tsw_open(tp)); in ttydevsw_open()
102 tp->t_devsw->tsw_close(tp); in ttydevsw_close()
116 tp->t_devsw->tsw_outwakeup(tp); in ttydevsw_outwakeup()
130 tp->t_devsw->tsw_inwakeup(tp); in ttydevsw_inwakeup()
140 return (tp->t_devsw->tsw_ioctl(tp, cmd, data, td)); in ttydevsw_ioctl()
151 return (tp->t_devsw->tsw_cioctl(tp, unit, cmd, data, td)); in ttydevsw_cioctl()
160 return (tp->t_devsw->tsw_param(tp, t)); in ttydevsw_param()
169 return (tp->t_devsw->tsw_modem(tp, sigon, sigoff)); in ttydevsw_modem()
189 tp->t_devsw->tsw_pktnotify(tp, event); in ttydevsw_pktnotify()
198 tp->t_devsw->tsw_free(tty_softc(tp)); in ttydevsw_free()
[all …]
H A Dttyhook.h74 #define ttyhook_softc(tp) ((tp)->t_hooksoftc) argument
75 #define ttyhook_hashook(tp,hook) ((tp)->t_hook != NULL && \ argument
82 MPASS(!tty_gone(tp)); in ttyhook_rint()
84 return tp->t_hook->th_rint(tp, c, flags); in ttyhook_rint()
93 return tp->t_hook->th_rint_bypass(tp, buf, len); in ttyhook_rint_bypass()
102 tp->t_hook->th_rint_done(tp); in ttyhook_rint_done()
111 return tp->t_hook->th_rint_poll(tp); in ttyhook_rint_poll()
120 return tp->t_hook->th_getc_inject(tp, buf, len); in ttyhook_getc_inject()
129 tp->t_hook->th_getc_capture(tp, buf, len); in ttyhook_getc_capture()
138 return tp->t_hook->th_getc_poll(tp); in ttyhook_getc_poll()
[all …]
H A Dtty.h170 #define tty_lock(tp) mtx_lock((tp)->t_mtx) argument
171 #define tty_unlock(tp) mtx_unlock((tp)->t_mtx) argument
172 #define tty_lock_owned(tp) mtx_owned((tp)->t_mtx) argument
173 #define tty_lock_assert(tp,ma) mtx_assert((tp)->t_mtx, (ma)) argument
174 #define tty_getlock(tp) ((tp)->t_mtx) argument
207 dev_t tty_udev(struct tty *tp);
208 #define tty_opened(tp) ((tp)->t_flags & TF_OPENED) argument
209 #define tty_gone(tp) ((tp)->t_flags & TF_GONE) argument
210 #define tty_softc(tp) ((tp)->t_devswsoftc) argument
211 #define tty_devname(tp) devtoname((tp)->t_dev) argument
[all …]
/freebsd-12.1/sys/netinet/tcp_stacks/
H A Drack.c1443 tp->snd_nxt = tp->snd_max; in rack_cong_signal()
1660 tp = tcp_close(tp); in rack_process_rst()
3654 if (tp->t_rttbest > tp->t_srtt + tp->t_rttvar) in tcp_rack_xmit_timer_commit()
3655 tp->t_rttbest = tp->t_srtt + tp->t_rttvar; in tcp_rack_xmit_timer_commit()
3664 tp->t_rttbest = tp->t_srtt + tp->t_rttvar; in tcp_rack_xmit_timer_commit()
4697 tp = tcp_close(tp); in rack_process_ack()
5070 tp->rcv_up = tp->rcv_nxt; in rack_do_fastnewdata()
5877 tp = tcp_close(tp); in rack_check_data_after_close()
6208 tp = tcp_close(tp); in rack_do_lastack()
6836 if (((tp->snd_max - tp->snd_una) > tp->snd_wnd) && in rack_hpts_do_segment()
[all …]
/freebsd-12.1/contrib/tcpdump/
H A Daddrtoname.c377 tp = tp->e_nxt; in lookup_emem()
385 return tp; in lookup_emem()
420 tp = tp->bs_nxt; in lookup_bytestring()
468 tp = tp->e_nxt; in lookup_nsap()
499 if (tp->p_oui == i && tp->p_proto == j) in lookup_protoid()
502 tp = tp->p_nxt; in lookup_protoid()
631 for (tp = &eprototable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in etherproto_string()
719 for (tp = &tporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in tcpport_string()
740 for (tp = &uporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in udpport_string()
762 for (tp = &ipxsaptable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ipxsap_string()
[all …]
H A Dprint-dhcp6.c375 dhcp6opt_print(ndo, tp + 24, tp + optlen); in dhcp6opt_print()
432 tp++; in dhcp6opt_print()
442 tp++; in dhcp6opt_print()
451 tp++; in dhcp6opt_print()
473 tp += 4; in dhcp6opt_print()
589 dhcp6opt_print(ndo, tp + 12, tp + optlen); in dhcp6opt_print()
602 dhcp6opt_print(ndo, tp + 4, tp + optlen); in dhcp6opt_print()
618 dhcp6opt_print(ndo, tp + 25, tp + optlen); in dhcp6opt_print()
665 dhcp6opt_print(ndo, tp + 17, tp + optlen); in dhcp6opt_print()
673 dhcp6opt_print(ndo, tp, tp + optlen); in dhcp6opt_print()
[all …]
/freebsd-12.1/contrib/nvi/ex/
H A Dex_txt.c148 BINC_GOTOW(sp, tp->lb, tp->lb_len, tp->len + 1); in ex_txt()
171 tp->len != 0 && tp->lb[tp->len - 1] == '\\') in ex_txt()
181 tp->lb[tp->len] = '\0'; in ex_txt()
218 OOBLNO, tp, tp->len, ntp)) in ex_txt()
288 if (tp->len > tp->ai + 1) in ex_txt()
302 if (tp->len > tp->ai + 1) in ex_txt()
307 tp->ai = tp->len = 0; in ex_txt()
310 if (tp->len > tp->ai) in ex_txt()
336 tp->lb[tp->len++] = ev.e_c; in ex_txt()
421 tp->lb[tp->len++] = '\t'; in txt_dent()
[all …]
/freebsd-12.1/sys/net/
H A Dif_tun.c277 cv_wait_unlock(&tp->tun_cv, &tp->tun_mtx); in tun_destroy()
283 dev = tp->tun_dev; in tun_destroy()
299 free(tp, M_TUN); in tun_destroy()
311 tun_destroy(tp); in tun_clone_destroy()
345 tun_destroy(tp); in tun_uninit()
406 wakeup(tp); in tunstart()
410 if (tp->tun_flags & TUN_ASYNC && tp->tun_sigio) { in tunstart()
469 if (!tp) { in tunopen()
559 tp->tun_pid = 0; in tunclose()
614 if (tp == NULL) { in tunifioctl()
[all …]
H A Dif_tap.c240 free(tp, M_TAP); in tap_destroy()
252 tap_destroy(tp); in tap_clone_destroy()
425 tp = malloc(sizeof(*tp), M_TAP, M_WAITOK | M_ZERO); in tapcreate()
475 knlist_init_mtx(&tp->tap_rsel.si_note, &tp->tap_mtx); in tapcreate()
511 bcopy(IF_LLADDR(tp->tap_ifp), tp->ether_addr, sizeof(tp->ether_addr)); in tapopen()
574 tp->tap_pid = 0; in tapclose()
719 wakeup(tp); in tapifstart()
722 if ((tp->tap_flags & TAP_ASYNC) && (tp->tap_sigio != NULL)) { in tapifstart()
866 bcopy(tp->ether_addr, data, sizeof(tp->ether_addr)); in tapioctl()
872 bcopy(data, tp->ether_addr, sizeof(tp->ether_addr)); in tapioctl()
[all …]
/freebsd-12.1/contrib/mandoc/
H A Dtbl_term.c189 tp->tbl.arg = tp; in term_tbl()
285 tp->lasttcol = tp->tcol - tp->tcols; in term_tbl()
289 tp->tcol = tp->tcols; in term_tbl()
317 tp->tcol = tp->tcols; in term_tbl()
337 (*tp->advance)(tp, tp->tcols->offset); in term_tbl()
463 (*tp->advance)(tp, tp->tcol->rmargin in term_tbl()
472 if (tp->tcol + 1 == tp->tcols + tp->lasttcol) in term_tbl()
546 (*tp->endline)(tp); in term_tbl()
615 (*tp->advance)(tp, tp->tcols->offset); in tbl_hrule()
721 (*tp->endline)(tp); in tbl_hrule()
[all …]
/freebsd-12.1/contrib/ncurses/include/
H A Dterm_entry.h91 #define NUM_BOOLEANS(tp) (tp)->num_Booleans argument
92 #define NUM_NUMBERS(tp) (tp)->num_Numbers argument
93 #define NUM_STRINGS(tp) (tp)->num_Strings argument
102 #define NUM_EXT_NAMES(tp) (unsigned) ((tp)->ext_Booleans + (tp)->ext_Numbers + (tp)->ext_Strings) argument
104 #define for_each_boolean(n,tp) for(n = 0; n < NUM_BOOLEANS(tp); n++) argument
105 #define for_each_number(n,tp) for(n = 0; n < NUM_NUMBERS(tp); n++) argument
106 #define for_each_string(n,tp) for(n = 0; n < NUM_STRINGS(tp); n++) argument
110 #define for_each_ext_number(n,tp) for(n = NUMCOUNT; n < NUM_NUMBERS(tp); n++) argument
114 #define ExtBoolname(tp,i,names) EXT_NAMES(tp, i, BOOLCOUNT, (i - (tp->num_Booleans - tp->ext_Boolea… argument
115 #define ExtNumname(tp,i,names) EXT_NAMES(tp, i, NUMCOUNT, (i - (tp->num_Numbers - tp->ext_Numbers)… argument
[all …]
/freebsd-12.1/contrib/ncurses/ncurses/trace/
H A Dtrace_xnames.c45 int limit = tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings; in NCURSES_EXPORT()
49 int begin_str = tp->ext_Booleans + tp->ext_Numbers; in NCURSES_EXPORT()
52 tp->term_names, in NCURSES_EXPORT()
54 tp->ext_Booleans, tp->ext_Numbers, tp->ext_Strings, in NCURSES_EXPORT()
55 tp->num_Booleans, tp->num_Numbers, tp->num_Strings); in NCURSES_EXPORT()
59 tp->ext_Names[n], in NCURSES_EXPORT()
60 _nc_visbuf(tp->Strings[tp->num_Strings + m - tp->ext_Strings])); in NCURSES_EXPORT()
63 tp->ext_Names[n], in NCURSES_EXPORT()
64 tp->Numbers[tp->num_Numbers + m - tp->ext_Numbers]); in NCURSES_EXPORT()
67 tp->ext_Names[n], in NCURSES_EXPORT()
[all …]
/freebsd-12.1/contrib/unbound/validator/
H A Dautotrust.c344 tp->node.key = tp; in autr_tp_create()
352 tp->autr->pnode.key = tp; in autr_tp_create()
373 lock_protect(&tp->lock, tp, sizeof(*tp)); in autr_tp_create()
374 lock_protect(&tp->lock, tp->autr, sizeof(*tp->autr)); in autr_tp_create()
394 lock_unprotect(&tp->lock, tp); in autr_point_delete()
395 lock_unprotect(&tp->lock, tp->autr); in autr_point_delete()
1035 if(tp && tp != tp2) { in autr_read_file()
1121 if(!print_id(out, fn, tp->name, tp->namelen, tp->dclass)) { in autr_write_contents()
1442 memmove(rr, tp->name, tp->namelen); in add_key()
2146 log_assert(tp && tp->autr); in autr_process_prime()
[all …]
/freebsd-12.1/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c225 n += (tp->num_Booleans - tp->ext_Booleans); in _nc_ext_data_index()
228 n += (tp->num_Numbers - tp->ext_Numbers) in _nc_ext_data_index()
233 n += (tp->num_Strings - tp->ext_Strings) in _nc_ext_data_index()
234 - (tp->ext_Booleans + tp->ext_Numbers); in _nc_ext_data_index()
259 tp->Booleans[j] = tp->Booleans[j + 1]; in _nc_del_ext_name()
266 tp->Numbers[j] = tp->Numbers[j + 1]; in _nc_del_ext_name()
273 tp->Strings[j] = tp->Strings[j + 1]; in _nc_del_ext_name()
307 tp->ext_Names[k] = tp->ext_Names[k - 1]; in _nc_ins_ext_name()
317 tp->Booleans[k] = tp->Booleans[k - 1]; in _nc_ins_ext_name()
324 tp->Numbers[k] = tp->Numbers[k - 1]; in _nc_ins_ext_name()
[all …]

12345678910>>...53