Home
last modified time | relevance | path

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

12

/external/kernel-headers/original/linux/
Dbitmap.h125 ((nbits) % BITS_PER_LONG) ? \
126 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \
131 if (nbits <= BITS_PER_LONG) in bitmap_zero()
152 if (nbits <= BITS_PER_LONG) in bitmap_copy()
163 if (nbits <= BITS_PER_LONG) in bitmap_and()
172 if (nbits <= BITS_PER_LONG) in bitmap_or()
181 if (nbits <= BITS_PER_LONG) in bitmap_xor()
190 if (nbits <= BITS_PER_LONG) in bitmap_andnot()
199 if (nbits <= BITS_PER_LONG) in bitmap_complement()
208 if (nbits <= BITS_PER_LONG) in bitmap_equal()
[all …]
Dmod_devicetable.h287 kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];
288 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1];
289 kernel_ulong_t relbit[INPUT_DEVICE_ID_REL_MAX / BITS_PER_LONG + 1];
290 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1];
291 kernel_ulong_t mscbit[INPUT_DEVICE_ID_MSC_MAX / BITS_PER_LONG + 1];
292 kernel_ulong_t ledbit[INPUT_DEVICE_ID_LED_MAX / BITS_PER_LONG + 1];
293 kernel_ulong_t sndbit[INPUT_DEVICE_ID_SND_MAX / BITS_PER_LONG + 1];
294 kernel_ulong_t ffbit[INPUT_DEVICE_ID_FF_MAX / BITS_PER_LONG + 1];
295 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1];
Dktime.h48 #if BITS_PER_LONG != 64 && !defined(CONFIG_KTIME_SCALAR)
66 #if (BITS_PER_LONG == 64) || defined(CONFIG_KTIME_SCALAR)
77 #if (BITS_PER_LONG == 64) in ktime_set()
Dfcntl.h37 #define force_o_largefile() (BITS_PER_LONG != 32)
40 #if BITS_PER_LONG == 32
Dtypes.h7 (((bits)+BITS_PER_LONG-1)/BITS_PER_LONG)
Dmmzone.h472 #if BITS_PER_LONG == 32
479 #elif BITS_PER_LONG == 64
487 #error BITS_PER_LONG not defined
Djiffies.h84 #if (BITS_PER_LONG < 64)
237 #if BITS_PER_LONG < 64
Dfs.h489 #if BITS_PER_LONG==32 && defined(CONFIG_SMP)
596 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in i_size_read()
605 #elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT) in i_size_read()
620 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in i_size_write()
624 #elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT) in i_size_write()
715 #if BITS_PER_LONG==32
716 #define MAX_LFS_FILESIZE (((u64)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1)
717 #elif BITS_PER_LONG==64
795 #if BITS_PER_LONG == 32
Dfile.h19 #define NR_OPEN_DEFAULT BITS_PER_LONG
/external/linux-tools-perf/util/include/linux/
Dbitops.h19 #define BITS_PER_LONG __WORDSIZE macro
25 addr[nr / BITS_PER_LONG] |= 1UL << (nr % BITS_PER_LONG); in set_bit()
30 addr[nr / BITS_PER_LONG] &= ~(1UL << (nr % BITS_PER_LONG)); in clear_bit()
35 return ((1UL << (nr % BITS_PER_LONG)) & in test_bit()
36 (((unsigned long *)addr)[nr / BITS_PER_LONG])) != 0; in test_bit()
Dbitmap.h17 ((nbits) % BITS_PER_LONG) ? \
18 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \
22 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
/external/kernel-headers/original/linux/sunrpc/
Dsvcauth.h142 if ((len & (BITS_PER_LONG/8-1))==0) in hash_str()
143 hash = hash_long(hash^l, BITS_PER_LONG); in hash_str()
145 return hash >> (BITS_PER_LONG - bits); in hash_str()
161 if ((len & (BITS_PER_LONG/8-1))==0) in hash_mem()
162 hash = hash_long(hash^l, BITS_PER_LONG); in hash_mem()
164 return hash >> (BITS_PER_LONG - bits); in hash_mem()
/external/kernel-headers/original/linux/mtd/
Dmap.h69 # if BITS_PER_LONG < 64
71 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
77 # define map_bankwidth_is_large(map) (BITS_PER_LONG < 64)
92 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
112 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)
159 #define MAX_MAP_LONGS ( ((MAX_MAP_BANKWIDTH*8) + BITS_PER_LONG - 1) / BITS_PER_LONG )
312 #if BITS_PER_LONG >= 64 in map_word_load()
344 #if BITS_PER_LONG < 64
375 #if BITS_PER_LONG >= 64 in inline_map_read()
393 #if BITS_PER_LONG >= 64 in inline_map_write()
Dcfi.h315 #if BITS_PER_LONG >= 64 in cfi_build_cmd()
369 #if BITS_PER_LONG >= 64 in cfi_merge_status()
/external/kernel-headers/original/asm-generic/bitops/
Dnon-atomic.h6 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
108 return 1UL & (addr[BITOP_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
Dle.h7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
8 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
Datomic.h6 #define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG))
7 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG)
D__ffs.h16 #if BITS_PER_LONG == 64 in __ffs()
/external/linux-tools-perf/util/
Dbitmap.c18 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight()
23 if (bits % BITS_PER_LONG) in __bitmap_weight()
Dhweight.c27 #if BITS_PER_LONG == 32 in hweight64()
29 #elif BITS_PER_LONG == 64 in hweight64()
/external/kernel-headers/original/asm-x86/
Dtypes.h40 # define BITS_PER_LONG 32 macro
42 # define BITS_PER_LONG 64 macro
/external/linux-tools-perf/util/include/linux/added/
Dhash.h28 #if BITS_PER_LONG == 32
31 #elif BITS_PER_LONG == 64
/external/kernel-headers/original/asm-arm/
Dtypes.h34 #define BITS_PER_LONG 32 macro
/external/kernel-headers/original/asm-mips/
Dtypes.h46 #define BITS_PER_LONG _MIPS_SZLONG macro
/external/chromium/base/third_party/nspr/
Dprcpucfg_mac.h167 #define BITS_PER_LONG PR_BITS_PER_LONG macro

12