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

Function delete_unrhdr

freebsd/kern/subr_unit.c:369–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void
370delete_unrhdr(struct unrhdr *uh)
371{
372
373 check_unrhdr(uh, __LINE__);
374 KASSERT(uh->busy == 0, ("unrhdr has %u allocations", uh->busy));
375 KASSERT(uh->alloc == 0, ("UNR memory leak in delete_unrhdr"));
376 KASSERT(TAILQ_FIRST(&uh->ppfree) == NULL,
377 ("unrhdr has postponed item for free"));
378 Free(uh);
379}
380
381void
382clear_unrhdr(struct unrhdr *uh)

Callers 9

vmx_modcleanupFunction · 0.85
mqfs_fileno_uninitFunction · 0.85
mainFunction · 0.85
dmar_release_resourcesFunction · 0.85
if_clone_freeFunction · 0.85
tun_uninitFunction · 0.85
vnet_ng_iface_uninitFunction · 0.85
ng_device_mod_eventFunction · 0.85
vnet_ng_eiface_uninitFunction · 0.85

Calls 1

check_unrhdrFunction · 0.85

Tested by

no test coverage detected