Home
last modified time | relevance | path

Searched refs:BITS_PER_LONG (Results 1 – 25 of 57) sorted by relevance

123

/arch/avr32/include/asm/
Dbitops.h37 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 …]
Dtypes.h24 #define BITS_PER_LONG 32 macro
/arch/parisc/include/asm/
Dtypes.h18 #define BITS_PER_LONG 64 macro
21 #define BITS_PER_LONG 32 macro
Dirq.h25 #define CPU_IRQ_MAX (CPU_IRQ_BASE + (BITS_PER_LONG - 1))
Dswab.h41 #if BITS_PER_LONG > 32
/arch/x86/include/asm/
Dtypes.h18 # define BITS_PER_LONG 32 macro
20 # define BITS_PER_LONG 64 macro
/arch/mips/include/asm/
Dbitops.h569 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()
Dtypes.h29 #define BITS_PER_LONG _MIPS_SZLONG macro
Ddiv64.h14 #if BITS_PER_LONG == 64
/arch/sparc/include/asm/
Dtypes.h24 #define BITS_PER_LONG 64 macro
49 #define BITS_PER_LONG 32 macro
/arch/ia64/include/asm/
Dtypes.h23 # define BITS_PER_LONG 64
37 #define BITS_PER_LONG 64 macro
/arch/s390/include/asm/
Dtypes.h32 #define BITS_PER_LONG 32 macro
34 #define BITS_PER_LONG 64 macro
Dirqflags.h99 return !(flags & (3UL << (BITS_PER_LONG - 8))); in raw_irqs_disabled_flags()
/arch/powerpc/include/asm/
Dtypes.h47 #define BITS_PER_LONG 64 macro
49 #define BITS_PER_LONG 32 macro
Dbitops.h55 #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()
/arch/h8300/include/asm/
Dtypes.h23 #define BITS_PER_LONG 32 macro
/arch/sh/include/asm/
Dbitops-op32.h10 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
139 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
Dtypes.h17 #define BITS_PER_LONG 32 macro
/arch/alpha/include/asm/
Dtypes.h24 #define BITS_PER_LONG 64 macro
/arch/arm/include/asm/
Dtypes.h17 #define BITS_PER_LONG 32 macro
/arch/blackfin/include/asm/
Dtypes.h23 #define BITS_PER_LONG 32 macro
/arch/m68k/include/asm/
Dtypes.h24 #define BITS_PER_LONG 32 macro
/arch/cris/include/asm/
Dtypes.h17 #define BITS_PER_LONG 32 macro
/arch/xtensa/include/asm/
Dtypes.h33 #define BITS_PER_LONG 32 macro
/arch/powerpc/mm/
Dmmu_context_hash32.c61 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];

123