Searched refs:BITS_PER_LONG (Results 26 - 50 of 558) sorted by relevance
1234567891011>>
/linux-master/include/linux/ |
H A D | mm_types_task.h | 22 #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8) 40 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
|
H A D | hash.h | 14 #if BITS_PER_LONG == 32 17 #elif BITS_PER_LONG == 64 76 #if BITS_PER_LONG == 64 95 #if BITS_PER_LONG == 64
|
H A D | page-flags-layout.h | 59 <= BITS_PER_LONG - NR_PAGEFLAGS 94 KASAN_TAG_WIDTH + LAST_CPUPID_SHIFT <= BITS_PER_LONG - NR_PAGEFLAGS 105 KASAN_TAG_WIDTH + LAST_CPUPID_WIDTH > BITS_PER_LONG - NR_PAGEFLAGS 110 #define LRU_REFS_WIDTH min(__LRU_REFS_WIDTH, BITS_PER_LONG - NR_PAGEFLAGS - \
|
H A D | bits.h | 10 #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG)) 11 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
|
H A D | dynamic_queue_limits.h | 108 now_hi = now / BITS_PER_LONG; 112 * tracks DQL_HIST_LEN * BITS_PER_LONG time (jiffies) slot 118 if (now_hi * BITS_PER_LONG == 119 (dql->history_head + i) * BITS_PER_LONG)
|
H A D | nospec.h | 37 return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1);
|
/linux-master/include/linux/mlx5/ |
H A D | doorbell.h | 52 #if BITS_PER_LONG == 64
|
/linux-master/tools/include/linux/ |
H A D | hash.h | 14 #if BITS_PER_LONG == 32 17 #elif BITS_PER_LONG == 64 76 #if BITS_PER_LONG == 64 95 #if BITS_PER_LONG == 64
|
/linux-master/arch/s390/include/asm/ |
H A D | bitops.h | 42 #define __BITOPS_WORDS(bits) (((bits) + BITS_PER_LONG - 1) / BITS_PER_LONG) 49 addr = (unsigned long)ptr + ((nr ^ (nr & (BITS_PER_LONG - 1))) >> 3); 55 return 1UL << (nr & (BITS_PER_LONG - 1)); 234 return set_bit(nr ^ (BITS_PER_LONG - 1), ptr); 239 return clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); 245 return test_and_clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); 250 return __set_bit(nr ^ (BITS_PER_LONG - 1), ptr); 255 return __clear_bit(nr ^ (BITS_PER_LONG - 1), ptr); 261 return test_bit(nr ^ (BITS_PER_LONG [all...] |
H A D | irqflags.h | 12 #define ARCH_IRQ_ENABLED (3UL << (BITS_PER_LONG - 8))
|
/linux-master/drivers/reset/ |
H A D | reset-zynq.c | 34 int bank = id / BITS_PER_LONG; 35 int offset = id % BITS_PER_LONG; 51 int bank = id / BITS_PER_LONG; 52 int offset = id % BITS_PER_LONG; 68 int bank = id / BITS_PER_LONG; 69 int offset = id % BITS_PER_LONG; 114 priv->rcdev.nr_resets = resource_size(res) / 4 * BITS_PER_LONG;
|
/linux-master/lib/ |
H A D | bitmap.c | 20 * BITS_PER_LONG. 40 unsigned int k, lim = bits/BITS_PER_LONG; 45 if (bits % BITS_PER_LONG) 58 unsigned int k, lim = bits / BITS_PER_LONG; 66 if (!(bits % BITS_PER_LONG)) 96 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; 111 upper <<= (BITS_PER_LONG - rem); 142 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; [all...] |
H A D | find_bit.c | 32 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 35 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 58 idx = __start / BITS_PER_LONG; \ 61 if ((idx + 1) * BITS_PER_LONG >= sz) \ 66 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \ 75 for (idx = 0; (idx + 1) * BITS_PER_LONG <= sz; idx++) { \ 76 if (idx * BITS_PER_LONG + nr >= sz) \ 87 if (sz % BITS_PER_LONG) \ 90 sz = min(idx * BITS_PER_LONG + fns(tmp, nr), sz); \ 208 unsigned long idx = (size-1) / BITS_PER_LONG; [all...] |
/linux-master/tools/lib/ |
H A D | find_bit.c | 31 for (idx = 0; idx * BITS_PER_LONG < sz; idx++) { \ 34 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(val)), sz); \ 57 idx = __start / BITS_PER_LONG; \ 60 if ((idx + 1) * BITS_PER_LONG >= sz) \ 65 sz = min(idx * BITS_PER_LONG + __ffs(MUNGE(tmp)), sz); \
|
/linux-master/arch/mips/include/asm/ |
H A D | bitops.h | 92 int bit = nr % BITS_PER_LONG; 120 int bit = nr % BITS_PER_LONG; 161 int bit = nr % BITS_PER_LONG; 183 int bit = nr % BITS_PER_LONG; 227 int bit = nr % BITS_PER_LONG; 264 int bit = nr % BITS_PER_LONG; 334 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && 347 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && 360 num = BITS_PER_LONG - 1; 362 #if BITS_PER_LONG [all...] |
/linux-master/arch/mips/lib/ |
H A D | bitops.c | 24 unsigned int bit = nr % BITS_PER_LONG; 45 unsigned int bit = nr % BITS_PER_LONG; 66 unsigned int bit = nr % BITS_PER_LONG; 88 unsigned int bit = nr % BITS_PER_LONG; 112 unsigned int bit = nr % BITS_PER_LONG; 136 unsigned int bit = nr % BITS_PER_LONG;
|
/linux-master/include/asm-generic/bitops/ |
H A D | __ffs.h | 17 #if BITS_PER_LONG == 64
|
/linux-master/kernel/kcsan/ |
H A D | encoding.h | 43 #define WATCHPOINT_ADDR_BITS (BITS_PER_LONG-1 - WATCHPOINT_SIZE_BITS) 46 #define WATCHPOINT_WRITE_MASK BIT(BITS_PER_LONG-1) 47 #define WATCHPOINT_SIZE_MASK GENMASK(BITS_PER_LONG-2, WATCHPOINT_ADDR_BITS)
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo.h | 58 #if BITS_PER_LONG == 64 61 #define NFT_PIPAPO_MAP_TOBITS (BITS_PER_LONG - NFT_PIPAPO_MAP_NBITS) 91 #if BITS_PER_LONG == 64 203 f->bsize * BITS_PER_LONG); 208 f->bsize * BITS_PER_LONG); 228 f->bsize * BITS_PER_LONG);
|
/linux-master/arch/s390/boot/ |
H A D | als.c | 72 for (j = 0; j < BITS_PER_LONG; j++) { 73 if (!(val & (1UL << (BITS_PER_LONG - 1 - j)))) 87 u16_to_decimal(val_str, i * BITS_PER_LONG + j);
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | vlun.h | 18 #define HIBIT (BITS_PER_LONG - 1)
|
/linux-master/arch/microblaze/mm/ |
H A D | mmu_context.c | 29 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
|
/linux-master/arch/parisc/include/asm/ |
H A D | irq.h | 26 #define CPU_IRQ_MAX (CPU_IRQ_BASE + (BITS_PER_LONG - 1))
|
/linux-master/arch/powerpc/include/asm/ |
H A D | cpu_has_feature.h | 19 #define NUM_CPU_FTR_KEYS BITS_PER_LONG
|
/linux-master/kernel/trace/ |
H A D | pid_list.h | 51 #define LOWER_SIZE (LOWER_MAX / BITS_PER_LONG)
|
Completed in 194 milliseconds
1234567891011>>