/freebsd-9.3-release/sys/sys/ |
H A D | sockbuf.h | 40 #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 D | aio.h | 138 struct sockbuf; 140 extern void (*aio_swake)(struct socket *, struct sockbuf *);
|
H A D | socketvar.h | 42 #include <sys/sockbuf.h> 107 struct sockbuf so_rcv, so_snd; 370 void sowakeup(struct socket *so, struct sockbuf *sb);
|
H A D | socket.h | 653 struct sockbuf *so_sockbuf_snd(struct socket *); 654 struct sockbuf *so_sockbuf_rcv(struct socket *);
|
/freebsd-9.3-release/sys/kern/ |
H A D | uipc_sockbuf.c | 56 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 D | uipc_debug.c | 383 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 D | uipc_socket.c | 1483 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 D | vfs_aio.c | 350 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 D | accf_dns.c | 55 static int skippacket(struct sockbuf *sb); 75 struct sockbuf *sb = &so->so_rcv; 114 skippacket(struct sockbuf *sb) {
|
H A D | sctputil.h | 111 struct sockbuf *sb, 127 struct sockbuf *sb); 354 sctp_sblog(struct sockbuf *sb,
|
H A D | accf_http.c | 53 static int sbfull(struct sockbuf *sb); 88 sbfull(struct sockbuf *sb)
|
H A D | sctputil.c | 65 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 D | send.c | 39 #include <sys/sockbuf.h>
|
/freebsd-9.3-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 46 #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 D | t4_ddp.c | 214 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 D | t4_cpl_io.c | 334 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 D | t4_tom.c | 185 struct sockbuf *sb; 229 struct sockbuf *sb;
|
/freebsd-9.3-release/sys/netipx/ |
H A D | spx_usrreq.c | 440 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 D | fifo_vnops.c | 605 struct sockbuf *sb;
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/ulp/sdp/ |
H A D | sdp_main.c | 852 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 D | clnt_dg.c | 188 struct sockbuf *sb;
|
/freebsd-9.3-release/usr.bin/netstat/ |
H A D | inet.c | 138 sbtoxsockbuf(struct sockbuf *sb, struct xsockbuf *xsb)
|
/freebsd-9.3-release/sys/netgraph/bluetooth/socket/ |
H A D | ng_btsocket_rfcomm.c | 190 (struct sockbuf *sb, int length); 3517 ng_btsocket_rfcomm_prepare_packet(struct sockbuf *sb, int length)
|