Lines Matching refs:so_snd
536 sb_dst = &so_dst->so_snd; in so_splice_xfer_data()
659 sbspace(&so_dst->so_snd) > 0) { in so_splice_xfer()
811 so->so_snd.sb_sel = &so->so_wrsel; in soalloc()
814 TAILQ_INIT(&so->so_snd.sb_aiojobq); in soalloc()
816 TASK_INIT(&so->so_snd.sb_aiotask, 0, soaio_snd, so); in soalloc()
878 if (so->so_snd.sb_hiwat) in sodealloc()
880 &so->so_snd.sb_hiwat, 0, RLIM_INFINITY); in sodealloc()
958 so->so_snd.sb_mtx = &so->so_snd_mtx; in socreate()
1201 so->so_snd.sb_lowat = head->sol_sbsnd_lowat;
1203 so->so_snd.sb_timeo = head->sol_sbsnd_timeo;
1205 so->so_snd.sb_flags = head->sol_sbsnd_flags & SB_AUTOSIZE;
1207 so->so_snd.sb_mtx = &so->so_snd_mtx;
1326 if (soreserve(so, head->so_snd.sb_hiwat, head->so_rcv.sb_hiwat)) {
1339 so->so_snd.sb_lowat = head->so_snd.sb_lowat;
1341 so->so_snd.sb_timeo = head->so_snd.sb_timeo;
1343 so->so_snd.sb_flags |= head->so_snd.sb_flags & SB_AUTOSIZE;
1345 so->so_snd.sb_mtx = &so->so_snd_mtx;
1433 ktls = so->so_snd.sb_tls_info != NULL ||
1439 (so->so_snd.sb_flags & (SB_AIO | SB_AIO_RUNNING)) != 0 ||
1481 sbsnd_lowat = so->so_snd.sb_lowat;
1483 sbsnd_hiwat = so->so_snd.sb_hiwat;
1485 sbsnd_flags = so->so_snd.sb_flags;
1487 sbsnd_timeo = so->so_snd.sb_timeo;
1722 so2->so_snd.sb_flags |= SB_SPLICED;
1773 KASSERT((so2->so_snd.sb_flags & SB_SPLICED) != 0,
1777 so2->so_snd.sb_flags &= ~SB_SPLICED;
1841 KASSERT(SOLISTENING(so) || (so->so_snd.sb_flags & SB_SPLICED) == 0,
2147 SOCKBUF_LOCK(&so->so_snd);
2148 if (so->so_snd.sb_state & SBS_CANTSENDMORE) {
2149 SOCKBUF_UNLOCK(&so->so_snd);
2156 SOCKBUF_UNLOCK(&so->so_snd);
2168 SOCKBUF_UNLOCK(&so->so_snd);
2177 SOCKBUF_UNLOCK(&so->so_snd);
2186 space = sbspace(&so->so_snd);
2190 SOCKBUF_UNLOCK(&so->so_snd);
2326 tls = ktls_hold(so->so_snd.sb_tls_info);
2353 SOCKBUF_LOCK(&so->so_snd);
2354 if (so->so_snd.sb_state & SBS_CANTSENDMORE) {
2355 SOCKBUF_UNLOCK(&so->so_snd);
2362 SOCKBUF_UNLOCK(&so->so_snd);
2375 SOCKBUF_UNLOCK(&so->so_snd);
2380 SOCKBUF_UNLOCK(&so->so_snd);
2388 space = sbspace(&so->so_snd);
2391 if ((atomic && resid > so->so_snd.sb_hiwat) ||
2392 clen > so->so_snd.sb_hiwat) {
2393 SOCKBUF_UNLOCK(&so->so_snd);
2398 (atomic || space < so->so_snd.sb_lowat || space < clen)) {
2401 SOCKBUF_UNLOCK(&so->so_snd);
2406 SOCKBUF_UNLOCK(&so->so_snd);
2411 SOCKBUF_UNLOCK(&so->so_snd);
3897 &so->so_snd.sb_timeo) :
4122 so->so_snd.sb_hiwat;
4136 so->so_snd.sb_lowat;
4152 so->so_snd.sb_timeo) :
4439 if (so->so_snd.sb_state & SBS_CANTSENDMORE)
4453 so->so_snd.sb_flags |= SB_SEL;
4481 sb = &so->so_snd;
4487 sb = &so->so_snd;
4573 so->so_snd.sb_flags &= ~SB_KNOTE;
4589 kn->kn_data = sbspace(&so->so_snd);
4595 if (so->so_snd.sb_state & SBS_CANTSENDMORE) {
4607 return (kn->kn_data >= so->so_snd.sb_lowat);
4621 kn->kn_data = sbused(&so->so_snd);
4796 sbdrop_locked(&so->so_snd, sbused(&so->so_snd));
4876 sb = &so->so_snd;
4897 sb = &so->so_snd;
5046 sbtoxsockbuf(&so->so_snd, &xso->so_snd);