Expand description
Bit manipulation macros.
C header: include/linux/bits.h
Functions§
- Computes
1 << n
by performing a compile-time assertion thatn
is in bounds. - Computes
1 << n
by performing a compile-time assertion thatn
is in bounds. - Computes
1 << n
by performing a compile-time assertion thatn
is in bounds. - Computes
1 << n
by performing a compile-time assertion thatn
is in bounds. - Computes
1 << n
ifn
is in bounds, i.e.: ifn
is smaller than the maximum number of bits supported by the type. - Computes
1 << n
ifn
is in bounds, i.e.: ifn
is smaller than the maximum number of bits supported by the type. - Computes
1 << n
ifn
is in bounds, i.e.: ifn
is smaller than the maximum number of bits supported by the type. - Computes
1 << n
ifn
is in bounds, i.e.: ifn
is smaller than the maximum number of bits supported by the type. - Creates a contiguous bitmask for the given range by validating the range at runtime.
- Creates a contiguous bitmask for the given range by validating the range at runtime.
- Creates a contiguous bitmask for the given range by validating the range at runtime.
- Creates a contiguous bitmask for the given range by validating the range at runtime.
- Creates a compile-time contiguous bitmask for the given range by performing a compile-time assertion that the range is valid.
- Creates a compile-time contiguous bitmask for the given range by performing a compile-time assertion that the range is valid.
- Creates a compile-time contiguous bitmask for the given range by performing a compile-time assertion that the range is valid.
- Creates a compile-time contiguous bitmask for the given range by performing a compile-time assertion that the range is valid.