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

1234567891011>>

/freebsd-9.3-release/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-9.3-release/sys/net/
H A Dif_tun.c245 tun_destroy(struct tun_softc *tp) argument
250 mtx_lock(&tp->tun_mtx);
251 if ((tp->tun_flags & TUN_OPEN) != 0)
252 cv_wait_unlock(&tp->tun_cv, &tp->tun_mtx);
254 mtx_unlock(&tp->tun_mtx);
256 CURVNET_SET(TUN2IFP(tp)->if_vnet);
257 dev = tp->tun_dev;
258 bpfdetach(TUN2IFP(tp));
259 if_detach(TUN2IFP(tp));
273 struct tun_softc *tp = ifp->if_softc; local
285 struct tun_softc *tp; local
330 struct tun_softc *tp = ifp->if_softc; local
405 struct tun_softc *tp; local
446 struct tun_softc *tp; local
502 struct tun_softc *tp = ifp->if_softc; local
541 struct tun_softc *tp = ifp->if_softc; local
583 struct tun_softc *tp = ifp->if_softc; local
675 struct tun_softc *tp = dev->si_drv1; local
804 struct tun_softc *tp = dev->si_drv1; local
857 struct tun_softc *tp = dev->si_drv1; local
948 struct tun_softc *tp = dev->si_drv1; local
979 struct tun_softc *tp = dev->si_drv1; local
1014 struct tun_softc *tp = kn->kn_hook; local
1039 struct tun_softc *tp = kn->kn_hook; local
1050 struct tun_softc *tp = kn->kn_hook; local
[all...]
H A Dif_tap.c212 tap_destroy(struct tap_softc *tp) argument
214 struct ifnet *ifp = tp->tap_ifp;
217 destroy_dev(tp->tap_dev);
218 seldrain(&tp->tap_rsel);
219 knlist_destroy(&tp->tap_rsel.si_note);
223 mtx_destroy(&tp->tap_mtx);
224 free(tp, M_TAP);
231 struct tap_softc *tp = ifp->if_softc; local
234 SLIST_REMOVE(&taphead, tp, tap_softc, tap_next);
236 tap_destroy(tp);
255 struct tap_softc *tp = NULL; local
399 struct tap_softc *tp = NULL; local
474 struct tap_softc *tp = NULL; local
522 struct tap_softc *tp = dev->si_drv1; local
576 struct tap_softc *tp = (struct tap_softc *)xtp; local
599 struct tap_softc *tp = ifp->if_softc; local
659 struct tap_softc *tp = ifp->if_softc; local
722 struct tap_softc *tp = dev->si_drv1; local
855 struct tap_softc *tp = dev->si_drv1; local
928 struct tap_softc *tp = dev->si_drv1; local
990 struct tap_softc *tp = dev->si_drv1; local
1029 struct tap_softc *tp = dev->si_drv1; local
1068 struct tap_softc *tp = kn->kn_hook; local
1094 struct tap_softc *tp = kn->kn_hook; local
1106 struct tap_softc *tp = kn->kn_hook; local
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/idea/
H A Di_skey.c124 register IDEA_INT *tp, t; local
127 tp = &(dk->data[0][0]);
130 *(tp++) = inverse(fp[0]);
131 *(tp++) = ((int)(0x10000L - fp[2]) & 0xffff);
132 *(tp++) = ((int)(0x10000L - fp[1]) & 0xffff);
133 *(tp++) = inverse(fp[3]);
137 *(tp++) = fp[4];
138 *(tp++) = fp[5];
141 tp = &(dk->data[0][0]);
142 t = tp[
[all...]
/freebsd-9.3-release/sys/kern/
H A Dtty_pts.c112 struct tty *tp = fp->f_data; local
113 struct pts_softc *psc = tty_softc(tp);
120 tty_lock(tp);
131 tty_unlock(tp);
145 if (ttydisc_getc_poll(tp)) {
152 tty_unlock(tp);
156 tty_lock(tp);
159 error = ttydisc_getc_uio(tp, uio);
172 error = cv_wait_sig(&psc->pts_outwait, tp->t_mtx);
177 tty_unlock(tp);
186 struct tty *tp = fp->f_data; local
267 struct tty *tp = fp->f_data; local
392 struct tty *tp = fp->f_data; local
447 struct tty *tp = fp->f_data; local
457 struct tty *tp = fp->f_data; local
473 struct tty *tp = fp->f_data; local
483 struct tty *tp = fp->f_data; local
509 struct tty *tp = fp->f_data; local
537 struct tty *tp = fp->f_data; local
573 struct tty *tp = fp->f_data; local
610 ptsdrv_outwakeup(struct tty *tp) argument
620 ptsdrv_inwakeup(struct tty *tp) argument
630 ptsdrv_open(struct tty *tp) argument
640 ptsdrv_close(struct tty *tp) argument
651 ptsdrv_pktnotify(struct tty *tp, char event) argument
722 struct tty *tp; local
776 struct tty *tp; local
[all...]
/freebsd-9.3-release/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-9.3-release/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-9.3-release/lib/libthr/arch/ia64/include/
H A Dpthread_md.h59 register struct tcb *tp __asm("%r13");
61 __asm __volatile("mov %0 = %1;;" : "=r"(tp) : "r"(tcb));
67 register struct tcb *tp __asm("%r13");
69 return (tp);
/freebsd-9.3-release/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-9.3-release/lib/libc/inet/
H A Dinet_pton.c84 u_char tmp[NS_INADDRSZ], *tp; local
88 *(tp = tmp) = 0;
93 u_int new = *tp * 10 + (pch - digits);
95 if (saw_digit && *tp == 0)
99 *tp = new;
108 *++tp = 0;
137 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
142 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
143 endp = tp + NS_IN6ADDRSZ;
169 colonp = tp;
[all...]
/freebsd-9.3-release/contrib/amd/amd/
H A Dinfo_ndbm.c55 int ndbm_init(mnt_map *m, char *map, time_t *tp);
56 int ndbm_mtime(mnt_map *m, char *map, time_t *tp);
57 int ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
77 ndbm_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
94 if (!error && *tp < stb.st_mtime) {
95 *tp = stb.st_mtime;
108 ndbm_init(mnt_map *m, char *map, time_t *tp) argument
126 *tp = clocktime(NULL);
128 *tp = stb.st_mtime;
137 ndbm_mtime(mnt_map *m, char *map, time_t *tp) argument
[all...]
/freebsd-9.3-release/contrib/tcpdump/
H A Dprint-tftp.c77 register const struct tftphdr *tp; local
83 tp = (const struct tftphdr *)bp;
89 TCHECK(tp->th_opcode);
90 opcode = EXTRACT_16BITS(&tp->th_opcode);
102 p = (u_char *)tp->th_stuff;
113 if (length <= (u_int)(p - (const u_char *)&tp->th_block))
128 TCHECK(tp->th_block);
129 printf(" block %d", EXTRACT_16BITS(&tp->th_block));
134 TCHECK(tp->th_code);
136 EXTRACT_16BITS(&tp
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_dir.h50 typedef int (*xfs_dir_init_t)(struct xfs_trans *tp,
53 typedef int (*xfs_dir_createname_t)(struct xfs_trans *tp,
61 typedef int (*xfs_dir_lookup_t)(struct xfs_trans *tp,
66 typedef int (*xfs_dir_removename_t)(struct xfs_trans *tp,
74 typedef int (*xfs_dir_getdents_t)(struct xfs_trans *tp,
78 typedef int (*xfs_dir_replace_t)(struct xfs_trans *tp,
86 typedef int (*xfs_dir_canenter_t)(struct xfs_trans *tp,
117 #define XFS_DIR_INIT(mp,tp,dp,pdp) \
118 ((mp)->m_dirops.xd_init(tp,dp,pdp))
119 #define XFS_DIR_CREATENAME(mp,tp,d
[all...]
/freebsd-9.3-release/contrib/nvi/vi/
H A Dv_at.c41 TEXT *tp; local
90 for (tp = cbp->textq.cqh_last;
91 tp != (void *)&cbp->textq; tp = tp->q.cqe_prev)
93 tp->q.cqe_next != (void *)&cbp->textq) &&
95 v_event_push(sp, NULL, tp->lb, tp->len, 0))
/freebsd-9.3-release/libexec/talkd/
H A Dprint.c64 const char *tp; local
69 tp = tbuf;
71 tp = types[mp->type];
73 cp, tp, (long)mp->id_num, mp->l_name, mp->r_name, mp->r_tty);
79 const char *tp, *ap; local
84 tp = tbuf;
86 tp = types[rp->type];
92 syslog(LOG_DEBUG, "%s: %s: %s, id %d", cp, tp, ap, ntohl(rp->id_num));
/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dalloc_ttype.c151 _nc_first_ext_name(TERMTYPE *tp, int token_type) argument
160 first = tp->ext_Booleans;
163 first = tp->ext_Booleans + tp->ext_Numbers;
176 _nc_last_ext_name(TERMTYPE *tp, int token_type) argument
182 last = tp->ext_Booleans;
185 last = tp->ext_Booleans + tp->ext_Numbers;
189 last = NUM_EXT_NAMES(tp);
199 _nc_find_ext_name(TERMTYPE *tp, cha argument
218 _nc_ext_data_index(TERMTYPE *tp, int n, int token_type) argument
241 _nc_del_ext_name(TERMTYPE *tp, char *name, int token_type) argument
285 _nc_ins_ext_name(TERMTYPE *tp, char *name, int token_type) argument
[all...]
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dinet_ntop.c118 char *tp, *ep; local
158 tp = tmp;
160 for (i = 0; i < (IN6ADDRSZ / INT16SZ) && tp < ep; i++) {
165 if (tp + 1 >= ep)
167 *tp++ = ':';
173 if (tp + 1 >= ep)
175 *tp++ = ':';
180 if (!inet_ntop4(src+12, tp, (size_t)(ep - tp)))
182 tp
[all...]
/freebsd-9.3-release/contrib/ntp/ntpd/
H A Drefclock_tt560.c162 time_freeze_reg_t *tp; local
175 tp = &up->tt560rawt;
177 p_time_t = (unsigned int *)tp;
201 tp->hun_day, tp->tens_day, tp->unit_day,
202 tp->tens_hour, tp->unit_hour,
203 tp->tens_min, tp
[all...]
H A Drefclock_tpro.c139 struct tproval *tp; local
148 tp = &up->tprodata;
149 if (read(pp->io.fd, (char *)tp, sizeof(struct tproval)) < 0) {
171 tp->day100, tp->day10, tp->day1, tp->hour10, tp->hour1,
172 tp->min10, tp
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/sparc/dtrace/
H A Dfasttrap_isa.c282 fasttrap_tracepoint_t *tp; local
292 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) {
293 if (pid == tp->ftt_pid && pc == tp->ftt_pc &&
294 tp->ftt_proc->ftpc_acount != 0)
303 if (tp == NULL || tp
417 fasttrap_tracepoint_t *tp, tp_local; local
1055 fasttrap_tracepoint_install(proc_t *p, fasttrap_tracepoint_t *tp) argument
1066 fasttrap_tracepoint_remove(proc_t *p, fasttrap_tracepoint_t *tp) argument
1085 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, uintptr_t pc, fasttrap_probe_type_t type) argument
[all...]
/freebsd-9.3-release/contrib/tcsh/
H A Dtc.sched.c65 struct sched_event *tp, **pp; local
88 for (count = 1, tp = sched_ptr; tp; count++, tp = tp->t_next) {
91 buf = blkexpand(tp->t_lex);
93 str = tprintf(FMT_SCHED, fmt, short2str(buf), tp->t_when, &count);
113 tp = sched_ptr;
115 if (tp->t_next == 0)
118 pp = &tp
191 struct sched_event *tp; local
[all...]
/freebsd-9.3-release/sys/amd64/ia32/
H A Dia32_reg.c84 struct trapframe *tp; local
86 tp = td->td_frame;
88 if (tp->tf_flags & TF_HASSEGS) {
89 regs->r_gs = tp->tf_gs;
90 regs->r_fs = tp->tf_fs;
91 regs->r_es = tp->tf_es;
92 regs->r_ds = tp->tf_ds;
99 regs->r_edi = tp->tf_rdi;
100 regs->r_esi = tp->tf_rsi;
101 regs->r_ebp = tp
118 struct trapframe *tp; local
[all...]
/freebsd-9.3-release/sys/dev/uart/
H A Duart_tty.c137 uart_tty_open(struct tty *tp) argument
141 sc = tty_softc(tp);
151 uart_tty_close(struct tty *tp) argument
155 sc = tty_softc(tp);
172 uart_tty_outwakeup(struct tty *tp) argument
176 sc = tty_softc(tp);
187 if ((tp->t_termios.c_cflag & CCTS_OFLOW) && !sc->sc_hwoflow &&
191 sc->sc_txdatasz = ttydisc_getc(tp, sc->sc_txbuf, sc->sc_txfifosz);
197 uart_tty_inwakeup(struct tty *tp) argument
201 sc = tty_softc(tp);
214 uart_tty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument
233 uart_tty_param(struct tty *tp, struct termios *t) argument
284 uart_tty_modem(struct tty *tp, int biton, int bitoff) argument
298 struct tty *tp; local
375 struct tty *tp; local
399 struct tty *tp; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dinet_ntop.c120 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local
159 tp = tmp;
165 *tp++ = ':';
170 *tp++ = ':';
175 if (!inet_ntop4(src+12, tp,
176 sizeof(tmp) - (tp - tmp)))
178 tp += strlen(tp);
181 tp += sprintf(tp, "
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwinetntop.c117 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local
158 tp = tmp;
164 *tp++ = ':';
169 *tp++ = ':';
173 if (!inet_ntop4(src+12, tp,
174 sizeof(tmp) - (tp - tmp)))
176 tp += strlen(tp);
179 tp += sprintf(tp, "
[all...]

Completed in 217 milliseconds

1234567891011>>