Konstantin Belousov
e967aa2682
Improve BIT_FLS() documentation.
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after: 6 days
2017-07-07 05:43:44 +00:00
Konstantin Belousov
1550c62236
Add BIT_FLS() analogous to BIT_FFS().
...
The benefit of BIT_FLS() is that ffsl() can be implemented with a
count leading zeros instruction which is more widespread available.
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after: 1 week
2017-07-06 21:47:17 +00:00
Konstantin Belousov
e058e1c43c
Add BIT_OR2(), BIT_AND2(), BIT_NAND2(), BIT_XOR() and BIT_XOR2().
...
Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after: 2 weeks
2017-05-24 10:09:54 +00:00
Eric van Gyzen
71aa6fbfe9
Fix two return types in the cpuset(9) and bitset(9) man pages
...
The *_FFS() and *_COUNT() functions return int, not size_t.
MFC after: 3 days
Sponsored by: Dell Inc.
2016-07-29 21:12:48 +00:00
Conrad Meyer
5546be25d6
Document cpuset(9)
...
A follow-up to r289467.
Coerced by: jhb
Sponsored by: EMC / Isilon Storage Division
2015-10-20 23:48:14 +00:00
Conrad Meyer
7ebf41220c
Document bitset(9)
2015-10-17 19:55:58 +00:00