| 1349 | SYSINIT(racctd, SI_SUB_RACCTD, SI_ORDER_FIRST, racctd_init, NULL); |
| 1350 | |
| 1351 | static void |
| 1352 | racct_init(void) |
| 1353 | { |
| 1354 | if (!racct_enable) |
| 1355 | return; |
| 1356 | |
| 1357 | racct_zone = uma_zcreate("racct", sizeof(struct racct), |
| 1358 | NULL, NULL, NULL, NULL, UMA_ALIGN_PTR, 0); |
| 1359 | /* |
| 1360 | * XXX: Move this somewhere. |
| 1361 | */ |
| 1362 | prison0.pr_prison_racct = prison_racct_find("0"); |
| 1363 | } |
| 1364 | SYSINIT(racct, SI_SUB_RACCT, SI_ORDER_FIRST, racct_init, NULL); |
| 1365 | |
| 1366 | #endif /* !RACCT */ |
nothing calls this directly
no test coverage detected