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()
2872 if (so->so_flags & SOF_DEFUNCT) { in soreceive_addr()
3232 if (so->so_flags & SOF_DEFUNCT) { in soreceive()
3378 (SS_NOFDREF | SS_CANTRCVMORE) && !(so->so_flags & SOF_MP_SUBFLOW)) { in soreceive()
4014 if (so->so_flags & SOF_DEFUNCT) { in soreceive_m_list()
4381 if (so->so_flags & SOF_CONTENT_FILTER) { in soshutdownlock()
4690 if (ignore_delegate == false && so->so_flags & SOF_DELEGATED) { in soopt_cred_check()
4751 (so->so_flags & SOF_NPX_SETOPTSHUT) == 0) { in sosetoptlock()
4966 so->so_flags |= SOF_NOSIGPIPE; in sosetoptlock()
4968 so->so_flags &= ~SOF_NOSIGPIPE; in sosetoptlock()
4979 so->so_flags |= SOF_NOADDRAVAIL; in sosetoptlock()
4981 so->so_flags &= ~SOF_NOADDRAVAIL; in sosetoptlock()
4992 so->so_flags |= SOF_REUSESHAREUID; in sosetoptlock()
4994 so->so_flags &= ~SOF_REUSESHAREUID; in sosetoptlock()
5009 so->so_flags |= SOF_NOTIFYCONFLICT; in sosetoptlock()
5011 so->so_flags &= ~SOF_NOTIFYCONFLICT; in sosetoptlock()
5081 so->so_flags |= SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5083 so->so_flags &= ~SOF_UPCALLCLOSEWAIT; in sosetoptlock()
5094 so->so_flags |= SOF_BINDRANDOMPORT; in sosetoptlock()
5096 so->so_flags &= ~SOF_BINDRANDOMPORT; in sosetoptlock()
5117 so->so_flags |= SOF_NPX_SETOPTSHUT; in sosetoptlock()
5119 so->so_flags &= ~SOF_NPX_SETOPTSHUT; in sosetoptlock()
5152 so->so_flags &= ~SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5154 so->so_flags |= SOF_RECV_TRAFFIC_CLASS; in sosetoptlock()
5188 so->so_flags &= ~SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5190 so->so_flags |= SOF_PRIVILEGED_TRAFFIC_CLASS; in sosetoptlock()
5207 if (error != 0 || (so->so_flags & SOF_DEFUNCT)) { in sosetoptlock()
5224 so->so_flags &= ~SOF_NODEFUNCT; in sosetoptlock()
5226 so->so_flags |= SOF_NODEFUNCT; in sosetoptlock()
5252 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5262 (so->so_flags & SOF_NODEFUNCT) ? in sosetoptlock()
5620 so->so_flags &= ~SOF_MARK_WAKE_PKT; in sosetoptlock()
5622 so->so_flags |= SOF_MARK_WAKE_PKT; in sosetoptlock()
5633 so->so_flags &= ~SOF_RECV_WAKE_PKT; in sosetoptlock()
5635 so->so_flags |= SOF_RECV_WAKE_PKT; in sosetoptlock()
5977 optval = (so->so_flags & SOF_NOSIGPIPE); in sogetoptlock()
5981 optval = (so->so_flags & SOF_NOADDRAVAIL); in sogetoptlock()
5985 optval = (so->so_flags & SOF_REUSESHAREUID); in sogetoptlock()
5990 optval = (so->so_flags & SOF_NOTIFYCONFLICT); in sogetoptlock()
6028 optval = (so->so_flags & SOF_UPCALLCLOSEWAIT); in sogetoptlock()
6032 optval = (so->so_flags & SOF_BINDRANDOMPORT); in sogetoptlock()
6038 sonpx.npx_flags = (so->so_flags & SOF_NPX_SETOPTSHUT) ? in sogetoptlock()
6052 optval = (so->so_flags & SOF_RECV_TRAFFIC_CLASS); in sogetoptlock()
6062 optval = (so->so_flags & SOF_PRIVILEGED_TRAFFIC_CLASS); in sogetoptlock()
6066 optval = !(so->so_flags & SOF_NODEFUNCT); in sogetoptlock()
6070 optval = (so->so_flags & SOF_DEFUNCT); in sogetoptlock()
6220 optval = (so->so_flags & SOF_MARK_WAKE_PKT); in sogetoptlock()
6223 optval = (so->so_flags & SOF_RECV_WAKE_PKT); in sogetoptlock()
6783 if ((so->so_flags & SOF_NOTSENT_LOWAT) in filt_sowrite_common()
6967 (so->so_flags & SOF_SUSPENDED)) { in filt_sockev_common()
6978 (so->so_flags & SOF_SUSPENDED) == 0) { in filt_sockev_common()
7048 so->so_flags |= SOF_KNOTE; in filt_sockattach()
7061 if ((so->so_flags & SOF_KNOTE) != 0) { in filt_sockdetach()
7063 so->so_flags &= ~SOF_KNOTE; in filt_sockdetach()
7332 so->so_flags |= SOF_MULTIPAGES; in somultipages()
7334 so->so_flags &= ~SOF_MULTIPAGES; in somultipages()
7371 defunct = (so->so_flags & SOF_DEFUNCT); in sosetdefunct()
7380 if (so->so_flags & SOF_NODEFUNCT) { in sosetdefunct()
7395 so->so_flags &= ~SOF_NODEFUNCT; in sosetdefunct()
7412 } else if (so->so_flags & SOF_DELEGATED) { in sosetdefunct()
7440 so->so_flags |= SOF_DEFUNCT; in sosetdefunct()
7477 if (!(so->so_flags & SOF_DEFUNCT)) { in sodefunct()
7667 } else if (so->so_flags & SOF_DELEGATED) { in so_set_extended_bk_idle()
7699 if (so->so_flags & SOF_DEFUNCT) { in so_stop_extended_bk_idle()
7925 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_pid()
7930 so->so_flags |= SOF_DELEGATED; in so_set_effective_pid()
7962 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_pid()
8042 so->so_flags &= ~SOF_DELEGATED; in so_set_effective_uuid()
8047 so->so_flags |= SOF_DELEGATED; in so_set_effective_uuid()
8071 ((so->so_flags & SOF_DELEGATED) ? " [delegated]" : "")); in so_set_effective_uuid()