|
Lines 613-626
void uma_zone_set_freef(uma_zone_t zone, uma_free freef);
Link Here
|
| 613 |
* |
613 |
* |
| 614 |
* Arguments: |
614 |
* Arguments: |
| 615 |
* zone The zone to fill |
615 |
* zone The zone to fill |
| 616 |
* itemcnt The number of items to reserve |
616 |
* nitems The number of items to reserve |
| 617 |
* |
617 |
* |
| 618 |
* Returns: |
618 |
* Returns: |
| 619 |
* Nothing |
619 |
* Nothing |
| 620 |
* |
620 |
* |
| 621 |
* NOTE: This is blocking and should only be done at startup |
621 |
* NOTE: This is blocking and should only be done at startup |
| 622 |
*/ |
622 |
*/ |
| 623 |
void uma_prealloc(uma_zone_t zone, int itemcnt); |
623 |
void uma_prealloc(uma_zone_t zone, int nitems); |
| 624 |
|
624 |
|
| 625 |
/* |
625 |
/* |
| 626 |
* Used to determine if a fixed-size zone is exhausted. |
626 |
* Used to determine if a fixed-size zone is exhausted. |
| 627 |
- |
|
|