Searched refs:sockbuf (Results 1 - 23 of 23) sorted by relevance

/freebsd-9.3-release/sys/sys/
H A Dsockbuf.h40 #define SB_MAX (2*1024*1024) /* default for max chars in sockbuf */
43 * Constants for sb_flags field of struct sockbuf.
80 struct sockbuf { struct
82 struct mtx sb_mtx; /* sockbuf lock */
84 short sb_state; /* (c/d) socket state on sockbuf */
122 void sbappend(struct sockbuf *sb, struct mbuf *m);
123 void sbappend_locked(struct sockbuf *sb, struct mbuf *m);
124 void sbappendstream(struct sockbuf *sb, struct mbuf *m);
125 void sbappendstream_locked(struct sockbuf *sb, struct mbuf *m);
126 int sbappendaddr(struct sockbuf *s
[all...]
H A Daio.h138 struct sockbuf;
140 extern void (*aio_swake)(struct socket *, struct sockbuf *);
H A Dsocketvar.h42 #include <sys/sockbuf.h>
107 struct sockbuf so_rcv, so_snd;
370 void sowakeup(struct socket *so, struct sockbuf *sb);
H A Dsocket.h653 struct sockbuf *so_sockbuf_snd(struct socket *);
654 struct sockbuf *so_sockbuf_rcv(struct socket *);
/freebsd-9.3-release/sys/kern/
H A Duipc_sockbuf.c56 void (*aio_swake)(struct socket *, struct sockbuf *);
68 static void sbdrop_internal(struct sockbuf *sb, int len);
69 static void sbflush_internal(struct sockbuf *sb);
124 sbwait(struct sockbuf *sb)
136 sblock(struct sockbuf *sb, int flags)
157 sbunlock(struct sockbuf *sb)
176 sowakeup(struct socket *so, struct sockbuf *sb)
210 * Socket buffer (struct sockbuf) utility routines.
285 * Allot mbufs to a sockbuf. Attempt to scale mbmax so that mbcnt doesn't
289 sbreserve_locked(struct sockbuf *s
[all...]
H A Duipc_debug.c383 db_print_sockbuf(struct sockbuf *sb, const char *sockbufname, int indent)
493 DB_SHOW_COMMAND(sockbuf, db_show_sockbuf)
495 struct sockbuf *sb;
498 db_printf("usage: show sockbuf <addr>\n");
501 sb = (struct sockbuf *)addr;
503 db_print_sockbuf(sb, "sockbuf", 0);
H A Duipc_socket.c1483 sockbuf_pushsync(struct sockbuf *sb, struct mbuf *nextrecord)
1512 * records are added to the sockbuf by sbappend. In particular, each record
1518 * user space copy. Although the sockbuf is locked, new data may still be
1519 * appended, and thus we must maintain consistency of the sockbuf during that
1780 * to the sockbuf when we block interrupts again.
1898 * short count but without error. Keep sockbuf locked
1994 struct sockbuf *sb;
2081 * NB: Drops the sockbuf lock during wait.
2090 KASSERT(sb->sb_cc > 0, ("%s: sockbuf empty", __func__));
2127 len = 0; /* Don't flush data from sockbuf
[all...]
H A Dvfs_aio.c350 static void aio_swake_cb(struct socket *, struct sockbuf *);
1380 aio_swake_cb(struct socket *so, struct sockbuf *sb)
1533 struct sockbuf *sb;
1698 * and unlock the snd sockbuf for no reason.
/freebsd-9.3-release/sys/netinet/
H A Daccf_dns.c55 static int skippacket(struct sockbuf *sb);
75 struct sockbuf *sb = &so->so_rcv;
114 skippacket(struct sockbuf *sb) {
H A Dsctputil.h111 struct sockbuf *sb,
127 struct sockbuf *sb);
354 sctp_sblog(struct sockbuf *sb,
H A Daccf_http.c53 static int sbfull(struct sockbuf *sb);
88 sbfull(struct sockbuf *sb)
H A Dsctputil.c65 sctp_sblog(struct sockbuf *sb, struct sctp_tcb *stcb, int from, int incr)
3086 struct sockbuf *sb;
4346 struct sockbuf *sb,
4476 struct sockbuf *sb)
6209 uint8_t sockbuf[256]; local
6229 from = (struct sockaddr *)sockbuf;
6230 fromlen = sizeof(sockbuf);
/freebsd-9.3-release/sys/netinet6/
H A Dsend.c39 #include <sys/sockbuf.h>
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/
H A Dcxgb_cpl_io.c46 #include <sys/sockbuf.h>
355 struct sockbuf *snd;
432 struct sockbuf *snd;
592 struct sockbuf *so_rcv = &so->so_rcv;
1117 struct sockbuf *so_rcv;
1713 struct sockbuf *snd;
/freebsd-9.3-release/sys/dev/cxgbe/tom/
H A Dt4_ddp.c214 struct sockbuf *sb = &inp->inp_socket->so_rcv;
420 struct sockbuf *sb;
880 struct sockbuf *sb = &so->so_rcv;
1079 struct sockbuf *sb;
1179 * NB: Drops the sockbuf lock during wait.
1193 KASSERT(sb->sb_cc > 0, ("%s: sockbuf empty", __func__));
1228 len = 0; /* Don't flush data from sockbuf. */
H A Dt4_cpl_io.c334 struct sockbuf *sb = &so->so_rcv;
540 struct sockbuf *sb = &so->so_snd;
812 struct sockbuf *sb;
875 socantrcvmore_locked(so); /* unlocks the sockbuf */
1137 struct sockbuf *sb;
1410 struct sockbuf *sb = &so->so_snd;
H A Dt4_tom.c185 struct sockbuf *sb;
229 struct sockbuf *sb;
/freebsd-9.3-release/sys/netipx/
H A Dspx_usrreq.c440 struct sockbuf *sb = &so->so_snd;
1079 struct sockbuf *sb;
1513 struct sockbuf *sb = &(ipxp->ipxp_socket->so_snd);
/freebsd-9.3-release/sys/fs/fifofs/
H A Dfifo_vnops.c605 struct sockbuf *sb;
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_main.c852 sdp_append(struct sdp_sock *ssk, struct sockbuf *sb, struct mbuf *mb, int cnt)
1222 struct sockbuf *sb;
1315 * NB: Drops the sockbuf lock during wait.
1324 KASSERT(sb->sb_cc > 0, ("%s: sockbuf empty", __func__));
1356 len = 0; /* Don't flush data from sockbuf. */
/freebsd-9.3-release/sys/rpc/
H A Dclnt_dg.c188 struct sockbuf *sb;
/freebsd-9.3-release/usr.bin/netstat/
H A Dinet.c138 sbtoxsockbuf(struct sockbuf *sb, struct xsockbuf *xsb)
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/
H A Dng_btsocket_rfcomm.c190 (struct sockbuf *sb, int length);
3517 ng_btsocket_rfcomm_prepare_packet(struct sockbuf *sb, int length)

Completed in 310 milliseconds