Searched refs:so_count (Results 1 – 9 of 9) sorted by relevance
539 if (so->so_count > 1) { in ksocket_close()550 while (so->so_count > 1) in ksocket_close()906 so->so_count++; in ksocket_hold()909 so->so_count++; in ksocket_hold()921 if (so->so_count < 2) in ksocket_rele()926 if (--so->so_count == 1) in ksocket_rele()930 if (--so->so_count == 1) in ksocket_rele()
123 so->so_count++; in socket_vop_open()126 ASSERT(so->so_count != 0); /* wraparound */ in socket_vop_open()155 if (--so->so_count == 0) { in socket_vop_close()
415 ASSERT(so->so_count == 0); in socket_close_internal()432 ASSERT(so->so_count == 0 && sp != NULL); in socket_destroy_internal()562 so->so_count = 0; in sonode_init()630 ASSERT(so->so_count == 0); in sonode_fini()
154 ASSERT(nso->so_count == 1); in so_acceptq_flush_impl()155 nso->so_count--; in so_acceptq_flush_impl()2215 VERIFY(cur->so_count == orig->so_count); in so_integrity_check()
1760 if (so->so_count != 0 && so->so_zoneid == myzoneid) { in sockfs_update()1796 if (so->so_count == 0 || so->so_zoneid != myzoneid) { in sockfs_snapshot()
1154 ASSERT(nso->so_count == 1); in so_newconn()1155 nso->so_count--; in so_newconn()
1748 nso->so_count = 1; in sosctp_ioctl()1799 ASSERT(nso->so_count == 1); in sosctp_ioctl()1800 nso->so_count = 0; in sosctp_ioctl()
153 int so_count; /* count of opened references */ member
797 if (so->so_count == 0) in netstat_unix_cb()