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

Function lim_freen

freebsd/kern/kern_resource.c:1240–1246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1238}
1239
1240void
1241lim_freen(struct plimit *limp, int n)
1242{
1243
1244 if (refcount_releasen(&limp->pl_refcnt, n))
1245 free((void *)limp, M_PLIMIT);
1246}
1247
1248/*
1249 * Make a copy of the plimit structure.

Callers 1

thread_reap_domainFunction · 0.85

Calls 2

refcount_releasenFunction · 0.85
freeFunction · 0.70

Tested by

no test coverage detected