Lines Matching refs:so_flags

732 		so->so_flags |= SOF_DELEGATED;  in socreate_internal()
781 so->so_flags |= SOF_PCBCLEARING; in socreate_internal()
823 so->so_flags |= SOF_NODEFUNCT; in socreate_internal()
931 if (so->so_flags & SOF_DEFUNCT) { in sobindlock()
1031 (so->so_flags & SOF_DEFUNCT)) { in solisten()
1033 if (so->so_flags & SOF_DEFUNCT) { in solisten()
1164 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref()
1170 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref()
1179 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref()
1261 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked()
1266 so->so_flags |= SOF_CLOSEWAIT; in soclose_wait_locked()
1271 so->so_flags &= ~SOF_CLOSEWAIT; in soclose_wait_locked()
1300 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in soclose_locked()
1347 if (sp->so_flags & SOF_OVERFLOW) { in soclose_locked()
1425 so->so_flags |= SOF_PCBCLEARING; in soclose_locked()
1472 if (so->so_pcb != NULL && !(so->so_flags & SOF_PCBCLEARING)) { in soclose_locked()
1483 if (so->so_pcb != NULL && !(so->so_flags & SOF_MP_SUBFLOW) && in soclose_locked()
1490 if ((so->so_flags & SOF_KNOTE) != 0) { in soclose_locked()
1545 if ((so->so_flags & SOF_ABORTED) == 0) { in soabort()
1546 so->so_flags |= SOF_ABORTED; in soabort()
1676 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectlock()
1678 if (so->so_flags & SOF_DEFUNCT) { in soconnectlock()
1714 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &metadata) == 0… in soconnectlock()
1804 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectxlocked()
1806 if (so->so_flags & SOF_DEFUNCT) { in soconnectxlocked()
1838 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &metadata) == 0… in soconnectxlocked()
2016 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2029 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2107 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2324 ((so->so_flags & SOF_MULTIPAGES) || in sosend()
2995 if (so->so_flags & SOF_DEFUNCT) { in soreceive_addr()
3353 if (so->so_flags & SOF_DEFUNCT) { in soreceive()
3499 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in soreceive()
4134 if (so->so_flags & SOF_DEFUNCT) { in soreceive_m_list()
4502 if (so->so_flags & SOF_CONTENT_FILTER) { in soshutdownlock()
4761 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check()
4822 (so->so_flags & SOF_NPX_SETOPTSHUT) == 0) { in sosetoptlock()
5037 so->so_flags |= SOF_NOSIGPIPE; in sosetoptlock()
5039 so->so_flags &= ~SOF_NOSIGPIPE; in sosetoptlock()
5050 so->so_flags |= SOF_NOADDRAVAIL; in sosetoptlock()
5052 so->so_flags &= ~SOF_NOADDRAVAIL; in sosetoptlock()
5063 so->so_flags |= SOF_REUSESHAREUID; in sosetoptlock()
5065 so->so_flags &= ~SOF_REUSESHAREUID; in sosetoptlock()
5080 so->so_flags |= SOF_NOTIFYCONFLICT; in sosetoptlock()
5082 so->so_flags &= ~SOF_NOTIFYCONFLICT; in sosetoptlock()
5152 so->so_flags |= SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5154 so->so_flags &= ~SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5165 so->so_flags |= SOF_BINDRANDOMPORT; in sosetoptlock()
5167 so->so_flags &= ~SOF_BINDRANDOMPORT; in sosetoptlock()
5188 so->so_flags |= SOF_NPX_SETOPTSHUT; in sosetoptlock()
5190 so->so_flags &= ~SOF_NPX_SETOPTSHUT; in sosetoptlock()
5223 so->so_flags &= ~SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5225 so->so_flags |= SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5259 so->so_flags &= ~SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5261 so->so_flags |= SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5278 if (error != 0 || (so->so_flags & SOF_DEFUNCT)) { in sosetoptlock()
5295 so->so_flags &= ~SOF_NODEFUNCT; in sosetoptlock()
5297 so->so_flags |= SOF_NODEFUNCT; in sosetoptlock()
5323 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5333 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5691 so->so_flags &= ~SOF_MARK_WAKE_PKT; in sosetoptlock()
5693 so->so_flags |= SOF_MARK_WAKE_PKT; in sosetoptlock()
5704 so->so_flags &= ~SOF_RECV_WAKE_PKT; in sosetoptlock()
5706 so->so_flags |= SOF_RECV_WAKE_PKT; in sosetoptlock()
6001 optval = (so->so_flags & SOF_NOSIGPIPE); in sogetoptlock()
6005 optval = (so->so_flags & SOF_NOADDRAVAIL); in sogetoptlock()
6009 optval = (so->so_flags & SOF_REUSESHAREUID); in sogetoptlock()
6014 optval = (so->so_flags & SOF_NOTIFYCONFLICT); in sogetoptlock()
6052 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT); in sogetoptlock()
6056 optval = (so->so_flags & SOF_BINDRANDOMPORT); in sogetoptlock()
6062 sonpx.npx_flags = (so->so_flags & SOF_NPX_SETOPTSHUT) ? in sogetoptlock()
6076 optval = (so->so_flags & SOF_RECV_TRAFFIC_CLASS); in sogetoptlock()
6086 optval = (so->so_flags & SOF_PRIVILEGED_TRAFFIC_CLASS); in sogetoptlock()
6090 optval = !(so->so_flags & SOF_NODEFUNCT); in sogetoptlock()
6094 optval = (so->so_flags & SOF_DEFUNCT); in sogetoptlock()
6244 optval = (so->so_flags & SOF_MARK_WAKE_PKT); in sogetoptlock()
6247 optval = (so->so_flags & SOF_RECV_WAKE_PKT); in sogetoptlock()
6780 if ((so->so_flags & SOF_NOTSENT_LOWAT) in filt_sowrite_common()
6964 (so->so_flags & SOF_SUSPENDED)) { in filt_sockev_common()
6975 (so->so_flags & SOF_SUSPENDED) == 0) { in filt_sockev_common()
7045 so->so_flags |= SOF_KNOTE; in filt_sockattach()
7058 if ((so->so_flags & SOF_KNOTE) != 0) { in filt_sockdetach()
7060 so->so_flags &= ~SOF_KNOTE; in filt_sockdetach()
7333 so->so_flags |= SOF_MULTIPAGES; in somultipages()
7335 so->so_flags &= ~SOF_MULTIPAGES; in somultipages()
7372 defunct = (so->so_flags & SOF_DEFUNCT); in sosetdefunct()
7381 if (so->so_flags & SOF_NODEFUNCT) { in sosetdefunct()
7396 so->so_flags &= ~SOF_NODEFUNCT; in sosetdefunct()
7413 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct()
7441 so->so_flags |= SOF_DEFUNCT; in sosetdefunct()
7478 if (!(so->so_flags & SOF_DEFUNCT)) { in sodefunct()
7668 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle()
7700 if (so->so_flags & SOF_DEFUNCT) { in so_stop_extended_bk_idle()
7926 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid()
7931 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid()
7963 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_pid()
8043 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_uuid()
8048 so->so_flags |= SOF_DELEGATED; in so_set_effective_uuid()
8072 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_uuid()