/freebsd-11-stable/sys/libkern/ |
H A D | inet_pton.c | 83 u_char tmp[NS_INADDRSZ], *tp; local 87 *(tp = tmp) = 0; 92 u_int new = *tp * 10 + (pch - digits); 94 if (saw_digit && *tp == 0) 98 *tp = new; 107 *++tp = 0; 138 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 143 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 144 endp = tp + NS_IN6ADDRSZ; 170 colonp = tp; [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/ |
H A D | inet_pton.c | 86 unsigned char tmp[NS_INADDRSZ], *tp; local 90 *(tp = tmp) = 0; 95 size_t newv = *tp * 10 + (pch - digits); 97 if (saw_digit && *tp == 0) 101 *tp = (unsigned char)newv; 110 *++tp = 0; 138 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 143 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 144 endp = tp + NS_IN6ADDRSZ; 170 colonp = tp; [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_usrreq.c | 125 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0 126 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \ 127 tcp_trace(TA_USER, ostate, tp, 0, 0, req) 142 struct tcpcb *tp = NULL; local 158 tp = intotcpcb(inp); 161 TCP_PROBE2(debug__user, tp, PRU_ATTACH); 177 struct tcpcb *tp; local 185 tp = intotcpcb(inp); 217 if (__predict_true(tp 298 struct tcpcb *tp = NULL; local 340 struct tcpcb *tp = NULL; local 407 struct tcpcb *tp = NULL; local 453 struct tcpcb *tp = NULL; local 515 struct tcpcb *tp = NULL; local 568 struct tcpcb *tp = NULL; local 689 struct tcpcb *tp = NULL; local 724 struct tcpcb *tp = NULL; local 766 struct tcpcb *tp = NULL; local 824 struct tcpcb *tp = NULL; local 858 struct tcpcb *tp = NULL; local 910 struct tcpcb *tp = NULL; local 1057 struct tcpcb *tp; local 1087 struct tcpcb *tp = NULL; local 1129 struct tcpcb *tp = NULL; local 1170 struct tcpcb *tp = NULL; local 1263 tcp_connect(struct tcpcb *tp, struct sockaddr *nam, struct thread *td) argument 1326 tcp6_connect(struct tcpcb *tp, struct sockaddr *nam, struct thread *td) argument 1373 tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti) argument 1439 struct tcpcb *tp; local 1574 tcp_default_ctloutput(struct socket *so, struct sockopt *sopt, struct inpcb *inp, struct tcpcb *tp) argument 1948 struct tcpcb *tp; local 1999 tcp_disconnect(struct tcpcb *tp) argument 2039 tcp_usrclosed(struct tcpcb *tp) argument 2278 db_print_tcpcb(struct tcpcb *tp, const char *name, int indent) argument 2392 struct tcpcb *tp; local [all...] |
H A D | tcp_input.c | 282 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) argument 287 hhook_data.tp = tp; 292 tp->osd); 300 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) argument 302 INP_WLOCK_ASSERT(tp->t_inpcb); 304 tp->ccv->bytes_this_ack = BYTES_THIS_ACK(tp, th); 305 if (tp->snd_cwnd <= tp 332 cc_conn_init(struct tcpcb *tp) argument 405 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) argument 466 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) argument 496 cc_ecnpkt_handler(struct tcpcb *tp, struct tcphdr *th, uint8_t iptos) argument 579 struct tcpcb *tp = NULL; local 1526 tcp_autorcvbuf(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int tlen) argument 1552 tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, int ti_locked) argument 3324 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument 3505 struct tcpcb *tp = sototcpcb(so); local 3530 tcp_xmit_timer(struct tcpcb *tp, int rtt) argument 3628 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument 3775 tcp_mss(struct tcpcb *tp, int offer) argument 3898 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th) argument 3931 tcp_compute_pipe(struct tcpcb *tp) argument [all...] |
/freebsd-11-stable/lib/libc/riscv/gen/ |
H A D | _set_tp.c | 46 _set_tp(void *tp) argument 49 __asm __volatile("mv tp, %0" :: "r"((char*)tp + 0x10));
|
/freebsd-11-stable/lib/libc/aarch64/gen/ |
H A D | _set_tp.c | 39 _set_tp(void *tp) argument 42 asm volatile("msr tpidr_el0, %0" : : "r"(tp));
|
/freebsd-11-stable/bin/stty/ |
H A D | gfmt.c | 59 gprint(struct termios *tp, struct winsize *wp __unused, int ldisc __unused) argument 64 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag, 65 (u_long)tp->c_oflag); 67 (void)printf("%s=%x:", cp->name, tp->c_cc[cp->sub]); 69 (u_long)cfgetispeed(tp), (u_long)cfgetospeed(tp)); 73 gread(struct termios *tp, char *s) argument 92 tp [all...] |
/freebsd-11-stable/libexec/tftpd/ |
H A D | tftp-transfer.h | 29 void tftp_send(int peer, uint16_t *block, struct tftp_stats *tp); 30 void tftp_receive(int peer, uint16_t *block, struct tftp_stats *tp,
|
/freebsd-11-stable/lib/libc/string/ |
H A D | memccpy.c | 43 unsigned char *tp = t; local 47 if ((*tp++ = *fp++) == uc) 48 return (tp);
|
/freebsd-11-stable/lib/libstdthreads/ |
H A D | thrd.c | 46 struct thrd_param tp; local 48 tp = *(struct thrd_param *)arg; 50 return ((void *)(intptr_t)tp.func(tp.arg)); 56 struct thrd_param *tp; local 62 tp = malloc(sizeof(*tp)); 63 if (tp == NULL) 65 tp->func = func; 66 tp [all...] |
/freebsd-11-stable/contrib/ldns/compat/ |
H A D | inet_pton.c | 100 uint8_t tmp[NS_INADDRSZ], *tp; local 104 *(tp = tmp) = 0; 109 uint32_t new = *tp * 10 + (pch - digits); 113 *tp = new; 122 *++tp = 0; 154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 159 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 160 endp = tp + NS_IN6ADDRSZ; 187 colonp = tp; 190 if (tp [all...] |
/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | inet_pton.c | 110 unsigned char tmp[INADDRSZ], *tp; local 114 *(tp = tmp) = 0; 119 unsigned int new = *tp * 10 + (unsigned int)(pch - digits); 123 *tp = new; 132 *++tp = 0; 163 unsigned char tmp[IN6ADDRSZ], *tp, *endp, *colonp; local 168 memset((tp = tmp), '\0', IN6ADDRSZ); 169 endp = tp + IN6ADDRSZ; 196 colonp = tp; 199 if (tp [all...] |
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | inet_pton.c | 100 uint8_t tmp[NS_INADDRSZ], *tp; local 104 *(tp = tmp) = 0; 109 uint32_t new = *tp * 10 + (pch - digits); 113 *tp = new; 122 *++tp = 0; 154 uint8_t tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 159 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 160 endp = tp + NS_IN6ADDRSZ; 187 colonp = tp; 190 if (tp [all...] |
/freebsd-11-stable/contrib/atf/atf-c/ |
H A D | tp.c | 26 #include "atf-c/tp.h" 50 find_tc(const atf_tp_t *tp, const char *ident) argument 56 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) { 76 atf_tp_init(atf_tp_t *tp, const char *const *config) argument 82 tp->pimpl = malloc(sizeof(struct atf_tp_impl)); 83 if (tp->pimpl == NULL) 86 err = atf_list_init(&tp->pimpl->m_tcs); 90 err = atf_map_init_charpp(&tp->pimpl->m_config, config); 92 atf_list_fini(&tp->pimpl->m_tcs); 102 atf_tp_fini(atf_tp_t *tp) argument 122 atf_tp_get_config(const atf_tp_t *tp) argument 128 atf_tp_has_tc(const atf_tp_t *tp, const char *id) argument 135 atf_tp_get_tc(const atf_tp_t *tp, const char *id) argument 143 atf_tp_get_tcs(const atf_tp_t *tp) argument 176 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) argument 194 atf_tp_run(const atf_tp_t *tp, const char *tcname, const char *resfile) argument 205 atf_tp_cleanup(const atf_tp_t *tp, const char *tcname) argument [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | addrtoname.c | 364 struct enamemem *tp; local 370 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; 371 while (tp->e_nxt) 372 if (tp->e_addr0 == i && 373 tp->e_addr1 == j && 374 tp->e_addr2 == k) 375 return tp; 377 tp = tp->e_nxt; 378 tp 397 struct bsnamemem *tp; local 446 struct enamemem *tp; local 490 struct protoidmem *tp; local 517 register struct enamemem *tp; local 564 register struct bsnamemem *tp; local 594 register struct bsnamemem *tp; local 627 register struct hnamemem *tp; local 656 register struct protoidmem *tp; local 687 register struct enamemem *tp; local 715 register struct hnamemem *tp; local 736 register struct hnamemem *tp; local 758 register struct hnamemem *tp; local 880 register struct protoidmem *tp; local 934 register struct enamemem *tp; local 1241 register struct hnamemem *tp; local [all...] |
H A D | print-dhcp6.c | 284 const u_char *tp; local 316 tp = (const u_char *)(dh6o + 1); 317 switch (EXTRACT_16BITS(tp)) { 321 EXTRACT_16BITS(&tp[2]), 322 EXTRACT_32BITS(&tp[4]))); 324 ND_PRINT((ndo, "%02x", tp[i])); 336 ND_PRINT((ndo, "%02x", tp[i])); 347 EXTRACT_16BITS(&tp[2]))); 349 ND_PRINT((ndo, "%02x", tp[i])); 358 ND_PRINT((ndo, " type %d)", EXTRACT_16BITS(tp))); [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/trace/ |
H A D | visbuf.c | 59 #define VisChar(tp, chr, limit) _nc_vischar(tp, chr, limit) 62 #define VisChar(tp, chr, limit) _nc_vischar(tp, chr) 67 _nc_vischar(char *tp, unsigned c LIMIT_ARG) argument 70 *tp++ = '\\'; 71 *tp++ = (char) c; 73 *tp++ = (char) c; 75 *tp++ = '\\'; 76 *tp 107 char *tp; local 187 char *tp; local [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | tty.h | 164 void tty_rel_pgrp(struct tty *tp, struct pgrp *pgrp); 165 void tty_rel_sess(struct tty *tp, struct session *sess); 166 void tty_rel_gone(struct tty *tp); 168 #define tty_lock(tp) mtx_lock((tp)->t_mtx) 169 #define tty_unlock(tp) mtx_unlock((tp)->t_mtx) 170 #define tty_lock_owned(tp) mtx_owned((tp)->t_mtx) 171 #define tty_lock_assert(tp,m [all...] |
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | alloc_ttype.c | 154 _nc_first_ext_name(TERMTYPE *tp, int token_type) argument 163 first = tp->ext_Booleans; 166 first = (unsigned) (tp->ext_Booleans + tp->ext_Numbers); 179 _nc_last_ext_name(TERMTYPE *tp, int token_type) argument 185 last = tp->ext_Booleans; 188 last = (unsigned) (tp->ext_Booleans + tp->ext_Numbers); 192 last = NUM_EXT_NAMES(tp); 202 _nc_find_ext_name(TERMTYPE *tp, cha argument 221 _nc_ext_data_index(TERMTYPE *tp, int n, int token_type) argument 244 _nc_del_ext_name(TERMTYPE *tp, char *name, int token_type) argument 288 _nc_ins_ext_name(TERMTYPE *tp, char *name, int token_type) argument [all...] |
/freebsd-11-stable/usr.sbin/ppp/ |
H A D | timer.c | 67 timer_Stop(struct pppTimer *tp) argument 74 StopTimerNoBlock(tp); 79 timer_Start(struct pppTimer *tp) argument 90 if (tp->state != TIMER_STOPPED) 91 StopTimerNoBlock(tp); 93 if (tp->load == 0) { 94 log_Printf(LogTIMER, "%s timer[%p] has 0 load!\n", tp->name, tp); 100 * We just need to insert tp in the correct relative place. We don't 108 if (ticks + t->rest >= tp 138 StopTimerNoBlock(struct pppTimer *tp) argument 194 struct pppTimer *tp, *exp, *next; local [all...] |
/freebsd-11-stable/sys/net/ |
H A D | if_tun.c | 270 tun_destroy(struct tun_softc *tp) argument 274 mtx_lock(&tp->tun_mtx); 275 tp->tun_flags |= TUN_DYING; 276 if ((tp->tun_flags & TUN_OPEN) != 0) 277 cv_wait_unlock(&tp->tun_cv, &tp->tun_mtx); 279 mtx_unlock(&tp->tun_mtx); 281 CURVNET_SET(TUN2IFP(tp)->if_vnet); 283 dev = tp->tun_dev; 284 bpfdetach(TUN2IFP(tp)); 306 struct tun_softc *tp = ifp->if_softc; local 336 struct tun_softc *tp; local 389 struct tun_softc *tp = ifp->if_softc; local 462 struct tun_softc *tp; local 498 struct tun_softc *tp; local 569 struct tun_softc *tp = ifp->if_softc; local 608 struct tun_softc *tp; local 656 struct tun_softc *tp = ifp->if_softc; local 746 struct tun_softc *tp = dev->si_drv1; local 885 struct tun_softc *tp = dev->si_drv1; local 938 struct tun_softc *tp = dev->si_drv1; local 1020 struct tun_softc *tp = dev->si_drv1; local 1051 struct tun_softc *tp = dev->si_drv1; local 1086 struct tun_softc *tp = kn->kn_hook; local 1111 struct tun_softc *tp = kn->kn_hook; local 1122 struct tun_softc *tp = kn->kn_hook; local [all...] |
/freebsd-11-stable/usr.sbin/dumpcis/ |
H A D | readcis.c | 126 struct tuple *tp; local 130 while ((tp = tl->tuples) != 0) { 131 tl->tuples = tp->next; 132 free(tp->data); 133 free(tp); 197 struct tuple *tp; local 207 tp = find_tuple_in_list(last_tl, CIS_LONGLINK_A); 208 if (tp == 0) { 210 tp = find_tuple_in_list(last_tl, CIS_LONGLINK_C); 212 if (tp 251 struct tuple *tp, *last_tp = 0; local 348 struct tuple *tp; local 362 struct tuple_info *tp; local 373 struct tuple_info *tp; local [all...] |
/freebsd-11-stable/contrib/nvi/common/ |
H A D | put.c | 45 TEXT *ltp, *tp; local 69 tp = TAILQ_FIRST(cbp->textq); 90 for (; tp != NULL; 91 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, q)) 92 if (db_append(sp, 1, lno, tp->lb, tp->len)) 104 for (; tp != NULL; 105 ++lno, ++sp->rptlines[L_ADDED], tp = TAILQ_NEXT(tp, [all...] |
/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/ |
H A D | refcount.h | 109 #define isc_refcount_increment0(rp, tp) \ 111 unsigned int *_tmp = (unsigned int *)(tp); \ 118 #define isc_refcount_increment(rp, tp) \ 120 unsigned int *_tmp = (unsigned int *)(tp); \ 128 #define isc_refcount_decrement(rp, tp) \ 130 unsigned int *_tmp = (unsigned int *)(tp); \ 155 #define isc_refcount_increment0(rp, tp) \ 157 unsigned int *_tmp = (unsigned int *)(tp); \ 165 #define isc_refcount_increment(rp, tp) \ 167 unsigned int *_tmp = (unsigned int *)(tp); \ [all...] |
/freebsd-11-stable/sys/dev/snp/ |
H A D | snp.c | 117 struct tty *tp; local 119 tp = ss->snp_tty; 120 if (tp != NULL) { 121 tty_lock(tp); 123 ttyhook_unregister(tp); 153 struct tty *tp; local 162 tp = ss->snp_tty; 163 if (tp == NULL || tty_gone(tp)) 166 tty_lock(tp); 194 struct tty *tp; local 240 struct tty *tp; local 297 struct tty *tp; local 345 snp_getc_capture(struct tty *tp, const void *buf, size_t len) argument [all...] |