Searched refs:BITS_PER_LONG (Results 1 – 25 of 89) sorted by relevance
1234
15 unsigned int num = BITS_PER_LONG - 1; in generic___fls()17 #if BITS_PER_LONG == 64 in generic___fls()23 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in generic___fls()27 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in generic___fls()31 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in generic___fls()35 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in generic___fls()39 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in generic___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 generic___ffs()
128 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in generic_test_bit()140 return 1UL & (smp_load_acquire(p) >> (nr & (BITS_PER_LONG-1))); in generic_test_bit_acquire()
40 HMM_PFN_VALID = 1UL << (BITS_PER_LONG - 1),41 HMM_PFN_WRITE = 1UL << (BITS_PER_LONG - 2),42 HMM_PFN_ERROR = 1UL << (BITS_PER_LONG - 3),47 HMM_PFN_DMA_MAPPED = 1UL << (BITS_PER_LONG - 4),48 HMM_PFN_P2PDMA = 1UL << (BITS_PER_LONG - 5),49 HMM_PFN_P2PDMA_BUS = 1UL << (BITS_PER_LONG - 6),51 HMM_PFN_ORDER_SHIFT = (BITS_PER_LONG - 11),
14 #if BITS_PER_LONG == 6416 #elif BITS_PER_LONG == 3219 #error Unexpected BITS_PER_LONG
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
59 <= BITS_PER_LONG - NR_PAGEFLAGS96 KASAN_TAG_WIDTH + LAST_CPUPID_SHIFT <= BITS_PER_LONG - NR_PAGEFLAGS107 KASAN_TAG_WIDTH + LAST_CPUPID_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS112 #define LRU_REFS_WIDTH min(__LRU_REFS_WIDTH, BITS_PER_LONG - NR_PAGEFLAGS - \120 #define NR_UNUSED_PAGEFLAG_BITS (BITS_PER_LONG - \
14 #if BITS_PER_LONG == 3217 #elif BITS_PER_LONG == 6476 #if BITS_PER_LONG == 64 in hash_64_generic()95 #if BITS_PER_LONG == 64 in hash32_ptr()
20 #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8)38 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)58 #if (PAGE_SIZE < PAGE_FRAG_CACHE_MAX_SIZE) && (BITS_PER_LONG <= 32)
93 now_hi = now / BITS_PER_LONG; in dql_queue_stall()103 if (now_hi * BITS_PER_LONG == in dql_queue_stall()104 (dql->history_head + i) * BITS_PER_LONG) in dql_queue_stall()
269 if (nbits % BITS_PER_LONG) in bitmap_copy_clear_tail()270 dst[nbits / BITS_PER_LONG] &= BITMAP_LAST_WORD_MASK(nbits); in bitmap_copy_clear_tail()280 if (count % BITS_PER_LONG) in bitmap_copy_and_extend()293 #if BITS_PER_LONG == 64311 #if BITS_PER_LONG == 32770 unsigned long offset = start % BITS_PER_LONG; in bitmap_read()771 unsigned long space = BITS_PER_LONG - offset; in bitmap_read()774 if (unlikely(!nbits || nbits > BITS_PER_LONG)) in bitmap_read()810 if (unlikely(!nbits || nbits > BITS_PER_LONG)) in bitmap_write()815 offset = start % BITS_PER_LONG; in bitmap_write()[all …]
371 kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1];372 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1];373 kernel_ulong_t relbit[INPUT_DEVICE_ID_REL_MAX / BITS_PER_LONG + 1];374 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1];375 kernel_ulong_t mscbit[INPUT_DEVICE_ID_MSC_MAX / BITS_PER_LONG + 1];376 kernel_ulong_t ledbit[INPUT_DEVICE_ID_LED_MAX / BITS_PER_LONG + 1];377 kernel_ulong_t sndbit[INPUT_DEVICE_ID_SND_MAX / BITS_PER_LONG + 1];378 kernel_ulong_t ffbit[INPUT_DEVICE_ID_FF_MAX / BITS_PER_LONG + 1];379 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1];380 kernel_ulong_t propbit[INPUT_DEVICE_ID_PROP_MAX / BITS_PER_LONG + 1];
54 # define aligned_byte_mask(n) (~0xffUL << (BITS_PER_LONG - 8 - 8*(n)))
8 #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG))9 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
33 #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1)))35 #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1)))36 #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1)))37 #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1)))38 #define EFI_NOT_READY ( 6 | (1UL << (BITS_PER_LONG-1)))39 #define EFI_DEVICE_ERROR ( 7 | (1UL << (BITS_PER_LONG-1)))40 #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1)))42 #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1)))43 #define EFI_ACCESS_DENIED (15 | (1UL << (BITS_PER_LONG-1)))44 #define EFI_TIMEOUT (18 | (1UL << (BITS_PER_LONG-1)))[all …]
65 #if BITS_PER_LONG == 3270 #if BITS_PER_LONG == 64
272 #if BITS_PER_LONG == 32 in __ffs64()275 #elif BITS_PER_LONG != 64 in __ffs64()276 #error BITS_PER_LONG not 32 or 64 in __ffs64()291 return word ? __ffs(word) : BITS_PER_LONG; in fns()
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()
18 #define FPROBE_HEADER_MSB_SIZE_SHIFT (BITS_PER_LONG - FPROBE_DATA_SIZE_BITS)28 GENMASK(BITS_PER_LONG - 1, FPROBE_HEADER_MSB_SIZE_SHIFT)
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)332 #if BITS_PER_LONG >= 64 in map_word_load()368 #if BITS_PER_LONG < 64400 #if BITS_PER_LONG >= 64 in inline_map_read()420 #if BITS_PER_LONG >= 64 in inline_map_write()
52 #if BITS_PER_LONG == 64 in mlx5_write64()
99 ((BITS_PER_LONG / 8) - 1)) / (BITS_PER_LONG / 8))107 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8))
Completed in 32 milliseconds