Home
last modified time | relevance | path

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

12345678910>>...82

/netbsd/sys/netinet/
H A Dtcp_congctl.c440 tp->snd_recover = tp->snd_max; in tcp_common_congestion_exp()
441 tp->snd_cwnd = tp->snd_ssthresh; in tcp_common_congestion_exp()
489 tp->snd_cwnd = tp->t_segsz; in tcp_reno_do_fast_retransmit()
494 tp->snd_cwnd = tp->t_segsz; in tcp_reno_do_fast_retransmit()
496 tp->snd_cwnd = tp->snd_ssthresh + tp->t_segsz * tp->t_dupacks; in tcp_reno_do_fast_retransmit()
549 win = ulmin(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_segsz; in tcp_reno_slow_retransmit()
553 tp->snd_cwnd = tp->t_segsz; in tcp_reno_slow_retransmit()
737 tp->snd_cwnd = tp->t_segsz + (th->th_ack - tp->snd_una); in tcp_newreno_fast_retransmit_newack()
899 tp->snd_cubic_wmax = uimax(tp->t_segsz, tp->snd_cubic_wmax); in tcp_cubic_congestion_exp()
954 tp->snd_cwnd = uimax(tp->snd_cwnd, tp->t_segsz); in tcp_cubic_newack()
[all …]
H A Dtcp_timer.c323 SEQ_LT(tp->t_pmtud_th_seq, (int)(tp->snd_una + tp->t_ourmss))) { in tcp_timer_rexmt()
355 tp->snd_fack = tp->snd_una; in tcp_timer_rexmt()
366 tp = tcp_drop(tp, tp->t_softerror ? in tcp_timer_rexmt()
416 tp->snd_nxt = tp->snd_una; in tcp_timer_rexmt()
417 tp->snd_high = tp->snd_max; in tcp_timer_rexmt()
433 tp->t_congctl->slow_retransmit(tp); in tcp_timer_rexmt()
492 tp = tcp_drop(tp, ETIMEDOUT); in tcp_timer_persist()
550 tp->t_keepidle + tp->t_maxidle)) in tcp_timer_keep()
566 (void)tcp_respond(tp, tp->t_template, in tcp_timer_keep()
615 tp->snd_fack = tp->snd_una; in tcp_timer_2msl()
[all …]
H A Dtcp_output.c389 tp->snd_cwnd = uimax((tp->snd_cwnd / tp->t_segsz) in tcp_segsize()
391 tp->snd_ssthresh = uimax((tp->snd_ssthresh / tp->t_segsz) in tcp_segsize()
461 tp->t_inoff += tp->t_lastlen; in tcp_build_datapkt()
612 (tp->snd_nxt - tp->snd_una)); in tcp_output()
670 if (TCP_SACK_ENABLED(tp) && SEQ_LT(tp->snd_nxt, tp->snd_max)) in tcp_output()
673 off = tp->snd_nxt - tp->snd_una; in tcp_output()
841 tp->snd_nxt = tp->snd_una; in tcp_output()
999 if (TCP_SACK_ENABLED(tp) && SEQ_GT(tp->snd_max, tp->snd_una) && in tcp_output()
1070 tp->snd_nxt = tp->iss; in tcp_output()
1479 tp->snd_max = tp->snd_nxt; in tcp_output()
[all …]
H A Dtcp_input.c1872 tp->snd_wl2 = tp->snd_una; in tcp_input()
1918 tp->rcv_up = tp->rcv_nxt; in tcp_input()
2030 tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt)); in tcp_input()
2067 tp->snd_nxt = tp->snd_una; in tcp_input()
2261 tp = tcp_close(tp); in tcp_input()
2294 tp = tcp_close(tp); in tcp_input()
2376 tp = tcp_close(tp); in tcp_input()
2382 tp = tcp_close(tp); in tcp_input()
2583 tp->snd_nxt = tp->snd_una; in tcp_input()
2636 tp = tcp_close(tp); in tcp_input()
[all …]
/netbsd/external/bsd/nvi/dist/vi/
H A Dv_txt.c311 tp->ai = tp->insert = tp->offset = tp->owrite = 0; in v_txt()
910 tp->lb + tp->cno + tp->owrite, tp->insert); in v_txt()
988 if (tp->ai == 0 || tp->cno != tp->ai + tp->offset) in v_txt()
1084 if (tp->ai && tp->cno > tp->ai) in v_txt()
1181 if (tp->ai && tp->cno > tp->ai) in v_txt()
1386 if (tp->cno + tp->insert + tp->owrite != tp->len) { in v_txt()
1389 tp->len, tp->cno, tp->ai, tp->insert, tp->owrite); in v_txt()
1392 tp->len = tp->cno + tp->insert + tp->owrite; in v_txt()
1706 tp->ai = tp->cno = tp->len = 0; in txt_ai_resolve()
2547 tp->lb[tp->cno + 1] = tp->lb[tp->cno]; in txt_insch()
[all …]
/netbsd/sys/kern/
H A Dtty.c866 catq(&tp->t_rawq, &tp->t_canq); in ttyinput_wlock()
869 tp->t_rocol = tp->t_column; in ttyinput_wlock()
1269 if (tp->t_param && (error = (*tp->t_param)(tp, t))) { in ttioctl()
1296 tp->t_rawq = tp->t_canq; in ttioctl()
1632 canwrite = (tp->t_outq.c_cc <= tp->t_lowat) && CONNECTED(tp); in filt_ttywrite()
1718 (*tp->t_oproc)(tp); in ttywait_timo()
1859 (*tp->t_oproc)(tp); in ttstart()
2479 tp->t_column = tp->t_rocol; in ttyrub()
2506 ttyecho(tp->t_cc[VERASE], tp); in ttyrub()
2998 kmem_free(tp, sizeof(*tp)); in tty_free()
[all …]
/netbsd/external/ibm-public/postfix/dist/src/global/
H A Dtok822_parse.c163 tp = tp->prev; \
177 tp = tp->prev; \
208 for (tp = tree; tp; tp = tp->next) { in tok822_internalize()
327 for (tp = tree; tp; tp = tp->next) { in tok822_externalize()
373 if (tp->next && tp->next->type == '>') { in tok822_externalize()
414 if (tp == 0 || (next = tp->next) == 0 || tp->owner != 0) in tok822_append_space()
529 SKIP(tp, tp->type != ','); in tok822_parse_limit()
534 SKIP_MOVE_COMMENT(tp, tp->type != '<', right); in tok822_parse_limit()
536 SKIP(tp, tp->type > 0xff || strchr(">;,:", tp->type) == 0); in tok822_parse_limit()
551 tp = tp->prev; in tok822_parse_limit()
[all …]
/netbsd/sys/net/
H A Dif_tun.c178 if (tp) in tun_find_unit()
182 return tp; in tun_find_unit()
198 if (tp) in tun_find_zunit()
204 return tp; in tun_find_zunit()
239 tp = kmem_zalloc(sizeof(*tp), KM_SLEEP); in tun_alloc()
257 kmem_free(tp, sizeof(*tp)); in tun_free()
327 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_clone_destroy()
648 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_output()
664 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_i_softintr()
674 if (tp->tun_flags & TUN_ASYNC && tp->tun_pgid) in tun_o_softintr()
[all …]
/netbsd/external/ibm-public/postfix/dist/src/bounce/
H A Dbounce_template.c260 *tp = *(tp->prototype); in bounce_template_reset()
329 tp->origin, cp, tp->class); in bounce_template_parse_buffer()
335 tp->origin, cp, tp->class); in bounce_template_parse_buffer()
348 tp->origin, cp, tp->class); in bounce_template_parse_buffer()
355 tp->origin, cp, tp->class); in bounce_template_parse_buffer()
368 tp->origin, tp->class); in bounce_template_parse_buffer()
381 tp->origin, tp->class); in bounce_template_parse_buffer()
442 tp->origin, tp->class, key); in bounce_template_lookup()
499 tp->std_from : tp->obs_from); in bounce_template_headers()
522 tp->origin, tp->class, *cpp); in bounce_template_expand()
[all …]
/netbsd/external/bsd/iscsi/dist/src/initiator/
H A Dvirtdir.c151 ALLOC(virt_dirent_t, tp->v, tp->size, tp->c, 10, 10, "virtdir_add", in virtdir_add()
153 tp->v[tp->c].namelen = pathlen; in virtdir_add()
157 tp->v[tp->c].d_name = strrchr(tp->v[tp->c].name, '/') + 1; in virtdir_add()
158 tp->v[tp->c].type = type; in virtdir_add()
161 tp->v[tp->c].tgtlen = tgtlen; in virtdir_add()
162 tp->v[tp->c].tgt = strnsave(tgt, tgtlen); in virtdir_add()
165 qsort(tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_add()
181 for (tp->c -= 1 ; i < tp->c ; i++) { in virtdir_del()
182 tp->v[i] = tp->v[i + 1]; in virtdir_del()
197 return bsearch(&e, tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_find()
[all …]
/netbsd/share/examples/refuse/virtdir/
H A Dvirtdir.c149 ALLOC(virt_dirent_t, tp->v, tp->size, tp->c, 10, 10, "virtdir_add", in virtdir_add()
151 tp->v[tp->c].namelen = pathlen; in virtdir_add()
155 tp->v[tp->c].d_name = strrchr(tp->v[tp->c].name, '/') + 1; in virtdir_add()
156 tp->v[tp->c].type = type; in virtdir_add()
159 tp->v[tp->c].tgtlen = tgtlen; in virtdir_add()
160 tp->v[tp->c].tgt = strnsave(tgt, tgtlen); in virtdir_add()
163 qsort(tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_add()
179 for (tp->c -= 1 ; i < tp->c ; i++) { in virtdir_del()
180 tp->v[i] = tp->v[i + 1]; in virtdir_del()
195 return bsearch(&e, tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_find()
[all …]
/netbsd/external/bsd/tcpdump/dist/
H A Daddrtoname.c360 tp = tp->e_nxt; in lookup_emem()
368 return tp; in lookup_emem()
403 tp = tp->bs_nxt; in lookup_bytestring()
451 tp = tp->e_nxt; in lookup_nsap()
482 if (tp->p_oui == i && tp->p_proto == j) in lookup_protoid()
485 tp = tp->p_nxt; in lookup_protoid()
614 for (tp = &eprototable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in etherproto_string()
702 for (tp = &tporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in tcpport_string()
723 for (tp = &uporttable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in udpport_string()
745 for (tp = &ipxsaptable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ipxsap_string()
[all …]
H A Dprint-dhcp6.c380 dhcp6opt_print(ndo, tp + 24, tp + optlen); in dhcp6opt_print()
437 tp++; in dhcp6opt_print()
447 tp++; in dhcp6opt_print()
456 tp++; in dhcp6opt_print()
478 tp += 4; in dhcp6opt_print()
594 dhcp6opt_print(ndo, tp + 12, tp + optlen); in dhcp6opt_print()
607 dhcp6opt_print(ndo, tp + 4, tp + optlen); in dhcp6opt_print()
623 dhcp6opt_print(ndo, tp + 25, tp + optlen); in dhcp6opt_print()
670 dhcp6opt_print(ndo, tp + 17, tp + optlen); in dhcp6opt_print()
678 dhcp6opt_print(ndo, tp, tp + optlen); in dhcp6opt_print()
[all …]
/netbsd/external/lgpl3/gmp/dist/mpq/
H A Dset_d.c86 if ((tp[0] | tp[1] | tp[2]) == 0) in mpq_set_d()
91 np[2] = tp[3], np[1] = tp[2], np[0] = tp[1], nn = 3; in mpq_set_d()
93 np[3] = tp[3], np[2] = tp[2], np[1] = tp[1], np[0] = tp[0], nn = 4; in mpq_set_d()
97 if ((tp[0] | tp[1]) == 0) in mpq_set_d()
102 np[2] = tp[2], np[1] = tp[1], np[0] = tp[0], nn = 3; in mpq_set_d()
138 np[1] = tp[1], np[0] = tp[0]; in mpq_set_d()
143 np[2] = tp[2], np[1] = tp[1], np[0] = tp[0]; in mpq_set_d()
146 np[1] = tp[2], np[0] = tp[1]; in mpq_set_d()
151 np[3] = tp[3], np[2] = tp[2], np[1] = tp[1], np[0] = tp[0]; in mpq_set_d()
154 np[2] = tp[3], np[1] = tp[2], np[0] = tp[1]; in mpq_set_d()
[all …]
/netbsd/sys/dev/hpc/
H A Dbiconsdev.c133 tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED; in biconsdevattach()
183 ttychars(tp); in biconsdevopen()
189 (void)(*tp->t_param)(tp, &tp->t_termios); in biconsdevopen()
190 ttsetwater(tp); in biconsdevopen()
193 status = (*tp->t_linesw->l_open)(dev, tp); in biconsdevopen()
203 (*tp->t_linesw->l_close)(tp, flag); in biconsdevclose()
204 ttyclose(tp); in biconsdevclose()
215 return ((*tp->t_linesw->l_read)(tp, uio, flag)); in biconsdevread()
224 return ((*tp->t_linesw->l_write)(tp, uio, flag)); in biconsdevwrite()
233 return ((*tp->t_linesw->l_poll)(tp, events, l)); in biconsdevpoll()
[all …]
/netbsd/external/bsd/nvi/dist/ex/
H A Dex_txt.c153 BINC_GOTOW(sp, tp->lb, tp->lb_len, tp->len + 1); in ex_txt()
176 tp->len != 0 && tp->lb[tp->len - 1] == '\\') in ex_txt()
186 tp->lb[tp->len] = '\0'; in ex_txt()
223 OOBLNO, tp, tp->len, ntp)) in ex_txt()
293 if (tp->len > tp->ai + 1) in ex_txt()
307 if (tp->len > tp->ai + 1) in ex_txt()
312 tp->ai = tp->len = 0; in ex_txt()
315 if (tp->len > tp->ai) in ex_txt()
341 tp->lb[tp->len++] = ev.e_c; in ex_txt()
434 tp->lb[tp->len++] = '\t'; in txt_dent()
[all …]
/netbsd/sbin/mount_qemufwcfg/
H A Dvirtdir.c135 if (tp->c == tp->size || tp->size == 0) { in virtdir_add()
137 tp->v = erealloc(tp->v, tp->size * sizeof(*tp->v)); in virtdir_add()
139 tp->v[tp->c].namelen = pathlen; in virtdir_add()
141 tp->v[tp->c].d_name = strrchr(tp->v[tp->c].name, '/') + 1; in virtdir_add()
142 tp->v[tp->c].type = type; in virtdir_add()
144 tp->v[tp->c].tgtlen = tgtlen; in virtdir_add()
146 tp->v[tp->c].tgt = estrndup(tgt, tgtlen); in virtdir_add()
148 tp->v[tp->c].select = select; in virtdir_add()
150 qsort(tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_add()
165 return bsearch(&e, tp->v, tp->c, sizeof(tp->v[0]), compare); in virtdir_find()
[all …]
/netbsd/sys/dev/arcbios/
H A Darcbios_tty.c115 ttychars(tp); in arcbios_ttyopen()
120 tp->t_ispeed = tp->t_ospeed = 9600; in arcbios_ttyopen()
128 error = (*tp->t_linesw->l_open)(dev, tp); in arcbios_ttyopen()
142 (*tp->t_linesw->l_close)(tp, flag); in arcbios_ttyclose()
143 ttyclose(tp); in arcbios_ttyclose()
152 return ((*tp->t_linesw->l_read)(tp, uio, flag)); in arcbios_ttyread()
160 return ((*tp->t_linesw->l_write)(tp, uio, flag)); in arcbios_ttywrite()
168 return ((*tp->t_linesw->l_poll)(tp, events, l)); in arcbios_ttypoll()
178 error = (*tp->t_linesw->l_ioctl)(tp, cmd, data, flag, l); in arcbios_ttyioctl()
200 ttypull(tp); in arcbios_tty_start()
[all …]
/netbsd/external/bsd/mdocml/dist/
H A Dtbl_term.c188 tp->tbl.arg = tp; in term_tbl()
284 tp->lasttcol = tp->tcol - tp->tcols; in term_tbl()
288 tp->tcol = tp->tcols; in term_tbl()
316 tp->tcol = tp->tcols; in term_tbl()
336 (*tp->advance)(tp, tp->tcols->offset); in term_tbl()
462 (*tp->advance)(tp, tp->tcol->rmargin in term_tbl()
471 if (tp->tcol + 1 == tp->tcols + tp->lasttcol) in term_tbl()
545 (*tp->endline)(tp); in term_tbl()
612 (*tp->advance)(tp, tp->tcols->offset); in tbl_hrule()
708 (*tp->endline)(tp); in tbl_hrule()
[all …]
/netbsd/external/bsd/nsd/dist/
H A Dxfrd-tcp.c90 if(!SSL_set_fd(tp->ssl, tp->tcp_w->fd)) { in setup_ssl()
120 tp->handshake_want = SSL_get_error(tp->ssl, ret); in ssl_handshake()
268 tp->key.node.key = tp; in xfrd_tcp_pipeline_init()
269 tp->key.num_unused = tp->pipe_num; in xfrd_tcp_pipeline_init()
288 tp->key.num_unused = tp->pipe_num; in xfrd_tcp_pipeline_create()
298 sizeof(tp->unused[0])*tp->pipe_num); in xfrd_tcp_pipeline_create()
580 assert(tp->key.num_unused < tp->pipe_num && tp->key.num_unused >= 0); in tcp_pipe_id_remove()
627 memset(&tp->handler, 0, sizeof(tp->handler)); in tcp_pipe_reset_timeout()
655 xfrd_tcp_write(tp, tp->tcp_send_first); in xfrd_handle_tcp_pipe()
681 tp->unused[idx] = tp->unused[tp->key.num_unused-1]; in pipeline_setup_new_zone()
[all …]
/netbsd/sys/arch/alpha/alpha/
H A Dpromcons.c136 tp->t_ispeed = tp->t_ospeed = CONSPEED; in promopen()
144 error = (*tp->t_linesw->l_open)(dev, tp); in promopen()
161 (*tp->t_linesw->l_close)(tp, flag); in promclose()
162 ttyclose(tp); in promclose()
171 return ((*tp->t_linesw->l_read)(tp, uio, flag)); in promread()
179 return ((*tp->t_linesw->l_write)(tp, uio, flag)); in promwrite()
187 return ((*tp->t_linesw->l_poll)(tp, events, l)); in prompoll()
197 error = (*tp->t_linesw->l_ioctl)(tp, cmd, data, flag, l); in promioctl()
218 ttypull(tp); in promstart()
221 promcnputc(tp->t_dev, getc(&tp->t_outq)); in promstart()
[all …]
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dthread.c234 delete tp; in init_thread_list() local
266 return tp; in new_thread()
351 tp->step_over_prev = tp->step_over_next = tp; in step_over_chain_enqueue()
375 if (tp == tp->step_over_next) in step_over_chain_remove()
383 tp->step_over_prev = tp->step_over_next = NULL; in step_over_chain_remove()
432 for (tp = thr->inf->thread_list; tp; tpprev = tp, tp = tp->next) in delete_thread_1()
436 if (!tp) in delete_thread_1()
450 tp->inf->thread_list = tp->next; in delete_thread_1()
894 if (set_running_thread (tp, tp->executing)) in finish_thread_state()
1000 const char *name = tp->name != nullptr ? tp->name : target_thread_name (tp); in thread_target_id_str()
[all …]
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dthread.c234 delete tp; in init_thread_list() local
266 return tp; in new_thread()
351 tp->step_over_prev = tp->step_over_next = tp; in step_over_chain_enqueue()
375 if (tp == tp->step_over_next) in step_over_chain_remove()
383 tp->step_over_prev = tp->step_over_next = NULL; in step_over_chain_remove()
432 for (tp = thr->inf->thread_list; tp; tpprev = tp, tp = tp->next) in delete_thread_1()
436 if (!tp) in delete_thread_1()
450 tp->inf->thread_list = tp->next; in delete_thread_1()
894 if (set_running_thread (tp, tp->executing)) in finish_thread_state()
1000 const char *name = tp->name != nullptr ? tp->name : target_thread_name (tp); in thread_target_id_str()
[all …]
/netbsd/bin/ksh/
H A Dtable.c34 struct table *tp; in tinit()
38 tp->areap = ap;
39 tp->tbls = NULL;
40 tp->size = tp->nfree = 0;
46 texpand(tp, nsize) in texpand() argument
72 tp->nfree--;
125 texpand(tp, 2*tp->size);
141 tp->nfree--;
182 tsort(tp) in tsort() argument
206 tprintinfo(tp) in tprintinfo() argument
[all …]
/netbsd/sys/arch/sun3/dev/
H A Dkd.c121 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp); in kd_init()
181 tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED; in kdopen()
182 (void) kdparam(tp, &tp->t_termios); in kdopen()
191 return ((*tp->t_linesw->l_open)(dev, tp)); in kdopen()
208 (*tp->t_linesw->l_close)(tp, flag); in kdclose()
209 ttyclose(tp); in kdclose()
224 return ((*tp->t_linesw->l_read)(tp, uio, flag)); in kdread()
236 return ((*tp->t_linesw->l_write)(tp, uio, flag)); in kdwrite()
248 return ((*tp->t_linesw->l_poll)(tp, events, l)); in kdpoll()
343 (*tp->t_linesw->l_start)(tp); in kd_later()
[all …]

12345678910>>...82