Lines Matching refs:soflow_attached_count
80 static long soflow_attached_count = 0; variable
107 SYSCTL_LONG(_net_soflow, OID_AUTO, count, CTLFLAG_LOCKED | CTLFLAG_RD, &soflow_attached_count, "");
466 soflow_attached_count--; in soflow_db_remove_entry()
1232 if (soflow_attached_count == 0) { in soflow_get_flow()
1233 thread_wakeup((caddr_t)&soflow_attached_count); in soflow_get_flow()
1235 soflow_attached_count++; in soflow_get_flow()
1236 if (soflow_attached_high_water_mark < soflow_attached_count) { in soflow_get_flow()
1237 soflow_attached_high_water_mark = soflow_attached_count; in soflow_get_flow()
1322 (void) assert_wait((event_t) &soflow_attached_count, in soflow_gc_thread_sleep()
1329 (void) assert_wait_deadline(&soflow_attached_count, in soflow_gc_thread_sleep()
1424 if (soflow_attached_count == 0) { in soflow_gc_expire()
1479 soflow_gc_thread_sleep(soflow_attached_count == 0 ? true : false); in soflow_gc_expire()