Searched refs:BITS_PER_LONG (Results 1 - 25 of 558) sorted by path

1234567891011>>

/linux-master/arch/microblaze/mm/
H A Dmmu_context.c29 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
/linux-master/arch/parisc/include/asm/
H A Dhash.h49 #if BITS_PER_LONG == 64
145 #endif /* BITS_PER_LONG == 64 */
/linux-master/arch/s390/lib/
H A Dfind.c23 while (size & ~(BITS_PER_LONG - 1)) {
26 result += BITS_PER_LONG;
27 size -= BITS_PER_LONG;
31 tmp = (*p) & (~0UL << (BITS_PER_LONG - size));
35 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1));
42 const unsigned long *p = addr + (offset / BITS_PER_LONG);
43 unsigned long result = offset & ~(BITS_PER_LONG - 1);
49 offset %= BITS_PER_LONG;
53 if (size < BITS_PER_LONG)
57 size -= BITS_PER_LONG;
[all...]
/linux-master/drivers/atm/
H A Dfore200e.h590 #if (BITS_PER_LONG == 32)
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_doorbell.h43 #if BITS_PER_LONG == 64
74 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dio.h62 #if BITS_PER_LONG == 64
/linux-master/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.h11 #define CPDMA_MAX_CHANNELS BITS_PER_LONG
/linux-master/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dtopaz_pcie_ipc.h49 #if BITS_PER_LONG == 64
53 #elif BITS_PER_LONG == 32
58 #error Unexpected BITS_PER_LONG value
/linux-master/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier.h51 #if UNIPHIER_PIN_PULL_DIR_SHIFT + UNIPHIER_PIN_PULL_DIR_BITS > BITS_PER_LONG
/linux-master/drivers/scsi/cxlflash/
H A Dvlun.h18 #define HIBIT (BITS_PER_LONG - 1)
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_mm.h71 #if BITS_PER_LONG == 32
75 #if BITS_PER_LONG == 64
85 #if BITS_PER_LONG == 32
89 #if BITS_PER_LONG == 64
/linux-master/drivers/video/fbdev/core/
H A Dfb_draw.h24 #if BITS_PER_LONG == 64
79 #if BITS_PER_LONG == 64
136 if(index + bswapmask < BITS_PER_LONG)
174 #define cpu_to_le_long _cpu_to_le_long(BITS_PER_LONG)
178 #define le_long_to_cpu _le_long_to_cpu(BITS_PER_LONG)
/linux-master/fs/reiserfs/
H A Dbitmap.c1409 info->free_count += BITS_PER_LONG;
1411 info->free_count += BITS_PER_LONG - hweight_long(*cur);
/linux-master/include/asm-generic/bitops/
H A Dfls64.h18 #if BITS_PER_LONG == 32
26 #elif BITS_PER_LONG == 64
34 #error BITS_PER_LONG not 32 or 64
H A Dsched.h15 #if BITS_PER_LONG == 64
19 #elif BITS_PER_LONG == 32
28 #error BITS_PER_LONG not defined
/linux-master/include/linux/
H A Dassoc_array.h17 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */
H A Dassoc_array_priv.h22 #define ASSOC_ARRAY_KEY_CHUNK_SHIFT (ilog2(BITS_PER_LONG))
H A Dbtree-type.h37 #if (BITS_PER_LONG > BTREE_TYPE_BITS)
H A Dcount_zeros.h20 * If only the LSB of @x is set, then the result is BITS_PER_LONG-1.
26 return BITS_PER_LONG - fls(x);
28 return BITS_PER_LONG - fls64(x);
31 #define COUNT_LEADING_ZEROS_0 BITS_PER_LONG
40 * If only the MSB of @x is set, then the result is BITS_PER_LONG-1.
H A Djoystick.h14 #if BITS_PER_LONG == 64
16 #elif BITS_PER_LONG == 32
19 #error Unexpected BITS_PER_LONG
/linux-master/include/linux/mlx4/
H A Ddoorbell.h44 #if BITS_PER_LONG == 64
65 * BITS_PER_LONG is 32 -- there's no portable way to do atomic 64-bit
/linux-master/include/linux/mlx5/
H A Ddoorbell.h52 #if BITS_PER_LONG == 64
/linux-master/include/linux/mtd/
H A Dmap.h72 # if BITS_PER_LONG < 64
74 # 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
367 #if BITS_PER_LONG < 64
399 #if BITS_PER_LONG >
[all...]
/linux-master/lib/
H A Dhweight.c49 #if BITS_PER_LONG == 32
52 #elif BITS_PER_LONG == 64
H A Dmemweight.c23 BUG_ON(longs >= INT_MAX / BITS_PER_LONG);
25 longs * BITS_PER_LONG);

Completed in 355 milliseconds

1234567891011>>