Module kernel::bits

source ·
Expand description

Bit manipulation macros.

C header: include/linux/bits.h

Functions§

  • Computes 1 << n by performing a compile-time assertion that n is in bounds.
  • Computes 1 << n by performing a compile-time assertion that n is in bounds.
  • Computes 1 << n by performing a compile-time assertion that n is in bounds.
  • Computes 1 << n by performing a compile-time assertion that n is in bounds.
  • Computes 1 << n if n is in bounds, i.e.: if n is smaller than the maximum number of bits supported by the type.
  • Computes 1 << n if n is in bounds, i.e.: if n is smaller than the maximum number of bits supported by the type.
  • Computes 1 << n if n is in bounds, i.e.: if n is smaller than the maximum number of bits supported by the type.
  • Computes 1 << n if n is in bounds, i.e.: if n 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.