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)
Tue, May 26, 7:25 AM
Unknown Object (File)
Mon, May 11, 12:41 AM
Unknown Object (File)
Sat, May 9, 3:49 PM
Unknown Object (File)
Sat, May 9, 12:50 PM
Unknown Object (File)
Fri, May 8, 6:01 PM
Unknown Object (File)
Apr 27 2026, 9:58 AM
Unknown Object (File)
Apr 14 2026, 5:52 AM
Unknown Object (File)
Apr 13 2026, 1:25 PM
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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28118
Build 26256: arc lint + arc unit