Searched refs:BITS_PER_LONG (Results 76 - 100 of 564) sorted by relevance

1234567891011>>

/linux-master/arch/riscv/include/asm/
H A Dbitops.h38 #if (BITS_PER_LONG == 64)
41 #elif (BITS_PER_LONG == 32)
45 #error "Unexpected BITS_PER_LONG"
89 return BITS_PER_LONG - 1 - word;
103 (unsigned long)(BITS_PER_LONG - 1 - __builtin_clzl(word)) : \
188 #if (BITS_PER_LONG == 64)
190 #elif (BITS_PER_LONG == 32)
193 #error "Unexpected BITS_PER_LONG"
/linux-master/include/linux/
H A Dmod_devicetable.h371 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
[all...]
H A Du64_stats_sync.h65 #if BITS_PER_LONG == 32
70 #if BITS_PER_LONG == 64
H A Dassoc_array.h17 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */
H A Dxxhash.h126 #if BITS_PER_LONG == 64
H A Dfcntl.h28 #if BITS_PER_LONG == 32
42 #endif /* BITS_PER_LONG == 32 */
H A Dshrinker.h10 #define SHRINKER_UNIT_BITS BITS_PER_LONG
/linux-master/fs/exfat/
H A Dballoc.c14 #if BITS_PER_LONG == 32
18 #elif BITS_PER_LONG == 64
23 #error "BITS_PER_LONG not 32 or 64"
189 ent_idx = ALIGN_DOWN(CLUSTER_TO_BITMAP_ENT(clu), BITS_PER_LONG);
197 i += BITS_PER_LONG) {
209 clu_base += BITS_PER_LONG;
231 unsigned int last_mask = total_clus & (BITS_PER_LONG - 1);
235 for (i = 0; i < total_clus; i += BITS_PER_LONG) {
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dmain.c62 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/arch/riscv/kvm/
H A Daia.c23 struct kvm_vcpu *owners[BITS_PER_LONG];
251 switch (bitpos / BITS_PER_LONG) {
273 return (hviprio >> (bitpos % BITS_PER_LONG)) & TOPI_IPRIO_MASK;
284 switch (bitpos / BITS_PER_LONG) {
306 hviprio &= ~(TOPI_IPRIO_MASK << (bitpos % BITS_PER_LONG));
307 hviprio |= (unsigned long)prio << (bitpos % BITS_PER_LONG);
309 switch (bitpos / BITS_PER_LONG) {
345 nirqs = 4 * (BITS_PER_LONG / 32);
468 for_each_set_bit(i, &hgei_mask, BITS_PER_LONG) {
/linux-master/lib/
H A Dtest_ida.c133 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 Ddynamic_queue_limits.c42 start = (hist_head - DQL_HIST_LEN + 1) * BITS_PER_LONG;
49 end = hist_head * BITS_PER_LONG + (BITS_PER_LONG - 1);
59 if (test_bit(t % (DQL_HIST_LEN * BITS_PER_LONG),
204 dql->history_head = jiffies / BITS_PER_LONG;
H A Dtest_bitmap.c361 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/tools/perf/util/
H A Dvdso.c41 #if BITS_PER_LONG == 64
54 #if BITS_PER_LONG == 64
117 #if BITS_PER_LONG == 64
171 #if BITS_PER_LONG == 64
346 #if BITS_PER_LONG == 64
/linux-master/fs/ocfs2/cluster/
H A Dmasklog.h111 unsigned long words[MLOG_MAX_BITS / BITS_PER_LONG];
116 #if BITS_PER_LONG == 32
/linux-master/arch/hexagon/include/asm/
H A Dbitops.h19 * 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 Dbitops.h11 #ifndef BITS_PER_LONG
12 # define BITS_PER_LONG __WORDSIZE macro
/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/arch/parisc/include/asm/
H A Dhash.h49 #if BITS_PER_LONG == 64
145 #endif /* BITS_PER_LONG == 64 */
/linux-master/kernel/gcov/
H A Dgcov.h32 #if BITS_PER_LONG >= 64
/linux-master/arch/parisc/lib/
H A Dmemset.c5 #define OPSIZ (BITS_PER_LONG/8)
/linux-master/kernel/time/
H A Djiffies.c47 #if (BITS_PER_LONG < 64)
/linux-master/tools/include/asm-generic/bitops/
H A Dnon-atomic.h112 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1)));
/linux-master/drivers/infiniband/hw/hfi1/
H A Dfault.h29 unsigned long opcodes[(1U << BITS_PER_BYTE) / BITS_PER_LONG];
/linux-master/fs/btrfs/
H A Dulist.h60 #if BITS_PER_LONG == 32

Completed in 331 milliseconds

1234567891011>>