Lines Matching refs:so_flags

571 		so->so_flags |= SOF_DELEGATED;  in socreate_internal()
622 so->so_flags |= SOF_PCBCLEARING; in socreate_internal()
659 so->so_flags |= SOF_NODEFUNCT; in socreate_internal()
767 if (so->so_flags & SOF_DEFUNCT) { in sobindlock()
865 (so->so_flags & SOF_DEFUNCT)) { in solisten()
867 if (so->so_flags & SOF_DEFUNCT) { in solisten()
998 if (so->so_flags & SOF_FLOW_DIVERT) { in sofreelastref()
1004 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in sofreelastref()
1013 if (!(so->so_flags & SOF_PCBCLEARING) || !(so->so_state & SS_NOFDREF)) { in sofreelastref()
1095 if (!so->so_upcallusecount || !(so->so_flags & SOF_UPCALLCLOSEWAIT)) { in soclose_wait_locked()
1100 so->so_flags |= SOF_CLOSEWAIT; in soclose_wait_locked()
1105 so->so_flags &= ~SOF_CLOSEWAIT; in soclose_wait_locked()
1134 if ((so->so_flags & SOF_CONTENT_FILTER) != 0) { in soclose_locked()
1181 if (sp->so_flags & SOF_OVERFLOW) { in soclose_locked()
1259 so->so_flags |= SOF_PCBCLEARING; in soclose_locked()
1306 if (so->so_pcb != NULL && !(so->so_flags & SOF_PCBCLEARING)) { in soclose_locked()
1317 if (so->so_pcb != NULL && !(so->so_flags & SOF_MP_SUBFLOW) && in soclose_locked()
1324 if ((so->so_flags & SOF_KNOTE) != 0) { in soclose_locked()
1379 if ((so->so_flags & SOF_ABORTED) == 0) { in soabort()
1380 so->so_flags |= SOF_ABORTED; in soabort()
1510 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectlock()
1512 if (so->so_flags & SOF_DEFUNCT) { in soconnectlock()
1551 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &metadata) == 0… in soconnectlock()
1574 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, nam, &update_metad… in soconnectlock()
1650 if ((so->so_options & SO_ACCEPTCONN) || (so->so_flags & SOF_DEFUNCT)) { in soconnectxlocked()
1652 if (so->so_flags & SOF_DEFUNCT) { in soconnectxlocked()
1687 …if (tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &metadata) == 0… in soconnectxlocked()
1762 …(void)tracker_lookup(so->so_flags & SOF_DELEGATED ? so->e_uuid : so->last_uuid, dst, &update_metad… in soconnectxlocked()
1877 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
1890 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
1968 if (so->so_flags & SOF_DEFUNCT) { in sosendcheck()
2190 jumbocl = (so->so_flags & SOF_MULTIPAGES) != 0 && in sosend()
2881 if (so->so_flags & SOF_DEFUNCT) { in soreceive_addr()
3241 if (so->so_flags & SOF_DEFUNCT) { in soreceive()
3387 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in soreceive()
4023 if (so->so_flags & SOF_DEFUNCT) { in soreceive_m_list()
4390 if (so->so_flags & SOF_CONTENT_FILTER) { in soshutdownlock()
4699 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check()
4760 (so->so_flags & SOF_NPX_SETOPTSHUT) == 0) { in sosetoptlock()
4975 so->so_flags |= SOF_NOSIGPIPE; in sosetoptlock()
4977 so->so_flags &= ~SOF_NOSIGPIPE; in sosetoptlock()
4988 so->so_flags |= SOF_NOADDRAVAIL; in sosetoptlock()
4990 so->so_flags &= ~SOF_NOADDRAVAIL; in sosetoptlock()
5001 so->so_flags |= SOF_REUSESHAREUID; in sosetoptlock()
5003 so->so_flags &= ~SOF_REUSESHAREUID; in sosetoptlock()
5018 so->so_flags |= SOF_NOTIFYCONFLICT; in sosetoptlock()
5020 so->so_flags &= ~SOF_NOTIFYCONFLICT; in sosetoptlock()
5090 so->so_flags |= SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5092 so->so_flags &= ~SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5103 so->so_flags |= SOF_BINDRANDOMPORT; in sosetoptlock()
5105 so->so_flags &= ~SOF_BINDRANDOMPORT; in sosetoptlock()
5126 so->so_flags |= SOF_NPX_SETOPTSHUT; in sosetoptlock()
5128 so->so_flags &= ~SOF_NPX_SETOPTSHUT; in sosetoptlock()
5161 so->so_flags &= ~SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5163 so->so_flags |= SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5197 so->so_flags &= ~SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5199 so->so_flags |= SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5216 if (error != 0 || (so->so_flags & SOF_DEFUNCT)) { in sosetoptlock()
5233 so->so_flags &= ~SOF_NODEFUNCT; in sosetoptlock()
5235 so->so_flags |= SOF_NODEFUNCT; in sosetoptlock()
5261 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5271 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5629 so->so_flags &= ~SOF_MARK_WAKE_PKT; in sosetoptlock()
5631 so->so_flags |= SOF_MARK_WAKE_PKT; in sosetoptlock()
5642 so->so_flags &= ~SOF_RECV_WAKE_PKT; in sosetoptlock()
5644 so->so_flags |= SOF_RECV_WAKE_PKT; in sosetoptlock()
5986 optval = (so->so_flags & SOF_NOSIGPIPE); in sogetoptlock()
5990 optval = (so->so_flags & SOF_NOADDRAVAIL); in sogetoptlock()
5994 optval = (so->so_flags & SOF_REUSESHAREUID); in sogetoptlock()
5999 optval = (so->so_flags & SOF_NOTIFYCONFLICT); in sogetoptlock()
6037 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT); in sogetoptlock()
6041 optval = (so->so_flags & SOF_BINDRANDOMPORT); in sogetoptlock()
6047 sonpx.npx_flags = (so->so_flags & SOF_NPX_SETOPTSHUT) ? in sogetoptlock()
6061 optval = (so->so_flags & SOF_RECV_TRAFFIC_CLASS); in sogetoptlock()
6071 optval = (so->so_flags & SOF_PRIVILEGED_TRAFFIC_CLASS); in sogetoptlock()
6075 optval = !(so->so_flags & SOF_NODEFUNCT); in sogetoptlock()
6079 optval = (so->so_flags & SOF_DEFUNCT); in sogetoptlock()
6229 optval = (so->so_flags & SOF_MARK_WAKE_PKT); in sogetoptlock()
6232 optval = (so->so_flags & SOF_RECV_WAKE_PKT); in sogetoptlock()
6792 if ((so->so_flags & SOF_NOTSENT_LOWAT) in filt_sowrite_common()
6976 (so->so_flags & SOF_SUSPENDED)) { in filt_sockev_common()
6987 (so->so_flags & SOF_SUSPENDED) == 0) { in filt_sockev_common()
7057 so->so_flags |= SOF_KNOTE; in filt_sockattach()
7070 if ((so->so_flags & SOF_KNOTE) != 0) { in filt_sockdetach()
7072 so->so_flags &= ~SOF_KNOTE; in filt_sockdetach()
7341 so->so_flags |= SOF_MULTIPAGES; in somultipages()
7343 so->so_flags &= ~SOF_MULTIPAGES; in somultipages()
7380 defunct = (so->so_flags & SOF_DEFUNCT); in sosetdefunct()
7389 if (so->so_flags & SOF_NODEFUNCT) { in sosetdefunct()
7404 so->so_flags &= ~SOF_NODEFUNCT; in sosetdefunct()
7421 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct()
7449 so->so_flags |= SOF_DEFUNCT; in sosetdefunct()
7486 if (!(so->so_flags & SOF_DEFUNCT)) { in sodefunct()
7676 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle()
7708 if (so->so_flags & SOF_DEFUNCT) { in so_stop_extended_bk_idle()
7934 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid()
7939 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid()
7971 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_pid()
8051 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_uuid()
8056 so->so_flags |= SOF_DELEGATED; in so_set_effective_uuid()
8080 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_uuid()