diff options
author | D Scott Phillips <scottph@FreeBSD.org> | 2020-09-21 22:19:12 +0000 |
---|---|---|
committer | D Scott Phillips <scottph@FreeBSD.org> | 2020-09-21 22:19:12 +0000 |
commit | 26a3bf76c95f6a19edb63dca9a7f600ca01bcf23 (patch) | |
tree | 76a2c0ce3a90c9e2d3e17fe9bad22c36532a751e /share/man/man9 | |
parent | 191dad8b0a977d6d2a9bab22ef8ea23f3c21a07f (diff) | |
download | src-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.9 | 10 |
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 |