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, Jan 15, 11:33 AM
Unknown Object (File)
Tue, Dec 23, 11:02 AM
Unknown Object (File)
Dec 15 2025, 12:18 AM
Unknown Object (File)
Nov 30 2025, 6:10 PM
Unknown Object (File)
Nov 20 2025, 4:57 PM
Unknown Object (File)
Nov 20 2025, 4:57 PM
Unknown Object (File)
Nov 20 2025, 4:57 PM
Unknown Object (File)
Nov 20 2025, 4:49 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