Searched refs:BITS_PER_LONG (Results 1 – 25 of 57) sorted by relevance
123
37 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in set_bit()51 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in set_bit()76 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in clear_bit()90 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in clear_bit()114 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in change_bit()115 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in change_bit()139 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in test_and_set_bit()140 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_set_bit()179 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in test_and_clear_bit()180 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_clear_bit()[all …]
24 #define BITS_PER_LONG 32 macro
18 #define BITS_PER_LONG 64 macro21 #define BITS_PER_LONG 32 macro
25 #define CPU_IRQ_MAX (CPU_IRQ_BASE + (BITS_PER_LONG - 1))
41 #if BITS_PER_LONG > 32
18 # define BITS_PER_LONG 32 macro20 # define BITS_PER_LONG 64 macro
569 if (BITS_PER_LONG == 32 && in __fls()582 if (BITS_PER_LONG == 64 && in __fls()595 num = BITS_PER_LONG - 1; in __fls()597 #if BITS_PER_LONG == 64 in __fls()603 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()607 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()611 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()615 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()619 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()
29 #define BITS_PER_LONG _MIPS_SZLONG macro
14 #if BITS_PER_LONG == 64
24 #define BITS_PER_LONG 64 macro49 #define BITS_PER_LONG 32 macro
23 # define BITS_PER_LONG 6437 #define BITS_PER_LONG 64 macro
32 #define BITS_PER_LONG 32 macro34 #define BITS_PER_LONG 64 macro
99 return !(flags & (3UL << (BITS_PER_LONG - 8))); in raw_irqs_disabled_flags()
47 #define BITS_PER_LONG 64 macro49 #define BITS_PER_LONG 32 macro
55 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))56 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)57 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)247 return BITS_PER_LONG - 1 - lz; in __ilog2()277 return BITS_PER_LONG; in ffz()
23 #define BITS_PER_LONG 32 macro
10 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)139 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
17 #define BITS_PER_LONG 32 macro
24 #define BITS_PER_LONG 64 macro
33 #define BITS_PER_LONG 32 macro
61 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];