HomeFreeBSD

bitset: rename confusing macro NAND to ANDNOT

Description

bitset: rename confusing macro NAND to ANDNOT

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 at this time.

Discussed with: jeff
Reviewed by: cem
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22791

Details

Provenance
rlibbyAuthored on
Reviewer
cem
Differential Revision
D22791: bitset: rename confusing macro NAND to ANDNOT
Parents
rS355708: uma: report slab efficiency
Branches
Unknown
Tags
Unknown