Lines Matching refs:so_flags

731 		so->so_flags |= SOF_DELEGATED;  in socreate_internal()
780 so->so_flags |= SOF_PCBCLEARING; in socreate_internal()
817 so->so_flags |= SOF_NODEFUNCT; in socreate_internal()
925 if (so->so_flags & SOF_DEFUNCT) { in sobindlock()
1025 (so->so_flags & SOF_DEFUNCT)) { in solisten()
1027 if (so->so_flags & SOF_DEFUNCT) { in solisten()
1158 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref()
1164 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref()
1173 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref()
1255 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked()
1260 so->so_flags |= SOF_CLOSEWAIT; in soclose_wait_locked()
1265 so->so_flags &= ~SOF_CLOSEWAIT; in soclose_wait_locked()
1294 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in soclose_locked()
1341 if (sp->so_flags & SOF_OVERFLOW) { in soclose_locked()
1419 so->so_flags |= SOF_PCBCLEARING; in soclose_locked()
1466 if (so->so_pcb != NULL && !(so->so_flags & SOF_PCBCLEARING)) { in soclose_locked()
1477 if (so->so_pcb != NULL && !(so->so_flags & SOF_MP_SUBFLOW) && in soclose_locked()
1484 if ((so->so_flags & SOF_KNOTE) != 0) { in soclose_locked()
1539 if ((so->so_flags & SOF_ABORTED) == 0) { in soabort()
1540 so->so_flags |= SOF_ABORTED; in soabort()
1670 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectlock()
1672 if (so->so_flags & SOF_DEFUNCT) { in soconnectlock()
1711 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &metadata) == 0… in soconnectlock()
1734 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &update_metad… in soconnectlock()
1810 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectxlocked()
1812 if (so->so_flags & SOF_DEFUNCT) { in soconnectxlocked()
1847 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &metadata) == 0… in soconnectxlocked()
1922 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &update_metad… in soconnectxlocked()
2036 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2049 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2127 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2344 ((so->so_flags & SOF_MULTIPAGES) || in sosend()
3027 if (so->so_flags & SOF_DEFUNCT) { in soreceive_addr()
3387 if (so->so_flags & SOF_DEFUNCT) { in soreceive()
3533 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in soreceive()
4169 if (so->so_flags & SOF_DEFUNCT) { in soreceive_m_list()
4536 if (so->so_flags & SOF_CONTENT_FILTER) { in soshutdownlock()
4845 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check()
4906 (so->so_flags & SOF_NPX_SETOPTSHUT) == 0) { in sosetoptlock()
5121 so->so_flags |= SOF_NOSIGPIPE; in sosetoptlock()
5123 so->so_flags &= ~SOF_NOSIGPIPE; in sosetoptlock()
5134 so->so_flags |= SOF_NOADDRAVAIL; in sosetoptlock()
5136 so->so_flags &= ~SOF_NOADDRAVAIL; in sosetoptlock()
5147 so->so_flags |= SOF_REUSESHAREUID; in sosetoptlock()
5149 so->so_flags &= ~SOF_REUSESHAREUID; in sosetoptlock()
5164 so->so_flags |= SOF_NOTIFYCONFLICT; in sosetoptlock()
5166 so->so_flags &= ~SOF_NOTIFYCONFLICT; in sosetoptlock()
5236 so->so_flags |= SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5238 so->so_flags &= ~SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5249 so->so_flags |= SOF_BINDRANDOMPORT; in sosetoptlock()
5251 so->so_flags &= ~SOF_BINDRANDOMPORT; in sosetoptlock()
5272 so->so_flags |= SOF_NPX_SETOPTSHUT; in sosetoptlock()
5274 so->so_flags &= ~SOF_NPX_SETOPTSHUT; in sosetoptlock()
5307 so->so_flags &= ~SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5309 so->so_flags |= SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5343 so->so_flags &= ~SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5345 so->so_flags |= SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5362 if (error != 0 || (so->so_flags & SOF_DEFUNCT)) { in sosetoptlock()
5379 so->so_flags &= ~SOF_NODEFUNCT; in sosetoptlock()
5381 so->so_flags |= SOF_NODEFUNCT; in sosetoptlock()
5407 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5417 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5775 so->so_flags &= ~SOF_MARK_WAKE_PKT; in sosetoptlock()
5777 so->so_flags |= SOF_MARK_WAKE_PKT; in sosetoptlock()
5788 so->so_flags &= ~SOF_RECV_WAKE_PKT; in sosetoptlock()
5790 so->so_flags |= SOF_RECV_WAKE_PKT; in sosetoptlock()
6091 optval = (so->so_flags & SOF_NOSIGPIPE); in sogetoptlock()
6095 optval = (so->so_flags & SOF_NOADDRAVAIL); in sogetoptlock()
6099 optval = (so->so_flags & SOF_REUSESHAREUID); in sogetoptlock()
6104 optval = (so->so_flags & SOF_NOTIFYCONFLICT); in sogetoptlock()
6142 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT); in sogetoptlock()
6146 optval = (so->so_flags & SOF_BINDRANDOMPORT); in sogetoptlock()
6152 sonpx.npx_flags = (so->so_flags & SOF_NPX_SETOPTSHUT) ? in sogetoptlock()
6166 optval = (so->so_flags & SOF_RECV_TRAFFIC_CLASS); in sogetoptlock()
6176 optval = (so->so_flags & SOF_PRIVILEGED_TRAFFIC_CLASS); in sogetoptlock()
6180 optval = !(so->so_flags & SOF_NODEFUNCT); in sogetoptlock()
6184 optval = (so->so_flags & SOF_DEFUNCT); in sogetoptlock()
6334 optval = (so->so_flags & SOF_MARK_WAKE_PKT); in sogetoptlock()
6337 optval = (so->so_flags & SOF_RECV_WAKE_PKT); in sogetoptlock()
6875 if ((so->so_flags & SOF_NOTSENT_LOWAT) in filt_sowrite_common()
7059 (so->so_flags & SOF_SUSPENDED)) { in filt_sockev_common()
7070 (so->so_flags & SOF_SUSPENDED) == 0) { in filt_sockev_common()
7140 so->so_flags |= SOF_KNOTE; in filt_sockattach()
7153 if ((so->so_flags & SOF_KNOTE) != 0) { in filt_sockdetach()
7155 so->so_flags &= ~SOF_KNOTE; in filt_sockdetach()
7424 so->so_flags |= SOF_MULTIPAGES; in somultipages()
7426 so->so_flags &= ~SOF_MULTIPAGES; in somultipages()
7463 defunct = (so->so_flags & SOF_DEFUNCT); in sosetdefunct()
7472 if (so->so_flags & SOF_NODEFUNCT) { in sosetdefunct()
7487 so->so_flags &= ~SOF_NODEFUNCT; in sosetdefunct()
7504 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct()
7532 so->so_flags |= SOF_DEFUNCT; in sosetdefunct()
7569 if (!(so->so_flags & SOF_DEFUNCT)) { in sodefunct()
7759 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle()
7791 if (so->so_flags & SOF_DEFUNCT) { in so_stop_extended_bk_idle()
8017 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid()
8022 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid()
8054 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_pid()
8134 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_uuid()
8139 so->so_flags |= SOF_DELEGATED; in so_set_effective_uuid()
8163 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_uuid()