Page MenuHomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT
ClosedPublic

Authored by rlibby on Dec 13 2019, 12:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 5, 8:59 PM
Unknown Object (File)
Tue, Mar 3, 1:38 PM
Unknown Object (File)
Tue, Mar 3, 5:16 AM
Unknown Object (File)
Tue, Mar 3, 12:21 AM
Unknown Object (File)
Jan 31 2026, 10:39 AM
Unknown Object (File)
Jan 26 2026, 4:29 AM
Unknown Object (File)
Jan 25 2026, 10:39 AM
Unknown Object (File)
Jan 15 2026, 11:33 AM
Subscribers

Details

Summary

s/BIT_NAND/BIT_ANDNOT/, and for CPU and DOMAINSET too. The actual
implementation is "and not" (or "but not"), i.e. A but not B.
Fortunately this does appear to be what all existing callers want.

Don't supply a NAND (not (A and B)) operation a this time.

Test Plan

make buildkernel

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable