HomeSort by: relevance | last modified time | path
    Searched refs:tp (Results 1 - 25 of 953) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tests/lib/semaphore/pthread/
t_sem_pth.c 4 ATF_TP_ADD_TCS(tp)
7 ATF_TP_ADD_TC(tp, postwait);
8 ATF_TP_ADD_TC(tp, initvalue);
9 ATF_TP_ADD_TC(tp, destroy);
10 ATF_TP_ADD_TC(tp, busydestroy);
11 ATF_TP_ADD_TC(tp, blockwait);
12 ATF_TP_ADD_TC(tp, blocktimedwait);
13 ATF_TP_ADD_TC(tp, named);
14 ATF_TP_ADD_TC(tp, unlink);
  /src/sys/netinet/
tcp_seq.h 56 #define tcp_rcvseqinit(tp) \
57 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
59 #define tcp_sendseqinit(tp) \
60 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
61 (tp)->snd_recover = (tp)->snd_high = (tp)->snd_fack = (tp)->is
    [all...]
tcp_congctl.c 201 static void tcp_reno_congestion_exp(struct tcpcb *tp);
209 static void tcp_cubic_slow_retransmit(struct tcpcb *tp);
318 tcp_congctl_select(struct tcpcb *tp, const char *name)
325 old_found = (tp == NULL || tp->t_congctl == NULL);
331 if (!old_found && tccp->congctl_ctl == tp->t_congctl) {
342 if (tp) {
346 tp->t_congctl = new_tccp->congctl_ctl;
363 tcp_congctl_release(struct tcpcb *tp)
367 KASSERT(tp->t_congctl)
    [all...]
tcp_timer.c 226 struct tcpcb *tp = arg; local
235 if ((tp->t_flags & (TF_DEAD | TF_DELACK)) != TF_DELACK) {
239 if (!callout_expired(&tp->t_delack_ch)) {
244 tp->t_flags |= TF_ACKNOW;
246 (void) tcp_output(tp);
280 * Cancel all timers for TCP tp.
283 tcp_canceltimers(struct tcpcb *tp)
288 TCP_TIMER_DISARM(tp, i);
303 struct tcpcb *tp = arg; local
311 if ((tp->t_flags & TF_DEAD) != 0)
450 struct tcpcb *tp = arg; local
514 struct tcpcb *tp = arg; local
593 struct tcpcb *tp = arg; local
    [all...]
tcp_output.c 226 tcp_segsize(struct tcpcb *tp, int *txsegsizep, int *rxsegsizep,
229 struct inpcb *inp = tp->t_inpcb;
240 switch (tp->t_family) {
262 if (tp->t_mtudisc && rt->rt_rmx.rmx_mtu != 0) {
279 else if (inp->inp_af == AF_INET && tp->t_mtudisc)
289 if (tp->t_mtudisc || in_localaddr(d))
296 size = tp->t_mtudisc ? ifp->if_mtu : IPV6_MMTU;
307 optlen = tcp_optlen(tp);
310 * XXX tp->t_ourmss should have the right size, but without this code
318 optlen += ipsec4_hdrsiz_tcp(tp);
    [all...]
  /src/share/examples/refuse/virtdir/
virtdir.c 68 mkdirs(virtdir_t *tp, const char *path, size_t size)
77 if ((ep = virtdir_find(tp, name, strlen(name))) == NULL) {
78 virtdir_add(tp, name, strlen(name), 'd', NULL, 0);
115 virtdir_init(virtdir_t *tp, const char *rootdir, struct stat *d, struct stat *f, struct stat *l)
117 (void) memcpy(&tp->dir, d, sizeof(tp->dir));
118 tp->dir.st_mode = S_IFDIR | 0755;
119 tp->dir.st_nlink = 2;
120 (void) memcpy(&tp->file, f, sizeof(tp->file))
304 virt_dirent_t *tp; local
    [all...]
  /src/sys/kern/
tty.c 129 #define CONNECTED(tp) (ISSET(tp->t_state, TS_CARR_ON) || \
130 ISSET(tp->t_cflag, CLOCAL | MDMBUF))
244 tty_set_qsize(struct tty *tp, int newsize)
255 if (tp->t_outq.c_cc != 0) {
263 orawq = tp->t_rawq;
264 ocanq = tp->t_canq;
265 ooutq = tp->t_outq;
267 tp->t_qsize = newsize;
268 tp->t_rawq = rawq
1583 struct tty *tp; local
1594 struct tty *tp; local
1610 struct tty *tp; local
1621 struct tty *tp; local
1651 struct tty *tp; local
1831 struct tty *tp; local
2931 struct tty *tp; local
3107 struct tty *tp; local
    [all...]
  /src/bin/ksh/
table.c 17 static void texpand ARGS((struct table *tp, int nsize));
33 tinit(tp, ap, tsize)
34 struct table *tp;
38 tp->areap = ap;
39 tp->tbls = NULL;
40 tp->size = tp->nfree = 0;
42 texpand(tp, tsize);
46 texpand(tp, nsize)
47 struct table *tp;
    [all...]
  /src/sbin/mount_qemufwcfg/
virtdir.c 55 mkdirs(virtdir_t *tp, const char *path, size_t size)
64 if ((ep = virtdir_find(tp, name, strlen(name))) == NULL) {
65 virtdir_add(tp, name, strlen(name), 'd', NULL, 0, 0);
104 virtdir_init(virtdir_t *tp, const char *rootdir, const struct stat *d,
107 tp->dir = *d;
108 tp->dir.st_mode = S_IFDIR | 0755;
109 tp->dir.st_nlink = 2;
110 tp->file = *f;
111 tp->file.st_mode = S_IFREG | 0644;
112 tp->file.st_nlink = 1
    [all...]
  /src/usr.sbin/tpctl/
tp.c 1 /* $NetBSD: tp.c,v 1.9 2009/04/28 10:57:24 nonaka Exp $ */
46 __RCSID("$NetBSD: tp.c,v 1.9 2009/04/28 10:57:24 nonaka Exp $");
50 tp_init(struct tp *tp, int fd)
63 tp->fd = fd;
66 if (ioctl(tp->fd, WSMOUSEIO_GTYPE, &type) < 0)
73 if (ioctl(tp->fd, WSMOUSEIO_GCALIBCOORDS, &calibcoords) < 0)
76 flags = fcntl(tp->fd, F_GETFL);
80 if (fcntl(tp->fd, F_SETFL, flags) < 0)
84 if (ioctl(tp->fd, WSMOUSEIO_GETID, &id) == 0)
    [all...]
  /src/sys/arch/alpha/alpha/
promcons.c 99 struct tty *tp; local
115 tp = prom_tty[unit] = tty_alloc();
116 tty_attach(tp);
118 tp = prom_tty[unit];
120 tp->t_oproc = promstart;
121 tp->t_param = promparam;
122 tp->t_dev = dev;
124 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) {
129 if ((tp->t_state & TS_ISOPEN) == 0) {
130 tp->t_state |= TS_CARR_ON
158 struct tty *tp = prom_tty[unit]; local
169 struct tty *tp = prom_tty[minor(dev)]; local
177 struct tty *tp = prom_tty[minor(dev)]; local
185 struct tty *tp = prom_tty[minor(dev)]; local
194 struct tty *tp = prom_tty[unit]; local
245 struct tty *tp = v; local
    [all...]
  /src/sys/dev/arcbios/
arcbios_tty.c 85 struct tty *tp; local
99 tp = arcbios_tty[unit] = tty_alloc();
100 tty_attach(tp);
102 tp = arcbios_tty[unit];
104 tp->t_oproc = arcbios_tty_start;
105 tp->t_param = arcbios_tty_param;
106 tp->t_dev = dev;
108 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) {
113 if ((tp->t_state & TS_ISOPEN) == 0) {
114 tp->t_state |= TS_CARR_ON
139 struct tty *tp = arcbios_tty[unit]; local
150 struct tty *tp = arcbios_tty[minor(dev)]; local
158 struct tty *tp = arcbios_tty[minor(dev)]; local
166 struct tty *tp = arcbios_tty[minor(dev)]; local
175 struct tty *tp = arcbios_tty[unit]; local
246 struct tty *tp = v; local
    [all...]
  /src/sys/arch/sun3/dev/
kd.c 118 struct tty *tp; local
120 tp = tty_alloc();
121 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp);
123 tp->t_oproc = kdstart;
124 tp->t_param = kdparam;
125 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0);
127 tty_attach(tp);
128 kd->kd_tty = tp;
147 struct tty *tp; local
198 struct tty *tp; local
219 struct tty *tp; local
231 struct tty *tp; local
243 struct tty *tp; local
255 struct tty *tp; local
336 struct tty *tp = tpaddr; local
409 struct tty *tp; local
    [all...]
  /src/sys/dev/hpc/
biconsdev.c 117 struct tty *tp = &biconsdev_tty[0]; local
124 clalloc(&tp->t_rawq, 1024, 1);
125 clalloc(&tp->t_canq, 1024, 1);
127 clalloc(&tp->t_outq, 1024, 0);
129 tp->t_linesw = ttyldisc_default();
132 tp->t_dev = makedev(maj, 0);
133 tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED;
134 tp->t_param = (int (*)(struct tty *, struct termios *))nullop;
135 tp->t_winsize.ws_row = bicons_height
173 struct tty *tp = &biconsdev_tty[0]; local
201 struct tty *tp = &biconsdev_tty[0]; local
213 struct tty *tp = &biconsdev_tty[0]; local
222 struct tty *tp = &biconsdev_tty[0]; local
231 struct tty *tp = &biconsdev_tty[0]; local
240 struct tty *tp = &biconsdev_tty[0]; local
248 struct tty *tp = &biconsdev_tty[0]; local
    [all...]
  /src/sys/arch/news68k/news68k/
romcons.c 142 struct tty *tp; local
147 if ((tp = sc->sc_tty) == 0)
148 sc->sc_tty = tp = tty_alloc();
149 tp->t_oproc = romcons_start;
150 tp->t_param = romcons_param;
151 tp->t_dev = dev;
152 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
154 if ((tp->t_state & TS_ISOPEN) == 0) {
155 ttychars(tp);
156 tp->t_iflag = TTYDEF_IFLAG
178 struct tty *tp; local
193 struct tty *tp; local
205 struct tty *tp; local
216 struct tty *tp; local
226 struct tty *tp; local
286 struct tty *tp = sc->sc_tty; local
301 struct tty *tp; local
    [all...]
  /src/bin/stty/
gfmt.c 62 gprint(struct termios *tp)
67 tp->c_cflag, tp->c_iflag, tp->c_lflag, tp->c_oflag);
69 (void)printf("%s=%x:", cp->name, tp->c_cc[cp->sub]);
70 (void)printf("ispeed=%d:ospeed=%d\n", cfgetispeed(tp), cfgetospeed(tp));
74 gread(struct termios *tp, char *s)
93 tp->c_cflag = tmp
    [all...]
  /src/sys/net/
if_tun.c 166 * Returns with tp locked (if found).
171 struct tun_softc *tp; local
175 LIST_FOREACH(tp, &tun_softc_list, tun_list)
176 if (unit == tp->tun_unit)
178 if (tp)
179 mutex_enter(&tp->tun_lock);
182 return tp;
187 * Remove tp from list and return it unlocked (if found).
192 struct tun_softc *tp; local
195 LIST_FOREACH(tp, &tunz_softc_list, tun_list
237 struct tun_softc *tp; local
263 struct tun_softc *tp; local
309 struct tun_softc *tp = (void *)ifp; local
350 struct tun_softc *tp; local
391 struct tun_softc *tp; local
500 struct tun_softc *tp = (struct tun_softc *)(ifp->if_softc); local
557 struct tun_softc *tp = ifp->if_softc; local
660 struct tun_softc *tp = cookie; local
670 struct tun_softc *tp = cookie; local
683 struct tun_softc *tp; local
788 struct tun_softc *tp; local
854 struct tun_softc *tp; local
1007 struct tun_softc *tp = ifp->if_softc; local
1031 struct tun_softc *tp; local
1066 struct tun_softc *tp = kn->kn_hook; local
1076 struct tun_softc *tp = kn->kn_hook; local
1109 struct tun_softc *tp; local
    [all...]
  /src/sys/arch/mips/adm5120/dev/
uart.c 129 struct tty *tp; local
150 tp = tty_alloc();
151 tp->t_oproc = uart_start;
152 tp->t_param = uart_param;
153 sc->sc_tty = tp;
154 tp->t_dev = makedev(maj, minor);
155 tty_attach(tp);
158 cn_tab->cn_dev = tp->t_dev;
203 struct tty *tp = sc->sc_tty; local
208 tp->t_dev = dev
235 struct tty *tp = sc->sc_tty; local
247 struct tty *tp = sc->sc_tty; local
256 struct tty *tp = sc->sc_tty; local
265 struct tty *tp = sc->sc_tty; local
274 struct tty *tp = sc->sc_tty; local
336 struct tty *tp = sc->sc_tty; local
    [all...]
  /src/usr.sbin/lpr/lpd/
ttcompat.c 61 sttygetoflags(struct termios *tp)
63 tcflag_t iflag = tp->c_iflag;
64 tcflag_t lflag = tp->c_lflag;
65 tcflag_t oflag = tp->c_oflag;
66 tcflag_t cflag = tp->c_cflag;
98 sttysetoflags(struct termios *tp, int flags)
100 tcflag_t iflag = tp->c_iflag;
101 tcflag_t oflag = tp->c_oflag;
102 tcflag_t lflag = tp->c_lflag;
103 tcflag_t cflag = tp->c_cflag
    [all...]
  /src/sys/arch/sun2/dev/
kd.c 129 struct tty *tp; local
140 tp = tty_alloc();
141 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp);
142 tp->t_oproc = kdstart;
143 tp->t_param = kdparam;
144 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0);
146 tty_attach(tp);
147 kd->kd_tty = tp;
153 fbconstty = tp;
213 struct tty *tp; local
268 struct tty *tp; local
291 struct tty *tp; local
303 struct tty *tp; local
315 struct tty *tp; local
327 struct tty *tp; local
408 struct tty *tp = tpaddr; local
471 struct tty *tp; local
    [all...]
pcons.c 133 struct tty *tp; local
138 if ((tp = sc->of_tty) == NULL)
139 sc->of_tty = tp = tty_alloc();
140 tp->t_oproc = pconsstart;
141 tp->t_param = pconsparam;
142 tp->t_dev = dev;
144 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
146 if ((tp->t_state & TS_ISOPEN) == 0) {
147 ttychars(tp);
148 tp->t_iflag = TTYDEF_IFLAG
170 struct tty *tp = sc->of_tty; local
183 struct tty *tp = sc->of_tty; local
192 struct tty *tp = sc->of_tty; local
201 struct tty *tp = sc->of_tty; local
210 struct tty *tp = sc->of_tty; local
268 struct tty *tp = sc->of_tty; local
    [all...]
  /src/usr.bin/man/
manconf.c 102 TAG *tp; local
135 tp = gettag(p, 1);
136 if (!tp)
172 if (addentry(tp, t, 0) == -1)
178 if (addentry(tp, p, 0) == -1)
190 type = (char)((TAILQ_FIRST(&tp->entrylist) != NULL) ?
191 *(TAILQ_FIRST(&tp->entrylist)->s) : '\0');
202 tp->s, p);
206 if (addentry(tp, p, 0) == -1)
226 TAG *tp; local
    [all...]
  /src/sys/arch/x86/x86/
x86_tlb.c 92 #define TP_GET_COUNT(tp) ((tp)->tp_store[TP_COUNT] & PAGE_MASK)
93 #define TP_GET_USERPMAP(tp) ((tp)->tp_store[TP_USERPMAP] & 1)
94 #define TP_GET_GLOBAL(tp) ((tp)->tp_store[TP_GLOBAL] & 1)
95 #define TP_GET_DONE(tp) (atomic_load_relaxed(&(tp)->tp_store[TP_DONE]) & 1)
96 #define TP_GET_VA(tp, i) ((tp)->tp_store[(i)] & ~PAGE_MASK
175 pmap_tlb_packet_t *tp = (pmap_tlb_packet_t *)ci->ci_pmap_data; local
242 pmap_tlb_packet_t *tp; local
362 volatile pmap_tlb_packet_t *tp, *ts; local
    [all...]
  /src/sys/arch/sparc64/dev/
kd.c 126 struct tty *tp; local
131 tp = tty_alloc();
132 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp);
133 tp->t_oproc = kdstart;
134 tp->t_param = kdparam;
135 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0);
137 tty_attach(tp);
138 kd->kd_tty = tp;
144 fbconstty = tp;
170 struct tty *tp; local
225 struct tty *tp; local
248 struct tty *tp; local
260 struct tty *tp; local
272 struct tty *tp; local
284 struct tty *tp; local
363 struct tty *tp = tpaddr; local
426 struct tty *tp; local
    [all...]
pcons.c 135 struct tty *tp; local
140 if (!(tp = sc->of_tty))
141 sc->of_tty = tp = tty_alloc();
142 tp->t_oproc = pconsstart;
143 tp->t_param = pconsparam;
144 tp->t_dev = dev;
146 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
148 if (!(tp->t_state & TS_ISOPEN)) {
149 ttychars(tp);
150 tp->t_iflag = TTYDEF_IFLAG
172 struct tty *tp = sc->of_tty; local
185 struct tty *tp = sc->of_tty; local
194 struct tty *tp = sc->of_tty; local
203 struct tty *tp = sc->of_tty; local
212 struct tty *tp = sc->of_tty; local
267 struct tty *tp = sc->of_tty; local
    [all...]

Completed in 35 milliseconds

1 2 3 4 5 6 7 8 91011>>