Searched refs:BITS_PER_LONG (Results 126 - 150 of 558) sorted by relevance
1234567891011>>
/linux-master/lib/math/ |
H A D | prime_numbers.c | 17 #if BITS_PER_LONG == 64 42 #elif BITS_PER_LONG == 32 61 #error "unhandled BITS_PER_LONG" 127 sz = round_up(sz, BITS_PER_LONG);
|
/linux-master/drivers/gpu/drm/omapdrm/ |
H A D | tcm-sita.c | 120 bitmap_set(mask, (*pos % BITS_PER_LONG), w); 127 index = *pos / BITS_PER_LONG + i * 8; 129 (*pos % BITS_PER_LONG) + w)) {
|
/linux-master/include/net/ |
H A D | flow.h | 91 } __attribute__((__aligned__(BITS_PER_LONG/8))); 152 } __attribute__((__aligned__(BITS_PER_LONG/8))); 171 } __attribute__((__aligned__(BITS_PER_LONG/8)));
|
/linux-master/net/netfilter/ |
H A D | nft_set_pipapo_avx2.c | 27 #define NFT_PIPAPO_LONGS_PER_M256 (XSAVE_YMM_SIZE / BITS_PER_LONG) 101 int offset = start % BITS_PER_LONG; 104 data += start / BITS_PER_LONG; 111 if (likely(len < BITS_PER_LONG || offset)) { 112 if (likely(len + offset <= BITS_PER_LONG)) { 118 len -= BITS_PER_LONG - offset; 121 if (len <= BITS_PER_LONG) { 122 mask = ~0UL >> (BITS_PER_LONG - len); 129 data += len / BITS_PER_LONG; 131 len %= BITS_PER_LONG; [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | nospec-branch.h | 147 add $(BITS_PER_LONG/8) * 2, %_ASM_SP; \ 163 add $(BITS_PER_LONG/8) * nr, %_ASM_SP; 177 add $(BITS_PER_LONG/8), %_ASM_SP; \
|
/linux-master/include/linux/ |
H A D | cpumask.h | 78 #if NR_CPUS <= BITS_PER_LONG 81 #elif NR_CPUS <= 4*BITS_PER_LONG 1090 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 1094 const unsigned long *p = cpu_bit_bitmap[1 + cpu % BITS_PER_LONG]; 1095 p -= cpu / BITS_PER_LONG; 1179 #if NR_CPUS <= BITS_PER_LONG 1185 #else /* NR_CPUS > BITS_PER_LONG */ 1192 #endif /* NR_CPUS > BITS_PER_LONG */ 1257 #if NR_CPUS <= BITS_PER_LONG 1268 #endif /* NR_CPUS > BITS_PER_LONG */ [all...] |
H A D | efi.h | 33 #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1))) 34 #define EFI_INVALID_PARAMETER ( 2 | (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))) 41 #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) 42 #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG [all...] |
H A D | btree.h | 211 #define BTREE_TYPE_BITS BITS_PER_LONG
|
H A D | kallsyms.h | 21 2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + \
|
H A D | percpu.h | 64 #if BITS_PER_LONG > 32
|
H A D | fdtable.h | 21 * The default fd array needs to be at least BITS_PER_LONG, 24 #define NR_OPEN_DEFAULT BITS_PER_LONG
|
/linux-master/drivers/scsi/cxlflash/ |
H A D | vlun.c | 86 bali->lun_bmap_size = lun_size_au / BITS_PER_LONG; 88 if (lun_size_au % BITS_PER_LONG) 108 last_word_underflow = (bali->lun_bmap_size * BITS_PER_LONG); 113 i < BITS_PER_LONG; 224 ((bit_word * BITS_PER_LONG) + bit_pos), ba_lun->lun_id, 227 return (u64) ((bit_word * BITS_PER_LONG) + bit_pos); 241 idx = aun / BITS_PER_LONG; 242 bit_pos = aun % BITS_PER_LONG; 282 idx = to_free / BITS_PER_LONG; 283 bit_pos = to_free % BITS_PER_LONG; [all...] |
/linux-master/lib/ |
H A D | radix-tree.c | 176 * Tail bits starting from size to roundup(size, BITS_PER_LONG) must be zero. 188 addr += offset / BITS_PER_LONG; 189 tmp = *addr >> (offset % BITS_PER_LONG); 192 offset = (offset + BITS_PER_LONG) & ~(BITS_PER_LONG - 1); 197 offset += BITS_PER_LONG; 444 BUG_ON(shift > BITS_PER_LONG); 1115 unsigned tag_long = offset / BITS_PER_LONG; 1116 unsigned tag_bit = offset % BITS_PER_LONG; 1130 (BITS_PER_LONG [all...] |
H A D | genalloc.c | 89 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); 96 bits_to_set = BITS_PER_LONG; 125 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); 132 bits_to_clear = BITS_PER_LONG;
|
/linux-master/drivers/net/wireguard/ |
H A D | receive.c | 312 index = their_counter >> ilog2(BITS_PER_LONG); 315 index_current = counter->counter >> ilog2(BITS_PER_LONG); 317 COUNTER_BITS_TOTAL / BITS_PER_LONG); 320 ((COUNTER_BITS_TOTAL / BITS_PER_LONG) - 1)] = 0; 324 index &= (COUNTER_BITS_TOTAL / BITS_PER_LONG) - 1; 325 ret = !test_and_set_bit(their_counter & (BITS_PER_LONG - 1),
|
H A D | noise.h | 21 unsigned long backtrack[COUNTER_BITS_TOTAL / BITS_PER_LONG];
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 469 * since (b->bm_bits % BITS_PER_LONG) != 0, 481 #define BITS_PER_LONG_MASK (BITS_PER_LONG - 1) 498 bm = p_addr + (tmp/BITS_PER_LONG); 509 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { 534 bm = p_addr + (tmp/BITS_PER_LONG); 544 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { 571 bits += bitmap_weight(p_addr, last_word * BITS_PER_LONG); 575 if (BITS_PER_LONG == 32 && (last_word & 1) == 0) 669 words = ALIGN(bits,BITS_PER_LONG) >> LN2_BPL; 1384 * expected to be called for only a few bits (e - s about BITS_PER_LONG) [all...] |
/linux-master/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.h | 11 #define CPDMA_MAX_CHANNELS BITS_PER_LONG
|
/linux-master/include/net/netfilter/ |
H A D | nf_tables_offload.h | 56 } __aligned(BITS_PER_LONG / 8); /* Ensure that we can do comparisons as longs. */
|
/linux-master/fs/xfs/ |
H A D | xfs_trans_priv.h | 120 #if BITS_PER_LONG != 64
|
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_xics.h | 64 #define ICP_RESEND_MAP_SIZE (KVMPPC_XICS_MAX_ICS_ID / BITS_PER_LONG + 1)
|
/linux-master/include/drm/ |
H A D | drm_vma_manager.h | 36 #if BITS_PER_LONG == 64
|
/linux-master/arch/riscv/kvm/ |
H A D | vcpu_sbi_v01.c | 56 for_each_set_bit(i, &hmask, BITS_PER_LONG) {
|
/linux-master/include/acpi/platform/ |
H A D | aclinux.h | 107 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 125 #if BITS_PER_LONG == 32
|
Completed in 231 milliseconds
1234567891011>>