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

Function racct_destroy

freebsd/kern/kern_racct.c:498–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496}
497
498void
499racct_destroy(struct racct **racct)
500{
501
502 if (!racct_enable)
503 return;
504
505 RACCT_LOCK();
506 racct_destroy_locked(racct);
507 RACCT_UNLOCK();
508}
509
510/*
511 * Increase consumption of 'resource' by 'amount' for 'racct',

Callers 5

prison_racct_free_lockedFunction · 0.85
kern_loginclass.cFile · 0.85
loginclass_findFunction · 0.85
uifindFunction · 0.85
uifreeFunction · 0.85

Calls 1

racct_destroy_lockedFunction · 0.85

Tested by

no test coverage detected