From 3494957d9c27d027bf6379a9a31de57e1468f09f Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 14 May 2016 16:53:50 +0200 Subject: [PATCH 205/257] uma.h: Rename uma_prealloc()'s second argument to nitems to increase consistency Obtained from: ElectroBSD --- sys/vm/uma.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vm/uma.h b/sys/vm/uma.h index fcdb7449f830..b1fc43f713cf 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -613,14 +613,14 @@ void uma_zone_set_freef(uma_zone_t zone, uma_free freef); * * Arguments: * zone The zone to fill - * itemcnt The number of items to reserve + * nitems The number of items to reserve * * Returns: * Nothing * * NOTE: This is blocking and should only be done at startup */ -void uma_prealloc(uma_zone_t zone, int itemcnt); +void uma_prealloc(uma_zone_t zone, int nitems); /* * Used to determine if a fixed-size zone is exhausted. -- 2.11.0