Searched refs:tp (Results 51 - 75 of 1220) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/kern/
H A Dtty_pts.c114 struct tty *tp = fp->f_data; local
115 struct pts_softc *psc = tty_softc(tp);
122 tty_lock(tp);
133 tty_unlock(tp);
147 if (ttydisc_getc_poll(tp)) {
154 tty_unlock(tp);
158 tty_lock(tp);
161 error = ttydisc_getc_uio(tp, uio);
174 error = cv_wait_sig(&psc->pts_outwait, tp->t_mtx);
179 tty_unlock(tp);
188 struct tty *tp = fp->f_data; local
261 struct tty *tp = fp->f_data; local
389 struct tty *tp = fp->f_data; local
444 struct tty *tp = fp->f_data; local
454 struct tty *tp = fp->f_data; local
470 struct tty *tp = fp->f_data; local
480 struct tty *tp = fp->f_data; local
506 struct tty *tp = fp->f_data; local
534 struct tty *tp = fp->f_data; local
570 struct tty *tp = fp->f_data; local
591 struct tty *tp; local
621 ptsdrv_outwakeup(struct tty *tp) argument
631 ptsdrv_inwakeup(struct tty *tp) argument
641 ptsdrv_open(struct tty *tp) argument
651 ptsdrv_close(struct tty *tp) argument
662 ptsdrv_pktnotify(struct tty *tp, char event) argument
733 struct tty *tp; local
787 struct tty *tp; local
[all...]
/freebsd-11-stable/contrib/mdocml/
H A Dtbl_term.c73 term_tbl(struct termp *tp, const struct tbl_span *sp) argument
84 tp->flags |= TERMP_NOSPACE | TERMP_NONOSPACE;
91 if (tp->tbl.cols == NULL) {
92 tp->tbl.len = term_tbl_len;
93 tp->tbl.slen = term_tbl_strlen;
94 tp->tbl.sulen = term_tbl_sulen;
95 tp->tbl.arg = tp;
97 tblcalc(&tp->tbl, sp, tp
458 tbl_hrule(struct termp *tp, const struct tbl_span *sp, int kind) argument
509 tbl_data(struct termp *tp, const struct tbl_opts *opts, const struct tbl_cell *cp, const struct tbl_dat *dp, const struct roffcol *col) argument
561 tbl_char(struct termp *tp, char c, size_t len) argument
576 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument
618 tbl_number(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
663 tbl_word(struct termp *tp, const struct tbl_dat *dp) argument
[all...]
/freebsd-11-stable/sys/sparc64/include/
H A Dtte.h129 #define TTE_GET_SIZE(tp) \
130 (((tp)->tte_data >> TD_SIZE_SHIFT) & TD_SIZE_MASK)
131 #define TTE_GET_PAGE_SHIFT(tp) \
132 TTE_PAGE_SHIFT(TTE_GET_SIZE(tp))
133 #define TTE_GET_PAGE_SIZE(tp) \
134 (1 << TTE_GET_PAGE_SHIFT(tp))
135 #define TTE_GET_PAGE_MASK(tp) \
136 (TTE_GET_PAGE_SIZE(tp) - 1)
138 #define TTE_GET_PA(tp) \
139 ((tp)
159 tte_match(struct tte *tp, vm_offset_t va) argument
[all...]
/freebsd-11-stable/crypto/openssl/crypto/idea/
H A Di_skey.c116 register IDEA_INT *fp, *tp, t; local
118 tp = &(dk->data[0][0]);
121 *(tp++) = inverse(fp[0]);
122 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff);
123 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff);
124 *(tp++) = inverse(fp[3]);
128 *(tp++) = fp[4];
129 *(tp++) = fp[5];
132 tp = &(dk->data[0][0]);
133 t = tp[
[all...]
/freebsd-11-stable/contrib/tcpdump/
H A Dstrtoaddr.c161 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
166 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
167 endp = tp + NS_IN6ADDRSZ;
193 colonp = tp;
197 if (tp + NS_INT16SZ > endp)
199 *tp++ = (u_char) (val >> 8) & 0xff;
200 *tp++ = (u_char) val & 0xff;
205 if (ch == '.' && ((tp + NS_INADDRSZ) <= endp) &&
206 strtoaddr(curtok, tp) > 0) {
207 tp
[all...]
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dgettimeofday.c41 gettimeofday (struct timeval *tp, void *ignore) argument
55 tp->tv_usec = (ull % 1000000i64);
56 tp->tv_sec = (ull / 1000000i64);
67 gettimeofday (struct timeval *tp, void *ignore) argument
72 tp->tv_sec = (long) t;
73 tp->tv_usec = 0;
/freebsd-11-stable/lib/libc/gen/
H A Dtimes.c48 times(tp)
49 struct tms *tp;
57 tp->tms_utime = CONVTCK(ru.ru_utime);
58 tp->tms_stime = CONVTCK(ru.ru_stime);
61 tp->tms_cutime = CONVTCK(ru.ru_utime);
62 tp->tms_cstime = CONVTCK(ru.ru_stime);
/freebsd-11-stable/contrib/netbsd-tests/include/
H A Dt_stdint.c50 ATF_TP_ADD_TCS(tp)
53 ATF_TP_ADD_TC(tp, int8);
54 ATF_TP_ADD_TC(tp, int16);
/freebsd-11-stable/lib/libc/string/
H A Dswab.c46 char *fp, *tp; local
52 tp = (char *)to;
53 #define STEP temp = *fp++,*tp++ = *fp++,*tp++ = temp
/freebsd-11-stable/contrib/ntp/util/
H A Dprecision.c65 struct timeval tp; local
73 gettimeofday(&tp, &tzp);
74 last = tp.tv_usec;
76 gettimeofday(&tp, &tzp);
77 diff = tp.tv_usec - last;
80 last = tp.tv_usec;
120 struct timeval tp; local
135 tp.tv_sec = ts.tv_sec;
136 tp.tv_usec = ts.tv_nsec / 1000;
138 GETTIMEOFDAY(&tp,
[all...]
/freebsd-11-stable/sys/netinet/
H A Dtcp_timer.h40 * received. If an ACK is received which advances tp->snd_una,
170 #define TP_KEEPINIT(tp) ((tp)->t_keepinit ? (tp)->t_keepinit : tcp_keepinit)
171 #define TP_KEEPIDLE(tp) ((tp)->t_keepidle ? (tp)->t_keepidle : tcp_keepidle)
172 #define TP_KEEPINTVL(tp) ((tp)->t_keepintvl ? (tp)
[all...]
H A Dtcp_sack.c159 tcp_update_dsack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) argument
165 INP_WLOCK_ASSERT(tp->t_inpcb);
169 if (SEQ_LT(rcv_end, tp->rcv_nxt) ||
170 ((rcv_end == tp->rcv_nxt) &&
171 (tp->rcv_numsacks > 0 ) &&
172 (tp->sackblks[0].end == tp->rcv_nxt))) {
184 for (i = 0; i < tp->rcv_numsacks; i++) {
185 start = tp->sackblks[i].start;
186 end = tp
255 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) argument
392 tcp_clean_dsack_blocks(struct tcpcb *tp) argument
434 tcp_clean_sackreport(struct tcpcb *tp) argument
448 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) argument
476 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) argument
492 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end, struct sackhole *after) argument
519 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) argument
543 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) argument
750 tcp_free_sackholes(struct tcpcb *tp) argument
773 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th) argument
835 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) argument
860 tcp_sack_adjust(struct tcpcb *tp) argument
[all...]
H A Dtcp_seq.h66 #define tcp_rcvseqinit(tp) \
67 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
69 #define tcp_sendseqinit(tp) \
70 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
71 (tp)
[all...]
H A Dtcp_reass.c201 tcp_log_reassm(struct tcpcb *tp, struct tseg_qent *q, struct tseg_qent *p, argument
207 if (tp->t_logstate != TCP_LOG_STATE_OFF) {
227 log.u_bbr.flex6 = tp->t_segqmbuflen;
231 TCP_LOG_EVENTP(tp, NULL,
232 &tp->t_inpcb->inp_socket->so_rcv,
233 &tp->t_inpcb->inp_socket->so_snd,
240 tcp_reass_log_dump(struct tcpcb *tp) argument
244 if (tp->t_logstate != TCP_LOG_STATE_OFF) {
245 TAILQ_FOREACH(q, &tp->t_segq, tqe_q) {
246 tcp_log_reassm(tp,
252 tcp_reass_log_new_in(struct tcpcb *tp, tcp_seq seq, int len, struct mbuf *m, int logval, struct tseg_qent *q) argument
302 tcp_reass_flush(struct tcpcb *tp) argument
321 tcp_reass_append(struct tcpcb *tp, struct tseg_qent *last, struct mbuf *m, struct tcphdr *th, int tlen, struct mbuf *mlast, int lenofoh) argument
347 tcp_reass_prepend(struct tcpcb *tp, struct tseg_qent *first, struct mbuf *m, struct tcphdr *th, int tlen, struct mbuf *mlast, int lenofoh) argument
383 tcp_reass_replace(struct tcpcb *tp, struct tseg_qent *q, struct mbuf *m, tcp_seq seq, int len, struct mbuf *mlast, int mbufoh, uint8_t flags) argument
418 tcp_reass_merge_into(struct tcpcb *tp, struct tseg_qent *ent, struct tseg_qent *q) argument
443 tcp_reass_merge_forward(struct tcpcb *tp, struct tseg_qent *ent) argument
524 tcp_reass(struct tcpcb *tp, struct tcphdr *th, tcp_seq *seq_start, int *tlenp, struct mbuf *m) argument
[all...]
/freebsd-11-stable/lib/libc/tests/stdlib/
H A Dset_constraint_handler_s_test.c57 ATF_TP_ADD_TCS(tp)
59 ATF_TP_ADD_TC(tp, null_handler);
60 ATF_TP_ADD_TC(tp, abort_handler);
61 ATF_TP_ADD_TC(tp, ignore_handler);
/freebsd-11-stable/sys/net/
H A Dif_tap.c221 tap_destroy(struct tap_softc *tp) argument
223 struct ifnet *ifp = tp->tap_ifp;
227 destroy_dev(tp->tap_dev);
228 seldrain(&tp->tap_rsel);
229 knlist_clear(&tp->tap_rsel.si_note, 0);
230 knlist_destroy(&tp->tap_rsel.si_note);
239 mtx_destroy(&tp->tap_mtx);
240 free(tp, M_TAP);
247 struct tap_softc *tp = ifp->if_softc; local
250 SLIST_REMOVE(&taphead, tp, tap_soft
271 struct tap_softc *tp = NULL; local
417 struct tap_softc *tp = NULL; local
490 struct tap_softc *tp = NULL; local
538 struct tap_softc *tp = dev->si_drv1; local
592 struct tap_softc *tp = (struct tap_softc *)xtp; local
615 struct tap_softc *tp; local
683 struct tap_softc *tp = ifp->if_softc; local
747 struct tap_softc *tp = dev->si_drv1; local
892 struct tap_softc *tp = dev->si_drv1; local
965 struct tap_softc *tp = dev->si_drv1; local
1027 struct tap_softc *tp = dev->si_drv1; local
1066 struct tap_softc *tp = dev->si_drv1; local
1105 struct tap_softc *tp = kn->kn_hook; local
1131 struct tap_softc *tp = kn->kn_hook; local
1143 struct tap_softc *tp = kn->kn_hook; local
[all...]
/freebsd-11-stable/lib/libc/inet/
H A Dinet_pton.c83 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;
136 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
141 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
142 endp = tp + NS_IN6ADDRSZ;
168 colonp = tp;
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/
H A Dfasttrap_isa.c48 fasttrap_tracepoint_install(proc_t *p, fasttrap_tracepoint_t *tp) argument
52 if (uwrite(p, &instr, 4, tp->ftt_pc) != 0)
59 fasttrap_tracepoint_remove(proc_t *p, fasttrap_tracepoint_t *tp) argument
67 if (uread(p, &instr, 4, tp->ftt_pc) != 0)
71 if (uwrite(p, &tp->ftt_instr, 4, tp->ftt_pc) != 0)
78 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, uintptr_t pc, argument
105 tp->ftt_type = FASTTRAP_T_COMMON;
106 tp->ftt_instr = instr;
127 tp
267 fasttrap_tracepoint_t *tp; local
339 fasttrap_tracepoint_t *tp, tp_local; local
[all...]
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/
H A Dalloc_entry.c61 _nc_init_entry(TERMTYPE *const tp) argument
65 if (tp == 0) {
78 _nc_init_termtype(tp);
129 TERMTYPE *tp = &(ep->tterm); local
135 tp->term_names = _nc_save_str(tp->term_names);
136 for_each_string(i, tp) {
137 if (tp->Strings[i] != ABSENT_STRING &&
138 tp->Strings[i] != CANCELLED_STRING) {
139 tp
[all...]
/freebsd-11-stable/sys/dev/cxgbe/
H A Dt4_tracer.c276 struct trace_params tp; local
292 t4_get_trace_filter(sc, &tp, i, &enabled);
296 memcpy(&t->tp.data[0], &tp.data[0], sizeof(t->tp.data));
297 memcpy(&t->tp.mask[0], &tp.mask[0], sizeof(t->tp.mask));
298 t->tp.snap_len = tp
329 struct trace_params tp, *tpp; local
[all...]
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_extattrctl.c23 ATF_TP_ADD_TCS(tp)
25 ATF_TP_ADD_TC(tp, extattrctl_namei);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/
H A Dt_syslog.c50 ATF_TP_ADD_TCS(tp)
53 ATF_TP_ADD_TC(tp, syslog_pthread);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_mktemp.c50 ATF_TP_ADD_TCS(tp)
52 ATF_TP_ADD_TC(tp, mktemp_not_exist);
/freebsd-11-stable/contrib/atf/atf-c/
H A Dunused_test.c46 ATF_TP_ADD_TCS(tp)
48 ATF_TP_ADD_TC(tp, this_is_used);
49 /* ATF_TP_ADD_TC(tp, this_is_unused); */
/freebsd-11-stable/libexec/talkd/
H A Dprint.c60 const char *tp; local
65 tp = tbuf;
67 tp = types[mp->type];
69 cp, tp, (long)mp->id_num, mp->l_name, mp->r_name, mp->r_tty);
75 const char *tp, *ap; local
80 tp = tbuf;
82 tp = types[rp->type];
88 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));

Completed in 338 milliseconds

1234567891011>>