| 496 | } |
| 497 | |
| 498 | void |
| 499 | racct_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', |
no test coverage detected