Home
last modified time | relevance | path

Searched refs:BITS_IN_LONG (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dbitmap.h4 #define BITS_IN_LONG (sizeof(unsigned long)*8) macro
5 #define LONGS(x) ((x + BITS_IN_LONG - 1) & -BITS_IN_LONG)
12 unsigned long offset = nr / BITS_IN_LONG; in test_bit()
13 unsigned long bit = nr & (BITS_IN_LONG-1); in test_bit()
19 unsigned long offset = nr / BITS_IN_LONG; in set_bit()
20 unsigned long bit = nr & (BITS_IN_LONG-1); in set_bit()
26 unsigned long offset = nr / BITS_IN_LONG; in clear_bit()
27 unsigned long bit = nr & (BITS_IN_LONG-1); in clear_bit()
33 unsigned long offset = nr / BITS_IN_LONG; in test_and_set_bit()
34 unsigned long bit = nr & (BITS_IN_LONG-1); in test_and_set_bit()
[all …]