Searched refs:BITS_PER_LONG (Results 1 – 25 of 83) sorted by relevance
1234
15 int num = BITS_PER_LONG - 1; in __fls()17 #if BITS_PER_LONG == 64 in __fls()23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls()27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls()31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls()35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls()39 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()
15 #if BITS_PER_LONG == 64 in sched_find_first_bit()19 #elif BITS_PER_LONG == 32 in sched_find_first_bit()28 #error BITS_PER_LONG not defined in sched_find_first_bit()
18 #if BITS_PER_LONG == 3226 #elif BITS_PER_LONG == 6434 #error BITS_PER_LONG not 32 or 64
17 #if BITS_PER_LONG == 64 in __ffs()
69 #if BITS_PER_LONG==32 && defined(CONFIG_SMP)74 #if BITS_PER_LONG == 64118 #if BITS_PER_LONG == 32 && defined(CONFIG_SMP)128 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_begin()135 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_end()145 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_begin_irqsave()156 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_end_irqrestore()164 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in __u64_stats_fetch_begin()173 #if BITS_PER_LONG==32 && !defined(CONFIG_SMP) in u64_stats_fetch_begin()182 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in __u64_stats_fetch_retry()[all …]
14 #if BITS_PER_LONG == 6416 #elif BITS_PER_LONG == 3219 #error Unexpected BITS_PER_LONG
41 HMM_PFN_VALID = 1UL << (BITS_PER_LONG - 1),42 HMM_PFN_WRITE = 1UL << (BITS_PER_LONG - 2),43 HMM_PFN_ERROR = 1UL << (BITS_PER_LONG - 3),44 HMM_PFN_ORDER_SHIFT = (BITS_PER_LONG - 8),
26 return BITS_PER_LONG - fls(x); in count_leading_zeros()28 return BITS_PER_LONG - fls64(x); in count_leading_zeros()31 #define COUNT_LEADING_ZEROS_0 BITS_PER_LONG
14 #if BITS_PER_LONG == 3217 #elif BITS_PER_LONG == 6479 #if BITS_PER_LONG == 64 in hash_64_generic()98 #if BITS_PER_LONG == 64 in hash32_ptr()
59 <= BITS_PER_LONG - NR_PAGEFLAGS94 KASAN_TAG_WIDTH + LAST_CPUPID_SHIFT <= BITS_PER_LONG - NR_PAGEFLAGS105 KASAN_TAG_WIDTH + LAST_CPUPID_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS110 #define LRU_REFS_WIDTH min(__LRU_REFS_WIDTH, BITS_PER_LONG - NR_PAGEFLAGS - \
10 #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG))11 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)36 (~UL(0) >> (BITS_PER_LONG - 1 - (h))))
25 #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8)66 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
26 #if BITS_PER_LONG == 6436 #elif BITS_PER_LONG == 3247 #error Unsupported BITS_PER_LONG
357 kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];358 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1];359 kernel_ulong_t relbit[INPUT_DEVICE_ID_REL_MAX / BITS_PER_LONG + 1];360 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1];361 kernel_ulong_t mscbit[INPUT_DEVICE_ID_MSC_MAX / BITS_PER_LONG + 1];362 kernel_ulong_t ledbit[INPUT_DEVICE_ID_LED_MAX / BITS_PER_LONG + 1];363 kernel_ulong_t sndbit[INPUT_DEVICE_ID_SND_MAX / BITS_PER_LONG + 1];364 kernel_ulong_t ffbit[INPUT_DEVICE_ID_FF_MAX / BITS_PER_LONG + 1];365 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1];366 kernel_ulong_t propbit[INPUT_DEVICE_ID_PROP_MAX / BITS_PER_LONG + 1];
236 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1)))237 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))265 if (nbits % BITS_PER_LONG) in bitmap_copy_clear_tail()266 dst[nbits / BITS_PER_LONG] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_copy_clear_tail()273 #if BITS_PER_LONG == 64565 const unsigned long offset = start % BITS_PER_LONG; in bitmap_get_value8()580 const unsigned long offset = start % BITS_PER_LONG; in bitmap_set_value8()
15 # define aligned_byte_mask(n) (~0xffUL << (BITS_PER_LONG - 8 - 8*(n)))224 #if BITS_PER_LONG == 32 in __ffs64()227 #elif BITS_PER_LONG != 64 in __ffs64()228 #error BITS_PER_LONG not 32 or 64 in __ffs64()
32 #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1)))33 #define EFI_INVALID_PARAMETER ( 2 | (1UL << (BITS_PER_LONG-1)))34 #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1)))35 #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1)))36 #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1)))37 #define EFI_NOT_READY ( 6 | (1UL << (BITS_PER_LONG-1)))38 #define EFI_DEVICE_ERROR ( 7 | (1UL << (BITS_PER_LONG-1)))39 #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1)))40 #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1)))41 #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1)))[all …]
37 return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1); in array_index_mask_nospec()
44 #if BITS_PER_LONG == 32168 #if BITS_PER_LONG < 64
9 #define BITS_PER_LONG 64 macro11 #define BITS_PER_LONG 32 macro18 #if 0 && BITS_PER_LONG != __BITS_PER_LONG36 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG && (nbits) > 0)
33 return BITS_PER_LONG - PAGE_SHIFT; in get_order()43 #if BITS_PER_LONG == 32 in get_order()
72 # if BITS_PER_LONG < 6474 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)80 # define map_bankwidth_is_large(map) (BITS_PER_LONG < 64)95 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)115 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8)167 #define MAX_MAP_LONGS (((MAX_MAP_BANKWIDTH * 8) + BITS_PER_LONG - 1) / BITS_PER_LONG)331 #if BITS_PER_LONG >= 64 in map_word_load()367 #if BITS_PER_LONG < 64399 #if BITS_PER_LONG >= 64 in inline_map_read()419 #if BITS_PER_LONG >= 64 in inline_map_write()
52 #if BITS_PER_LONG == 64 in mlx5_write64()
94 } __attribute__((__aligned__(BITS_PER_LONG/8)));154 } __attribute__((__aligned__(BITS_PER_LONG/8)));169 } __attribute__((__aligned__(BITS_PER_LONG/8)));188 } __attribute__((__aligned__(BITS_PER_LONG/8)));
44 #if BITS_PER_LONG == 64