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

Function pfr_destroy_kentry

freebsd/netpfil/pf/pf_table.c:829–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827}
828
829static void
830pfr_destroy_kentry(struct pfr_kentry *ke)
831{
832 counter_u64_t c;
833
834 if ((c = ke->pfrke_counters.pfrkc_counters) != NULL)
835 uma_zfree_pcpu(V_pfr_kentry_counter_z, c);
836 uma_zfree(V_pfr_kentry_z, ke);
837}
838
839static void
840pfr_insert_kentries(struct pfr_ktable *kt,

Callers 5

pfr_add_addrsFunction · 0.85
pfr_set_addrsFunction · 0.85
pfr_create_kentryFunction · 0.85
pfr_destroy_kentriesFunction · 0.85
pfr_ina_defineFunction · 0.85

Calls 2

uma_zfree_pcpuFunction · 0.50
uma_zfreeFunction · 0.50

Tested by

no test coverage detected