From 5bf951781bd9d6e91020d36e9ad6b8767b5521df Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sat, 14 May 2016 16:53:50 +0200 Subject: [PATCH 148/310] uma.h: Rename uma_prealloc()'s second argument to nitems to increase consistency PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209716 PR submission date: 2016-05-23 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 dc8bd07d299e..f09bdfb07a1f 100644 --- a/sys/vm/uma.h +++ b/sys/vm/uma.h @@ -650,14 +650,14 @@ smr_t uma_zone_get_smr(uma_zone_t zone); * * 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.37.1