Searched refs:BITS_PER_LONG (Results 76 - 100 of 558) sorted by relevance
1234567891011>>
/linux-master/drivers/net/wireless/mediatek/mt7601u/ |
H A D | main.c | 62 if (dev->wcid_mask[wcid / BITS_PER_LONG] & BIT(wcid % BITS_PER_LONG)) 64 dev->wcid_mask[wcid / BITS_PER_LONG] |= BIT(wcid % BITS_PER_LONG); 78 dev->wcid_mask[wcid / BITS_PER_LONG] &= ~BIT(wcid % BITS_PER_LONG); 201 idx = i * BITS_PER_LONG + idx; 250 dev->wcid_mask[idx / BITS_PER_LONG] &= ~BIT(idx % BITS_PER_LONG);
|
/linux-master/include/linux/ |
H A D | bitops.h | 15 # define aligned_byte_mask(n) (~0xffUL << (BITS_PER_LONG - 8 - 8*(n))) 241 #if BITS_PER_LONG == 32 244 #elif BITS_PER_LONG != 64 245 #error BITS_PER_LONG not 32 or 64 266 return BITS_PER_LONG;
|
H A D | bitmap.h | 39 * compile-time and at most BITS_PER_LONG. 222 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) 223 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) 263 if (nbits % BITS_PER_LONG) 264 dst[nbits / BITS_PER_LONG] &= BITMAP_LAST_WORD_MASK(nbits); 275 #if BITS_PER_LONG == 64 293 #if BITS_PER_LONG == 32 736 const unsigned long offset = start % BITS_PER_LONG; 751 const unsigned long offset = start % BITS_PER_LONG;
|
H A D | u64_stats_sync.h | 65 #if BITS_PER_LONG == 32 70 #if BITS_PER_LONG == 64
|
H A D | assoc_array.h | 17 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */
|
H A D | xxhash.h | 126 #if BITS_PER_LONG == 64
|
H A D | fcntl.h | 28 #if BITS_PER_LONG == 32 42 #endif /* BITS_PER_LONG == 32 */
|
H A D | shrinker.h | 10 #define SHRINKER_UNIT_BITS BITS_PER_LONG
|
/linux-master/lib/ |
H A D | test_ida.c | 133 IDA_BUG_ON(ida, ida_alloc_min(ida, i + BITS_PER_LONG, 134 GFP_KERNEL) != i + BITS_PER_LONG); 136 ida_free(ida, i + BITS_PER_LONG); 146 for (i = 0; i < IDA_BITMAP_BITS + BITS_PER_LONG - 4; i++) 148 for (i = IDA_BITMAP_BITS + BITS_PER_LONG - 4; i > 0; i--)
|
H A D | dynamic_queue_limits.c | 44 start = (hist_head - DQL_HIST_LEN + 1) * BITS_PER_LONG; 51 end = hist_head * BITS_PER_LONG + (BITS_PER_LONG - 1); 61 if (test_bit(t % (DQL_HIST_LEN * BITS_PER_LONG), 199 dql->history_head = jiffies / BITS_PER_LONG;
|
H A D | test_bitmap.c | 361 unsigned int nlongs = DIV_ROUND_UP(nbits, BITS_PER_LONG); 687 round_up(nbits, BITS_PER_LONG), nbits); 688 if (next_bit < round_up(nbits, BITS_PER_LONG)) { 715 next_bit = find_next_bit(bmap2, round_up(nbits, BITS_PER_LONG), nbits); 716 if (next_bit < round_up(nbits, BITS_PER_LONG)) { 1060 { BITS_PER_LONG, BITS_PER_LONG, BITS_PER_LONG, 1064 { 1, BITS_PER_LONG - 1, BITS_PER_LONG, [all...] |
/linux-master/fs/ocfs2/cluster/ |
H A D | masklog.h | 111 unsigned long words[MLOG_MAX_BITS / BITS_PER_LONG]; 116 #if BITS_PER_LONG == 32
|
/linux-master/arch/hexagon/include/asm/ |
H A D | bitops.h | 19 * The offset calculations for these are based on BITS_PER_LONG == 32 175 : "r" (addr[BIT_WORD(nr)]), "r" (nr % BITS_PER_LONG) 190 : "r" (addr[BIT_WORD(nr)]), "r" (nr % BITS_PER_LONG)
|
/linux-master/tools/include/linux/ |
H A D | bitmap.h | 25 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) 26 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1)))
|
H A D | bitops.h | 11 #ifndef BITS_PER_LONG 12 # define BITS_PER_LONG __WORDSIZE macro
|
/linux-master/drivers/infiniband/hw/mthca/ |
H A D | mthca_doorbell.h | 43 #if BITS_PER_LONG == 64 74 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
|
/linux-master/arch/parisc/include/asm/ |
H A D | hash.h | 49 #if BITS_PER_LONG == 64 145 #endif /* BITS_PER_LONG == 64 */
|
/linux-master/kernel/gcov/ |
H A D | gcov.h | 32 #if BITS_PER_LONG >= 64
|
/linux-master/arch/parisc/lib/ |
H A D | memset.c | 5 #define OPSIZ (BITS_PER_LONG/8)
|
/linux-master/kernel/time/ |
H A D | jiffies.c | 47 #if (BITS_PER_LONG < 64)
|
/linux-master/tools/include/asm-generic/bitops/ |
H A D | non-atomic.h | 112 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1)));
|
/linux-master/arch/x86/include/asm/ |
H A D | bitops.h | 21 #if BITS_PER_LONG == 32 23 #elif BITS_PER_LONG == 64 26 # error "Unexpected BITS_PER_LONG" 205 return ((1UL << (nr & (BITS_PER_LONG-1))) & 296 return BITS_PER_LONG - 1 - __builtin_clzl(word);
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | fault.h | 29 unsigned long opcodes[(1U << BITS_PER_BYTE) / BITS_PER_LONG];
|
/linux-master/fs/btrfs/ |
H A D | ulist.h | 60 #if BITS_PER_LONG == 32
|
/linux-master/drivers/ras/amd/atl/ |
H A D | internal.h | 252 WARN_ON_ONCE(num_bits >= BITS_PER_LONG); 256 WARN_ON_ONCE(bit_num >= BITS_PER_LONG); 277 WARN_ON_ONCE(high_bit >= BITS_PER_LONG); 278 WARN_ON_ONCE(low_bit >= BITS_PER_LONG);
|
Completed in 252 milliseconds
1234567891011>>