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, "");
475 soflow_attached_count--; in soflow_db_remove_entry()
1254 if (soflow_attached_count == 0) { in soflow_get_flow()
1255 thread_wakeup((caddr_t)&soflow_attached_count); in soflow_get_flow()
1257 soflow_attached_count++; in soflow_get_flow()
1258 if (soflow_attached_high_water_mark < soflow_attached_count) { in soflow_get_flow()
1259 soflow_attached_high_water_mark = soflow_attached_count; in soflow_get_flow()
1344 (void) assert_wait((event_t) &soflow_attached_count, in soflow_gc_thread_sleep()
1351 (void) assert_wait_deadline(&soflow_attached_count, in soflow_gc_thread_sleep()
1451 if (soflow_attached_count == 0) { in soflow_gc_expire()
1506 soflow_gc_thread_sleep(soflow_attached_count == 0 ? true : false); in soflow_gc_expire()