Home
last modified time | relevance | path

Searched refs:tp (Results 76 – 100 of 1350) sorted by relevance

12345678910>>...54

/freebsd/contrib/tcpdump/
H A Dprint-atalk.c482 tp = nbp_tuple_print(ndo, tp, ep, snet, snode, skt); in nbp_print()
548 ataddr_string(ndo, GET_BE_U_2(tp->net), GET_U_1(tp->node))); in nbp_tuple_print()
631 tp->nxt; tp = tp->nxt) in ataddr_string()
633 tp->addr = i2; in ataddr_string()
649 for (tp = &hnametable[i & (HASHNAMESIZE-1)]; tp->nxt; tp = tp->nxt) in ataddr_string()
650 if (tp->addr == i) in ataddr_string()
651 return (tp->name); in ataddr_string()
662 if (tp->name == NULL) in ataddr_string()
665 return (tp->name); in ataddr_string()
675 if (tp->name == NULL) in ataddr_string()
[all …]
H A Dstrtoaddr.c163 endp = tp + NS_IN6ADDRSZ; in strtoaddr6()
189 colonp = tp; in strtoaddr6()
193 if (tp + NS_INT16SZ > endp) in strtoaddr6()
196 *tp++ = (u_char) val & 0xff; in strtoaddr6()
202 strtoaddr(curtok, tp) > 0) { in strtoaddr6()
203 tp += NS_INADDRSZ; in strtoaddr6()
210 if (tp + NS_INT16SZ > endp) in strtoaddr6()
213 *tp++ = (u_char) val & 0xff; in strtoaddr6()
223 if (tp == endp) in strtoaddr6()
229 tp = endp; in strtoaddr6()
[all …]
/freebsd/bin/stty/
H A Dgfmt.c57 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag, in gprint()
58 (u_long)tp->c_oflag); in gprint()
62 (u_long)cfgetispeed(tp), (u_long)cfgetospeed(tp)); in gprint()
66 gread(struct termios *tp, char *s) in gread() argument
85 tp->c_cflag = tmp; in gread()
89 tp->c_iflag = tmp; in gread()
94 tp->c_ispeed = tmp; in gread()
98 tp->c_lflag = tmp; in gread()
102 tp->c_oflag = tmp; in gread()
107 tp->c_ospeed = tmp; in gread()
[all …]
/freebsd/sys/dev/xen/console/
H A Dxen_console.c236 cons = tty_softc(tp); in xencons_init_hypervisor()
539 struct tty *tp; in xencons_intr() local
543 tp = arg; in xencons_intr()
560 tty_lock(tp); in xencons_intr()
568 tty_unlock(tp); in xencons_intr()
581 struct tty *tp; in xencons_shutdown() local
583 tp = arg; in xencons_shutdown()
670 struct tty *tp; in xencons_timeout() local
673 tp = v; in xencons_timeout()
725 struct tty *tp; in xencons_attach() local
[all …]
/freebsd/contrib/ntp/util/
H A Dprecision.c65 struct timeval tp; in default_get_resolution() local
73 gettimeofday(&tp, &tzp); in default_get_resolution()
74 last = tp.tv_usec; in default_get_resolution()
76 gettimeofday(&tp, &tzp); in default_get_resolution()
80 last = tp.tv_usec; in default_get_resolution()
120 struct timeval tp; in default_get_precision() local
135 tp.tv_sec = ts.tv_sec; in default_get_precision()
138 GETTIMEOFDAY(&tp, &tzp); in default_get_precision()
140 last = tp.tv_usec; in default_get_precision()
144 tp.tv_sec = ts.tv_sec; in default_get_precision()
[all …]
/freebsd/contrib/nvi/ex/
H A Dex_tag.c141 TAG *tp; in ex_tag_next() local
181 TAG *tp; in ex_tag_prev() local
221 if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) in ex_tag_nswitch()
257 if (tp->frp == NULL && (tp->frp = file_add(sp, tp->fname)) == NULL) in ex_tag_Nswitch()
427 tp->frp->lno = tp->lno; in tag_pop()
428 tp->frp->cno = tp->cno; in tag_pop()
505 p = tp->frp == NULL ? tp->fname : tp->frp->name; in ex_tag_display()
647 tp->fname = (char *)tp->buf; in tag_copy()
651 tp->msg = tp->buf + (otp->msg - otp->buf); in tag_copy()
1124 tp->fname = (char *)tp->buf; in ctag_sfile()
[all …]
/freebsd/sys/netinet/
H A Dtoecore.c216 struct tcpcb *tp; in toe_listen_start() local
225 tp = intotcpcb(inp); in toe_listen_start()
226 if (tp->t_state != TCPS_LISTEN) in toe_listen_start()
388 struct tcpcb *tp; in toe_4tuple_check() local
401 tp = intotcpcb(inp); in toe_4tuple_check()
521 KASSERT(tp->t_flags & TF_TOE, in toe_connect_failed()
532 tod->tod_pcb_detach(tod, tp); in toe_connect_failed()
535 tcp_timer_activate(tp, TT_KEEP, TP_KEEPINIT(tp)); in toe_connect_failed()
536 if (tcp_output(tp) < 0) in toe_connect_failed()
539 tp = tcp_drop(tp, err); in toe_connect_failed()
[all …]
H A Dtcp_hpts.c587 tcp_hpts_release(tp); in tcp_hpts_remove()
597 MPASS(tmp != tp); in tcp_hpts_remove()
600 tp->t_hpts_slot = -1; in tcp_hpts_remove()
611 tp->t_hpts_slot = -1; in tcp_hpts_remove()
915 check_if_slot_would_be_wrong(hpts, tp, tp->t_hpts_slot, line); in tcp_hpts_insert_diag()
1080 struct tcpcb *tp; in tcp_hptsi() local
1165 tp->t_hpts_gencnt = in tcp_hptsi()
1348 tcp_set_hpts(tp); in tcp_hptsi()
1376 error = (*tp->t_fb->tfb_do_queued_segments)(tp, 0); in tcp_hptsi()
1497 if (tp->t_in_hpts == IHPTS_NONE && !(tp->t_flags2 & TF2_HPTS_CPU_SET)) { in __tcp_set_hpts()
[all …]
H A Dtcp_var.h135 #define SEGQ_EMPTY(tp) TAILQ_EMPTY(&(tp)->t_segq) argument
650 #define tptoinpcb(tp) (&(tp)->t_inpcb) argument
667 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output()
671 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output()
672 tp = tcp_drop(tp, -rv); in tcp_output()
693 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output_unlock()
697 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output_unlock()
699 tp = tcp_drop(tp, rv); in tcp_output_unlock()
725 rv = tp->t_fb->tfb_tcp_output(tp); in tcp_output_nodrop()
728 tp->t_fb->tfb_tcp_block_name, tp)); in tcp_output_nodrop()
[all …]
H A Dtcp_lro_hpts.c146 return ((tp->t_fb->tfb_early_wake_check)(tp)); in tcp_lro_check_wake_status()
156 if (tcp_bblogging_on(tp)) { in tcp_lro_log()
194 TCP_LOG_EVENTP(tp, NULL, &tptosocket(tp)->so_rcv, in tcp_lro_log()
195 &tptosocket(tp)->so_snd, in tcp_lro_log()
359 TCP_PROBE5(receive, NULL, tp, m, tp, th); in do_bpf_strip_and_compress()
507 struct tcpcb *tp; in _tcp_lro_flush_tcphpts() local
557 if (tp == NULL) in _tcp_lro_flush_tcphpts()
631 tcp_lro_log(tp, lc, le, NULL, 22, 1, tp->t_flags2, 0, 1); in _tcp_lro_flush_tcphpts()
632 tcp_queue_pkts(tp, le); in _tcp_lro_flush_tcphpts()
637 if ((*tp->t_fb->tfb_do_queued_segments)(tp, 0)) in _tcp_lro_flush_tcphpts()
[all …]
/freebsd/contrib/nvi/common/
H A Dcut.c222 TEXT *tp; in cut_line() local
286 TEXT *tp; in text_init() local
289 if (tp == NULL) in text_init()
293 MALLOC(sp, tp->lb, tp->lb_len); in text_init()
295 free(tp); in text_init()
301 tp->len = len; in text_init()
302 return (tp); in text_init()
314 TEXT *tp; in text_lfree() local
318 text_free(tp); in text_lfree()
331 free(tp->lb); in text_free()
[all …]
/freebsd/crypto/openssl/crypto/bn/asm/
H A Dppc-mont.pl121 my $tp="r22";
217 addi $tp,$tp,$BNSZ ; tp++
279 addi $tp,$tp,$BNSZ ; tp++
866 addi $tp,$tp,$SIZE_T*4
1037 addi $tp,$sp,$SIZE_T*11 # &tp[-1]
1066 $PUSH $tp,$SIZE_T*9($sp) # &tp[2*num-1]
1068 addi $tp,$sp,$SIZE_T*11 # &tp[-1]
1397 mr $tp,$t1
1425 addi $tp,$sp,$SIZE_T*11 # &tp[-1]
1560 addi $tp,$sp,$SIZE_T*11 # &tp[-1]
[all …]
H A Darmv8-mont.pl111 and $tp,$tp,#-16 // ABI says so
713 add $tp,$tp,#8*16
726 mov $tp,sp
1044 mov $tp,sp
1081 add $tp,$tp,#8*8
1127 mov $tp,sp
1302 add $tp,$tp,#8*8
1327 add $tp,$tp,#8*8
1364 add $tp,$tp,#8*4
1807 add $tp,$tp,#8*4
[all …]
H A Dparisc-mont.pl116 $tp="%r31";
340 stw $hi0,0($tp)
341 stw $hi1,4($tp)
480 stw $hi0,0($tp)
481 stw $hi1,4($tp)
503 stw $hi0,0($tp)
504 stw $hi1,4($tp)
513 addl $tp,$arrsz,$tp
542 ldd 0($tp),$ti0
672 stw $hi0,0($tp)
[all …]
H A Dsparct4-mont.pl779 add $tp, 8, $tp
784 add $tp, 8, $tp
842 add $tp, 8, $tp
862 add $tp, 16, $tp
876 add $tp, 8, $tp
902 add $tp, 8, $tp
1024 add $tp, 8, $tp
1029 add $tp, 8, $tp
1088 add $tp, 8, $tp
1122 add $tp, 8, $tp
[all …]
/freebsd/sys/dev/nmdm/
H A Dnmdm.c109 np = tty_softc(tp); in nmdm_close()
118 tty_rel_gone(tp); in nmdm_close()
121 tty_lock(tp); in nmdm_close()
127 tty_lock(tp); in nmdm_close()
160 struct tty *tp; in nmdm_clone() local
256 tp = np->np_tty; in nmdm_task_tty()
257 tty_lock(tp); in nmdm_task_tty()
258 if (tty_gone(tp)) { in nmdm_task_tty()
259 tty_unlock(tp); in nmdm_task_tty()
295 tty_unlock(tp); in nmdm_task_tty()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_tt560.c162 time_freeze_reg_t *tp; in tt560_poll() local
175 tp = &up->tt560rawt; in tt560_poll()
177 p_time_t = (unsigned int *)tp; in tt560_poll()
201 tp->hun_day, tp->tens_day, tp->unit_day, in tt560_poll()
202 tp->tens_hour, tp->unit_hour, in tt560_poll()
203 tp->tens_min, tp->unit_min, in tt560_poll()
204 tp->tens_sec, tp->unit_sec, in tt560_poll()
205 tp->hun_ms, tp->tens_ms, tp->unit_ms, in tt560_poll()
206 tp->hun_us, tp->tens_us, tp->unit_us, in tt560_poll()
207 tp->status); in tt560_poll()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_lwp_create.c206 ATF_TP_ADD_TCS(tp)
208 ATF_TP_ADD_TC(tp, lwp_create_works);
211 ATF_TP_ADD_TC(tp, lwp_create_alpha_fail_pslset);
212 ATF_TP_ADD_TC(tp, lwp_create_alpha_fail_pslclr);
222 ATF_TP_ADD_TC(tp, lwp_create_hppa_fail_invalid_1);
236 ATF_TP_ADD_TC(tp, lwp_create_sparc_fail_pc_odd);
237 ATF_TP_ADD_TC(tp, lwp_create_sparc_fail_npc_odd);
238 ATF_TP_ADD_TC(tp, lwp_create_sparc_fail_pc_null);
242 ATF_TP_ADD_TC(tp, lwp_create_vax_fail_psl_0);
243 ATF_TP_ADD_TC(tp, lwp_create_vax_fail_psl_1);
[all …]
/freebsd/lib/libstdthreads/
H A Dthrd.c44 struct thrd_param tp; in thrd_entry() local
46 tp = *(struct thrd_param *)arg; in thrd_entry()
48 return ((void *)(intptr_t)tp.func(tp.arg)); in thrd_entry()
54 struct thrd_param *tp; in thrd_create() local
60 tp = malloc(sizeof(*tp)); in thrd_create()
61 if (tp == NULL) in thrd_create()
63 tp->func = func; in thrd_create()
64 tp->arg = arg; in thrd_create()
65 if (pthread_create(thr, NULL, thrd_entry, tp) != 0) { in thrd_create()
66 free(tp); in thrd_create()
/freebsd/usr.sbin/fifolog/lib/
H A Dgetdate.y690 for (tp = MonthDayTable; tp->name; tp++) { in LookupWord()
694 return tp->type; in LookupWord()
703 for (tp = TimezoneTable; tp->name; tp++) in LookupWord()
712 for (tp = UnitsTable; tp->name; tp++) in LookupWord()
722 for (tp = UnitsTable; tp->name; tp++) in LookupWord()
725 return tp->type; in LookupWord()
730 for (tp = OtherTable; tp->name; tp++) in LookupWord()
738 for (tp = MilitaryTable; tp->name; tp++) in LookupWord()
741 return tp->type; in LookupWord()
753 for (tp = TimezoneTable; tp->name; tp++) in LookupWord()
[all …]
/freebsd/lib/libc/tests/stdio/
H A Dfopen_test.c178 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
181 ATF_TP_ADD_TC(tp, fopen_r_test); in ATF_TP_ADD_TCS()
182 ATF_TP_ADD_TC(tp, fopen_r_append_test); in ATF_TP_ADD_TCS()
183 ATF_TP_ADD_TC(tp, fopen_w_test); in ATF_TP_ADD_TCS()
184 ATF_TP_ADD_TC(tp, fopen_w_append_test); in ATF_TP_ADD_TCS()
185 ATF_TP_ADD_TC(tp, fopen_a_test); in ATF_TP_ADD_TCS()
186 ATF_TP_ADD_TC(tp, fopen_a_append_test); in ATF_TP_ADD_TCS()
187 ATF_TP_ADD_TC(tp, fopen_re_test); in ATF_TP_ADD_TCS()
189 ATF_TP_ADD_TC(tp, fopen_we_test); in ATF_TP_ADD_TCS()
191 ATF_TP_ADD_TC(tp, fopen_ae_test); in ATF_TP_ADD_TCS()
[all …]
/freebsd/contrib/ncurses/ncurses/tinfo/
H A Dparse_entry.c87 offset = (unsigned) (tp->ext_Booleans + tp->ext_Numbers); in _nc_extend_names()
91 first = (unsigned) (tp->ext_Booleans + tp->ext_Numbers); in _nc_extend_names()
93 offset = (unsigned) (tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings); in _nc_extend_names()
100 if (n > (unsigned) (tp->ext_Booleans + tp->ext_Numbers)) { in _nc_extend_names()
149 TYPE_REALLOC(NCURSES_SBOOL, tp->num_Booleans, tp->Booleans); in _nc_extend_names()
151 tp->Booleans[last] = tp->Booleans[last - 1]; in _nc_extend_names()
156 TYPE_REALLOC(NCURSES_INT2, tp->num_Numbers, tp->Numbers); in _nc_extend_names()
158 tp->Numbers[last] = tp->Numbers[last - 1]; in _nc_extend_names()
163 TYPE_REALLOC(char *, tp->num_Strings, tp->Strings); in _nc_extend_names()
165 tp->Strings[last] = tp->Strings[last - 1]; in _nc_extend_names()
[all …]
/freebsd/sys/netinet/tcp_stacks/
H A Drack_bbr_common.h88 int ctf_do_queued_segments(struct tcpcb *tp, int have_pkt);
89 uint32_t ctf_outstanding(struct tcpcb *tp);
93 struct tcpcb *tp, int32_t *tlenp,
100 __ctf_do_dropafterack(struct mbuf *m, struct tcpcb *tp,
107 ctf_do_dropwithreset(struct mbuf *m, struct tcpcb *tp,
110 ctf_do_drop(struct mbuf *m, struct tcpcb *tp);
119 struct tcpcb *tp, uint8_t iptos, int32_t * ret_val);
126 ctf_ts_check_ac(struct tcpcb *tp, int32_t thflags);
129 ctf_calc_rwin(struct socket *so, struct tcpcb *tp);
136 ctf_fixed_maxseg(struct tcpcb *tp);
[all …]
/freebsd/tests/sys/audit/
H A Dopen.c176 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
178 OPEN_AT_TC_ADD(tp, read); in ATF_TP_ADD_TCS()
179 OPEN_AT_TC_ADD(tp, read_creat); in ATF_TP_ADD_TCS()
180 OPEN_AT_TC_ADD(tp, read_trunc); in ATF_TP_ADD_TCS()
181 OPEN_AT_TC_ADD(tp, read_creat_trunc); in ATF_TP_ADD_TCS()
183 OPEN_AT_TC_ADD(tp, write); in ATF_TP_ADD_TCS()
184 OPEN_AT_TC_ADD(tp, write_creat); in ATF_TP_ADD_TCS()
185 OPEN_AT_TC_ADD(tp, write_trunc); in ATF_TP_ADD_TCS()
188 OPEN_AT_TC_ADD(tp, read_write); in ATF_TP_ADD_TCS()
189 OPEN_AT_TC_ADD(tp, read_write_creat); in ATF_TP_ADD_TCS()
[all …]
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c187 const void *tp; in ctf_member_iter() local
228 const void *tp; in ctf_enum_iter() local
291 const void *tp; in ctf_type_resolve() local
484 const void *tp; in ctf_type_size() local
536 const void *tp; in ctf_type_align() local
597 const void *tp; in ctf_type_kind() local
616 const void *tp; in ctf_type_reference() local
675 const void *tp; in ctf_type_encoding() local
796 const void *tp; in _ctf_member_info() local
892 const void *tp; in ctf_enum_name() local
[all …]

12345678910>>...54