MCPcopy Create free account
hub / github.com/F-Stack/f-stack / free_bw_list

Function free_bw_list

freebsd/netinet/ip_mroute.c:1838–1848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1836}
1837
1838static void
1839free_bw_list(struct bw_meter *list)
1840{
1841 while (list != NULL) {
1842 struct bw_meter *x = list;
1843
1844 list = list->bm_mfc_next;
1845 unschedule_bw_meter(x);
1846 free(x, M_BWMETER);
1847 }
1848}
1849
1850/*
1851 * Delete one or multiple bw_meter entries

Callers 3

expire_mfcFunction · 0.85
del_mfcFunction · 0.85
del_bw_upcallFunction · 0.85

Calls 2

unschedule_bw_meterFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected