aboutsummaryrefslogtreecommitdiff
path: root/share/man/man9
diff options
context:
space:
mode:
authorD Scott Phillips <scottph@FreeBSD.org>2020-09-21 22:19:12 +0000
committerD Scott Phillips <scottph@FreeBSD.org>2020-09-21 22:19:12 +0000
commit26a3bf76c95f6a19edb63dca9a7f600ca01bcf23 (patch)
tree76a2c0ce3a90c9e2d3e17fe9bad22c36532a751e /share/man/man9
parent191dad8b0a977d6d2a9bab22ef8ea23f3c21a07f (diff)
downloadsrc-26a3bf76c95f6a19edb63dca9a7f600ca01bcf23.tar.gz
src-26a3bf76c95f6a19edb63dca9a7f600ca01bcf23.zip
bitset: expand bit index type to `long`
An upcoming patch to use the bitset macros for tracking vm page dump information could conceivably need more than INT_MAX bits. Expand the bit type to long so that the extra range is available on 64-bit platforms where it would most likely be needed. CPUSET_COUNT and DOMAINSET_COUNT are also modified to remain of type `int`. Reviewed by: kib, markj Approved by: scottl (implicit) MFC after: 1 week Sponsored by: Ampere Computing, Inc. Differential Revision: https://reviews.freebsd.org/D26190
Notes
Notes: svn path=/head/; revision=365975
Diffstat (limited to 'share/man/man9')
-rw-r--r--share/man/man9/bitset.910
1 files changed, 5 insertions, 5 deletions
diff --git a/share/man/man9/bitset.9 b/share/man/man9/bitset.9
index eaa8d32a846d..d597282fea9a 100644
--- a/share/man/man9/bitset.9
+++ b/share/man/man9/bitset.9
@@ -84,13 +84,13 @@
.Fn BIT_EMPTY "const SETSIZE" "struct STRUCTNAME *bitset"
.Ft bool
.Fn BIT_ISFULLSET "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft int
+.Ft long
.Fn BIT_FFS "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft int
-.Fn BIT_FFS_AT "const SETSIZE" "struct STRUCTNAME *bitset" "int start"
-.Ft int
+.Ft long
+.Fn BIT_FFS_AT "const SETSIZE" "struct STRUCTNAME *bitset" "long start"
+.Ft long
.Fn BIT_FLS "const SETSIZE" "struct STRUCTNAME *bitset"
-.Ft int
+.Ft long
.Fn BIT_COUNT "const SETSIZE" "struct STRUCTNAME *bitset"
.\"
.Ft bool