/linux-4.1.27/arch/s390/lib/ |
D | find.c | 24 while (size & ~(BITS_PER_LONG - 1)) { in find_first_bit_inv() 27 result += BITS_PER_LONG; in find_first_bit_inv() 28 size -= BITS_PER_LONG; in find_first_bit_inv() 32 tmp = (*p) & (~0UL << (BITS_PER_LONG - size)); in find_first_bit_inv() 36 return result + (__fls(tmp) ^ (BITS_PER_LONG - 1)); in find_first_bit_inv() 43 const unsigned long *p = addr + (offset / BITS_PER_LONG); in find_next_bit_inv() 44 unsigned long result = offset & ~(BITS_PER_LONG - 1); in find_next_bit_inv() 50 offset %= BITS_PER_LONG; in find_next_bit_inv() 54 if (size < BITS_PER_LONG) in find_next_bit_inv() 58 size -= BITS_PER_LONG; in find_next_bit_inv() [all …]
|
/linux-4.1.27/tools/lib/util/ |
D | find_next_bit.c | 18 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) 28 unsigned long result = offset & ~(BITS_PER_LONG-1); in find_next_bit() 34 offset %= BITS_PER_LONG; in find_next_bit() 38 if (size < BITS_PER_LONG) in find_next_bit() 42 size -= BITS_PER_LONG; in find_next_bit() 43 result += BITS_PER_LONG; in find_next_bit() 45 while (size & ~(BITS_PER_LONG-1)) { in find_next_bit() 48 result += BITS_PER_LONG; in find_next_bit() 49 size -= BITS_PER_LONG; in find_next_bit() 56 tmp &= (~0UL >> (BITS_PER_LONG - size)); in find_next_bit() [all …]
|
/linux-4.1.27/include/linux/ |
D | u64_stats_sync.h | 65 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) 71 #if BITS_PER_LONG == 32 && defined(CONFIG_SMP) 79 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_begin() 86 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_update_end() 93 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_fetch_begin() 96 #if BITS_PER_LONG==32 in u64_stats_fetch_begin() 106 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_fetch_retry() 109 #if BITS_PER_LONG==32 in u64_stats_fetch_retry() 124 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in u64_stats_fetch_begin_irq() 127 #if BITS_PER_LONG==32 in u64_stats_fetch_begin_irq() [all …]
|
D | joystick.h | 30 #if BITS_PER_LONG == 64 32 #elif BITS_PER_LONG == 32 35 #error Unexpected BITS_PER_LONG
|
D | hash.h | 25 #if BITS_PER_LONG == 32 28 #elif BITS_PER_LONG == 64 55 #if BITS_PER_LONG == 64 in hash_64() 96 #if BITS_PER_LONG == 64 in hash32_ptr()
|
D | proportions.h | 85 #if BITS_PER_LONG == 32 86 #define PROP_MAX_SHIFT (3*BITS_PER_LONG/4) 88 #define PROP_MAX_SHIFT (BITS_PER_LONG/2) 91 #define PROP_FRAC_SHIFT (BITS_PER_LONG - PROP_MAX_SHIFT - 1)
|
D | bitops.h | 8 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) 9 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) 22 (((~0UL) << (l)) & (~0UL >> (BITS_PER_LONG - 1 - (h)))) 191 #if BITS_PER_LONG == 32 in __ffs64() 194 #elif BITS_PER_LONG != 64 in __ffs64() 195 #error BITS_PER_LONG not 32 or 64 in __ffs64()
|
D | mod_devicetable.h | 310 kernel_ulong_t evbit[INPUT_DEVICE_ID_EV_MAX / BITS_PER_LONG + 1]; 311 kernel_ulong_t keybit[INPUT_DEVICE_ID_KEY_MAX / BITS_PER_LONG + 1]; 312 kernel_ulong_t relbit[INPUT_DEVICE_ID_REL_MAX / BITS_PER_LONG + 1]; 313 kernel_ulong_t absbit[INPUT_DEVICE_ID_ABS_MAX / BITS_PER_LONG + 1]; 314 kernel_ulong_t mscbit[INPUT_DEVICE_ID_MSC_MAX / BITS_PER_LONG + 1]; 315 kernel_ulong_t ledbit[INPUT_DEVICE_ID_LED_MAX / BITS_PER_LONG + 1]; 316 kernel_ulong_t sndbit[INPUT_DEVICE_ID_SND_MAX / BITS_PER_LONG + 1]; 317 kernel_ulong_t ffbit[INPUT_DEVICE_ID_FF_MAX / BITS_PER_LONG + 1]; 318 kernel_ulong_t swbit[INPUT_DEVICE_ID_SW_MAX / BITS_PER_LONG + 1];
|
D | fcntl.h | 8 #define force_o_largefile() (BITS_PER_LONG != 32) 11 #if BITS_PER_LONG == 32
|
D | page-flags-layout.h | 55 #if SECTIONS_WIDTH+ZONES_WIDTH+NODES_SHIFT <= BITS_PER_LONG - NR_PAGEFLAGS 76 #if SECTIONS_WIDTH+ZONES_WIDTH+NODES_SHIFT+LAST_CPUPID_SHIFT <= BITS_PER_LONG - NR_PAGEFLAGS
|
D | efi.h | 28 #define EFI_LOAD_ERROR ( 1 | (1UL << (BITS_PER_LONG-1))) 29 #define EFI_INVALID_PARAMETER ( 2 | (1UL << (BITS_PER_LONG-1))) 30 #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1))) 31 #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1))) 32 #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1))) 33 #define EFI_NOT_READY ( 6 | (1UL << (BITS_PER_LONG-1))) 34 #define EFI_DEVICE_ERROR ( 7 | (1UL << (BITS_PER_LONG-1))) 35 #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1))) 36 #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) 37 #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) [all …]
|
D | cpumask.h | 754 cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)]; 758 const unsigned long *p = cpu_bit_bitmap[1 + cpu % BITS_PER_LONG]; in get_cpu_mask() 759 p -= cpu / BITS_PER_LONG; in get_cpu_mask() 765 #if NR_CPUS <= BITS_PER_LONG 797 #if NR_CPUS <= BITS_PER_LONG
|
D | bitmap.h | 175 #define BITMAP_FIRST_WORD_MASK(start) (~0UL << ((start) & (BITS_PER_LONG - 1))) 176 #define BITMAP_LAST_WORD_MASK(nbits) (~0UL >> (-(nbits) & (BITS_PER_LONG - 1))) 179 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
|
D | math64.h | 7 #if BITS_PER_LONG == 64 58 #elif BITS_PER_LONG == 32
|
D | jiffies.h | 79 #if (BITS_PER_LONG < 64) 271 #if BITS_PER_LONG < 64
|
D | mm_types.h | 29 #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8) 211 #if (BITS_PER_LONG > 32) || (PAGE_SIZE >= 65536)
|
D | mpi.h | 41 #define BYTES_PER_MPI_LIMB (BITS_PER_LONG / 8) 42 #define BITS_PER_MPI_LIMB BITS_PER_LONG
|
D | page_counter.h | 18 #if BITS_PER_LONG == 32
|
D | etherdevice.h | 302 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ether_addr_equal_64bits() 375 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in compare_ether_header()
|
D | assoc_array.h | 21 #define ASSOC_ARRAY_KEY_CHUNK_SIZE BITS_PER_LONG /* Key data retrieved in chunks of this size */
|
D | radix-tree.h | 73 ((RADIX_TREE_MAP_SIZE + BITS_PER_LONG - 1) / BITS_PER_LONG)
|
D | genhd.h | 677 #if BITS_PER_LONG==32 && defined(CONFIG_LBDAF) && defined(CONFIG_SMP) in part_nr_sects_read() 685 #elif BITS_PER_LONG==32 && defined(CONFIG_LBDAF) && defined(CONFIG_PREEMPT) in part_nr_sects_read() 704 #if BITS_PER_LONG==32 && defined(CONFIG_LBDAF) && defined(CONFIG_SMP) in part_nr_sects_write() 708 #elif BITS_PER_LONG==32 && defined(CONFIG_LBDAF) && defined(CONFIG_PREEMPT) in part_nr_sects_write()
|
D | kallsyms.h | 14 2*(BITS_PER_LONG*3/10) + (MODULE_NAME_LEN - 1) + 1)
|
D | fdtable.h | 22 #define NR_OPEN_DEFAULT BITS_PER_LONG
|
D | percpu.h | 51 #if BITS_PER_LONG > 32
|
D | assoc_array_priv.h | 26 #define ASSOC_ARRAY_KEY_CHUNK_SHIFT (ilog2(BITS_PER_LONG))
|
D | btree.h | 210 #define BTREE_TYPE_BITS BITS_PER_LONG
|
D | cpufreq.h | 409 #if BITS_PER_LONG == 32 in cpufreq_scale() 414 #elif BITS_PER_LONG == 64 in cpufreq_scale()
|
D | blk_types.h | 140 #define BIO_POOL_OFFSET (BITS_PER_LONG - BIO_POOL_BITS)
|
D | fs.h | 563 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) 718 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in i_size_read() 727 #elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT) in i_size_read() 746 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) in i_size_write() 752 #elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT) in i_size_write() 887 #if BITS_PER_LONG==32 888 #define MAX_LFS_FILESIZE (((loff_t)PAGE_CACHE_SIZE << (BITS_PER_LONG-1))-1) 889 #elif BITS_PER_LONG==64 1019 #if BITS_PER_LONG == 32 1067 #if BITS_PER_LONG == 32
|
D | timekeeping.h | 38 #if BITS_PER_LONG == 64
|
D | ktime.h | 168 #if BITS_PER_LONG < 64
|
D | btree-type.h | 36 #if (BITS_PER_LONG > BTREE_TYPE_BITS)
|
/linux-4.1.27/lib/ |
D | find_bit.c | 39 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit() 43 start = round_down(start, BITS_PER_LONG); in _find_next_bit() 46 start += BITS_PER_LONG; in _find_next_bit() 50 tmp = addr[start / BITS_PER_LONG] ^ invert; in _find_next_bit() 86 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_bit() 88 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit() 104 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_zero_bit() 106 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); in find_first_zero_bit() 119 unsigned long idx = (size-1) / BITS_PER_LONG; in find_last_bit() 124 return idx * BITS_PER_LONG + __fls(val); in find_last_bit() [all …]
|
D | bitmap.c | 48 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_equal() 53 if (bits % BITS_PER_LONG) in __bitmap_equal() 63 unsigned int k, lim = bits/BITS_PER_LONG; in __bitmap_complement() 67 if (bits % BITS_PER_LONG) in __bitmap_complement() 87 unsigned off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_right() 102 upper <<= (BITS_PER_LONG - rem); in __bitmap_shift_right() 133 unsigned int off = shift/BITS_PER_LONG, rem = shift % BITS_PER_LONG; in __bitmap_shift_left() 142 lower = src[k - 1] >> (BITS_PER_LONG - rem); in __bitmap_shift_left() 157 unsigned int lim = bits/BITS_PER_LONG; in __bitmap_and() 162 if (bits % BITS_PER_LONG) in __bitmap_and() [all …]
|
D | clz_ctz.c | 35 #if BITS_PER_LONG == 32 49 #elif BITS_PER_LONG == 64 64 #error BITS_PER_LONG not 32 or 64
|
D | memweight.c | 22 BUG_ON(longs >= INT_MAX / BITS_PER_LONG); in memweight() 24 longs * BITS_PER_LONG); in memweight()
|
D | hweight.c | 48 #if BITS_PER_LONG == 32 in __sw_hweight64() 51 #elif BITS_PER_LONG == 64 in __sw_hweight64()
|
D | genalloc.c | 89 int bits_to_set = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_set_ll() 96 bits_to_set = BITS_PER_LONG; in bitmap_set_ll() 124 int bits_to_clear = BITS_PER_LONG - (start % BITS_PER_LONG); in bitmap_clear_ll() 131 bits_to_clear = BITS_PER_LONG; in bitmap_clear_ll()
|
D | radix-tree.c | 160 addr += offset / BITS_PER_LONG; in radix_tree_find_next_bit() 161 tmp = *addr >> (offset % BITS_PER_LONG); in radix_tree_find_next_bit() 164 offset = (offset + BITS_PER_LONG) & ~(BITS_PER_LONG - 1); in radix_tree_find_next_bit() 169 offset += BITS_PER_LONG; in radix_tree_find_next_bit() 838 tag_long = offset / BITS_PER_LONG; in radix_tree_next_chunk() 839 tag_bit = offset % BITS_PER_LONG; in radix_tree_next_chunk() 846 (BITS_PER_LONG - tag_bit); in radix_tree_next_chunk() 848 iter->next_index = index + BITS_PER_LONG; in radix_tree_next_chunk() 1455 if (shift >= BITS_PER_LONG) in __maxindex()
|
D | int_sqrt.c | 24 m = 1UL << (BITS_PER_LONG - 2); in int_sqrt()
|
D | flex_proportions.c | 121 if (period - pl->period < BITS_PER_LONG) in fprop_reflect_period_single() 204 if (period - pl->period < BITS_PER_LONG) { in fprop_reflect_period_percpu()
|
D | strnlen_user.c | 11 # define aligned_byte_mask(n) (~0xfful << (BITS_PER_LONG - 8 - 8*(n)))
|
D | proportions.c | 238 if (period < BITS_PER_LONG) { in prop_norm_percpu() 365 if (likely(period < BITS_PER_LONG)) in prop_norm_single()
|
D | div64.c | 24 #if BITS_PER_LONG == 32
|
D | percpu-refcount.c | 34 #define PERCPU_COUNT_BIAS (1LU << (BITS_PER_LONG - 1))
|
/linux-4.1.27/arch/tile/include/asm/ |
D | bitops_64.h | 25 unsigned long mask = (1UL << (nr % BITS_PER_LONG)); in set_bit() 26 __insn_fetchor((void *)(addr + nr / BITS_PER_LONG), mask); in set_bit() 31 unsigned long mask = (1UL << (nr % BITS_PER_LONG)); in clear_bit() 32 __insn_fetchand((void *)(addr + nr / BITS_PER_LONG), ~mask); in clear_bit() 37 unsigned long mask = (1UL << (nr % BITS_PER_LONG)); in change_bit() 39 addr += nr / BITS_PER_LONG; in change_bit() 58 unsigned long mask = (1UL << (nr % BITS_PER_LONG)); in test_and_set_bit() 60 val = (__insn_fetchor((void *)(addr + nr / BITS_PER_LONG), mask) in test_and_set_bit() 70 unsigned long mask = (1UL << (nr % BITS_PER_LONG)); in test_and_clear_bit() 72 val = (__insn_fetchand((void *)(addr + nr / BITS_PER_LONG), ~mask) in test_and_clear_bit() [all …]
|
D | page.h | 132 return BITS_PER_LONG - __builtin_clzl((size - 1) >> PAGE_SHIFT); in get_order()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | bitops.h | 102 #define __BITOPS_WORDS(bits) (((bits) + BITS_PER_LONG - 1) / BITS_PER_LONG) 109 addr = (unsigned long)ptr + ((nr ^ (nr & (BITS_PER_LONG - 1))) >> 3); in __bitops_word() 116 return ((unsigned char *)ptr) + ((nr ^ (BITS_PER_LONG - 8)) >> 3); in __bitops_byte() 136 mask = 1UL << (nr & (BITS_PER_LONG - 1)); in set_bit() 157 mask = ~(1UL << (nr & (BITS_PER_LONG - 1))); in clear_bit() 178 mask = 1UL << (nr & (BITS_PER_LONG - 1)); in change_bit() 188 mask = 1UL << (nr & (BITS_PER_LONG - 1)); in test_and_set_bit() 199 mask = ~(1UL << (nr & (BITS_PER_LONG - 1))); in test_and_clear_bit() 210 mask = 1UL << (nr & (BITS_PER_LONG - 1)); in test_and_change_bit() 275 addr += (nr ^ (BITS_PER_LONG - 8)) >> 3; in test_bit() [all …]
|
D | airq.h | 69 const unsigned long be_to_le = BITS_PER_LONG - 1; in airq_iv_lock() 75 const unsigned long be_to_le = BITS_PER_LONG - 1; in airq_iv_unlock()
|
D | irqflags.h | 64 return !(flags & (3UL << (BITS_PER_LONG - 8))); in arch_irqs_disabled_flags()
|
D | sysinfo.h | 141 unsigned long mask[TOPOLOGY_CORE_BITS / BITS_PER_LONG];
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | bitops.h | 31 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in set_bit() 45 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in set_bit() 70 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in clear_bit() 84 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in clear_bit() 108 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in change_bit() 109 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in change_bit() 133 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in test_and_set_bit() 134 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_set_bit() 173 unsigned long *p = ((unsigned long *)addr) + nr / BITS_PER_LONG; in test_and_clear_bit() 174 unsigned long mask = 1UL << (nr % BITS_PER_LONG); in test_and_clear_bit() [all …]
|
D | types.h | 17 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/include/asm-generic/bitops/ |
D | __fls.h | 14 int num = BITS_PER_LONG - 1; in __fls() 16 #if BITS_PER_LONG == 64 in __fls() 22 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 26 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 30 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 34 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() 38 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()
|
D | count_zeros.h | 30 return BITS_PER_LONG - fls(x); in count_leading_zeros() 32 return BITS_PER_LONG - fls64(x); in count_leading_zeros() 35 #define COUNT_LEADING_ZEROS_0 BITS_PER_LONG
|
D | sched.h | 14 #if BITS_PER_LONG == 64 in sched_find_first_bit() 18 #elif BITS_PER_LONG == 32 in sched_find_first_bit() 27 #error BITS_PER_LONG not defined in sched_find_first_bit()
|
D | fls64.h | 17 #if BITS_PER_LONG == 32 25 #elif BITS_PER_LONG == 64 33 #error BITS_PER_LONG not 32 or 64
|
D | __ffs.h | 16 #if BITS_PER_LONG == 64 in __ffs()
|
D | non-atomic.h | 105 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
|
D | le.h | 31 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7)
|
/linux-4.1.27/drivers/reset/ |
D | reset-socfpga.c | 41 int bank = id / BITS_PER_LONG; in socfpga_reset_assert() 42 int offset = id % BITS_PER_LONG; in socfpga_reset_assert() 63 int bank = id / BITS_PER_LONG; in socfpga_reset_deassert() 64 int offset = id % BITS_PER_LONG; in socfpga_reset_deassert() 84 int bank = id / BITS_PER_LONG; in socfpga_reset_status() 85 int offset = id % BITS_PER_LONG; in socfpga_reset_status() 126 data->rcdev.nr_resets = NR_BANKS * BITS_PER_LONG; in socfpga_reset_probe()
|
D | reset-sunxi.c | 37 int bank = id / BITS_PER_LONG; in sunxi_reset_assert() 38 int offset = id % BITS_PER_LONG; in sunxi_reset_assert() 58 int bank = id / BITS_PER_LONG; in sunxi_reset_deassert() 59 int offset = id % BITS_PER_LONG; in sunxi_reset_deassert()
|
/linux-4.1.27/drivers/scsi/megaraid/ |
D | megaraid_mm.h | 75 #if BITS_PER_LONG == 32 79 #if BITS_PER_LONG == 64 89 #if BITS_PER_LONG == 32 93 #if BITS_PER_LONG == 64
|
/linux-4.1.27/include/linux/sunrpc/ |
D | svcauth.h | 173 if ((len & (BITS_PER_LONG/8-1))==0) in hash_str() 174 hash = hash_long(hash^l, BITS_PER_LONG); in hash_str() 176 return hash >> (BITS_PER_LONG - bits); in hash_str() 192 if ((len & (BITS_PER_LONG/8-1))==0) in hash_mem() 193 hash = hash_long(hash^l, BITS_PER_LONG); in hash_mem() 195 return hash >> (BITS_PER_LONG - bits); in hash_mem()
|
/linux-4.1.27/include/asm-generic/ |
D | bitsperlong.h | 8 #define BITS_PER_LONG 64 macro 10 #define BITS_PER_LONG 32 macro 17 #if 0 && BITS_PER_LONG != __BITS_PER_LONG
|
D | getorder.h | 19 #if BITS_PER_LONG == 32 in __get_order() 52 ((n) == 0UL) ? BITS_PER_LONG - PAGE_SHIFT : \
|
D | div64.h | 23 #if BITS_PER_LONG == 64 33 #elif BITS_PER_LONG == 32
|
D | local64.h | 19 #if BITS_PER_LONG == 64
|
D | atomic-long.h | 21 #if BITS_PER_LONG == 64
|
/linux-4.1.27/arch/mips/include/asm/ |
D | bitops.h | 484 if (BITS_PER_LONG == 32 && !__builtin_constant_p(word) && in __fls() 497 if (BITS_PER_LONG == 64 && !__builtin_constant_p(word) && in __fls() 510 num = BITS_PER_LONG - 1; in __fls() 512 #if BITS_PER_LONG == 64 in __fls() 518 if (!(word & (~0ul << (BITS_PER_LONG-16)))) { in __fls() 522 if (!(word & (~0ul << (BITS_PER_LONG-8)))) { in __fls() 526 if (!(word & (~0ul << (BITS_PER_LONG-4)))) { in __fls() 530 if (!(word & (~0ul << (BITS_PER_LONG-2)))) { in __fls() 534 if (!(word & (~0ul << (BITS_PER_LONG-1)))) in __fls()
|
D | div64.h | 14 #if BITS_PER_LONG == 64
|
/linux-4.1.27/include/linux/mtd/ |
D | map.h | 86 # if BITS_PER_LONG < 64 88 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) 94 # define map_bankwidth_is_large(map) (BITS_PER_LONG < 64) 109 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) 129 # define map_bankwidth_is_large(map) (map_bankwidth(map) > BITS_PER_LONG/8) 184 #define MAX_MAP_LONGS (((MAX_MAP_BANKWIDTH * 8) + BITS_PER_LONG - 1) / BITS_PER_LONG) 353 #if BITS_PER_LONG >= 64 in map_word_load() 389 #if BITS_PER_LONG < 64 421 #if BITS_PER_LONG >= 64 in inline_map_read() 441 #if BITS_PER_LONG >= 64 in inline_map_write()
|
D | cfi.h | 369 #if BITS_PER_LONG >= 64 in cfi_build_cmd() 423 #if BITS_PER_LONG >= 64 in cfi_merge_status()
|
/linux-4.1.27/drivers/video/fbdev/core/ |
D | fb_draw.h | 23 #if BITS_PER_LONG == 64 78 #if BITS_PER_LONG == 64 135 if(index + bswapmask < BITS_PER_LONG) in fb_shifted_pixels_mask_long() 173 #define cpu_to_le_long _cpu_to_le_long(BITS_PER_LONG) 177 #define le_long_to_cpu _le_long_to_cpu(BITS_PER_LONG)
|
D | cfbfillrect.c | 22 #if BITS_PER_LONG == 32 282 int bits = BITS_PER_LONG, bytes = bits >> 3; in cfb_fillrect()
|
D | cfbcopyarea.c | 33 #if BITS_PER_LONG == 32 387 int bits = BITS_PER_LONG, bytes = bits >> 3; in cfb_copyarea()
|
/linux-4.1.27/tools/perf/util/include/linux/ |
D | bitmap.h | 16 ((nbits) % BITS_PER_LONG) ? \ 17 (1UL<<((nbits) % BITS_PER_LONG))-1 : ~0UL \ 21 (__builtin_constant_p(nbits) && (nbits) <= BITS_PER_LONG)
|
/linux-4.1.27/tools/include/linux/ |
D | bitops.h | 12 #define BITS_PER_LONG __WORDSIZE macro 14 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) 15 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
|
/linux-4.1.27/drivers/video/fbdev/ |
D | amifb.c | 2566 #if BITS_PER_LONG == 32 2569 #elif BITS_PER_LONG == 64 2613 last = ~(~0UL >> ((dst_idx + n) % BITS_PER_LONG)); in bitcpy() 2618 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy() 2630 n -= BITS_PER_LONG - dst_idx; in bitcpy() 2634 n /= BITS_PER_LONG; in bitcpy() 2656 right = shift & (BITS_PER_LONG - 1); in bitcpy() 2657 left = -shift & (BITS_PER_LONG - 1); in bitcpy() 2659 if (dst_idx + n <= BITS_PER_LONG) { in bitcpy() 2666 } else if (src_idx + n <= BITS_PER_LONG) { in bitcpy() [all …]
|
/linux-4.1.27/tools/perf/util/ |
D | vdso.c | 37 #if BITS_PER_LONG == 64 50 #if BITS_PER_LONG == 64 in vdso_info__new() 113 #if BITS_PER_LONG == 64 in vdso__exit() 137 #if BITS_PER_LONG == 64 297 #if BITS_PER_LONG == 64 in vdso__dso_findnew()
|
D | bitmap.c | 12 int k, w = 0, lim = bits/BITS_PER_LONG; in __bitmap_weight() 17 if (bits % BITS_PER_LONG) in __bitmap_weight()
|
D | hist.c | 48 const unsigned int unresolved_col_width = BITS_PER_LONG / 4; in hists__set_unres_dso_col_len() 58 const unsigned int unresolved_col_width = BITS_PER_LONG / 4; in hists__calc_col_len() 70 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len() 94 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len() 108 symlen += BITS_PER_LONG / 4 + 2 + 3; in hists__calc_col_len()
|
/linux-4.1.27/mm/ |
D | bootmem.c | 192 shift = idx & (BITS_PER_LONG - 1); in free_all_bootmem_core() 197 vec = ~map[idx / BITS_PER_LONG]; in free_all_bootmem_core() 201 if (end - start >= BITS_PER_LONG) in free_all_bootmem_core() 202 vec |= ~map[idx / BITS_PER_LONG + 1] << in free_all_bootmem_core() 203 (BITS_PER_LONG - shift); in free_all_bootmem_core() 210 if (IS_ALIGNED(start, BITS_PER_LONG) && vec == ~0UL) { in free_all_bootmem_core() 211 int order = ilog2(BITS_PER_LONG); in free_all_bootmem_core() 214 count += BITS_PER_LONG; in free_all_bootmem_core() 215 start += BITS_PER_LONG; in free_all_bootmem_core() 219 start = ALIGN(start + 1, BITS_PER_LONG); in free_all_bootmem_core()
|
D | mempool.c | 28 const int start = max_t(int, byte - (BITS_PER_LONG / 8), 0); in poison_error() 29 const int end = min_t(int, byte + (BITS_PER_LONG / 8), size); in poison_error()
|
/linux-4.1.27/drivers/net/hippi/ |
D | rrunner.h | 6 #if ((BITS_PER_LONG != 32) && (BITS_PER_LONG != 64)) 490 #if (BITS_PER_LONG == 64) 502 #if (BITS_PER_LONG == 64) in set_rraddr() 515 #if (BITS_PER_LONG == 64) && defined(__LITTLE_ENDIAN) in set_rxaddr() 518 #elif (BITS_PER_LONG == 64) in set_rxaddr() 532 #if (BITS_PER_LONG == 64) && defined(__LITTLE_ENDIAN) in set_infoaddr() 535 #elif (BITS_PER_LONG == 64) in set_infoaddr()
|
/linux-4.1.27/arch/x86/include/asm/ |
D | bitops.h | 20 #if BITS_PER_LONG == 32 22 #elif BITS_PER_LONG == 64 310 return ((1UL << (nr & (BITS_PER_LONG-1))) & in constant_test_bit()
|
D | percpu.h | 523 unsigned long __percpu *a = (unsigned long *)addr + nr / BITS_PER_LONG; in x86_this_cpu_constant_test_bit() 526 return ((1UL << (nr % BITS_PER_LONG)) & raw_cpu_read_8(*a)) != 0; in x86_this_cpu_constant_test_bit() 528 return ((1UL << (nr % BITS_PER_LONG)) & raw_cpu_read_4(*a)) != 0; in x86_this_cpu_constant_test_bit()
|
/linux-4.1.27/include/net/ |
D | flow.h | 82 } __attribute__((__aligned__(BITS_PER_LONG/8))); 136 } __attribute__((__aligned__(BITS_PER_LONG/8))); 151 } __attribute__((__aligned__(BITS_PER_LONG/8))); 168 } __attribute__((__aligned__(BITS_PER_LONG/8)));
|
D | ipv6.h | 373 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_masked_addr_cmp() 405 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in __ipv6_addr_set_half() 433 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_equal() 446 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 539 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_any() 551 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_hash() 575 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_loopback() 592 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_v4mapped() 660 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 680 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in __ipv6_addr_diff()
|
D | addrconf.h | 315 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_is_ll_all_nodes() 327 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_is_ll_all_routers() 344 #if defined(CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS) && BITS_PER_LONG == 64 in ipv6_addr_is_solict_mult()
|
D | snmp.h | 163 #if BITS_PER_LONG==32
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | bitops.h | 50 #define PPC_BITLSHIFT(be) (BITS_PER_LONG - 1 - (be)) 175 return BITS_PER_LONG - 1 - lz; in __ilog2() 205 return BITS_PER_LONG; in ffz()
|
/linux-4.1.27/block/ |
D | blk-tag.c | 105 nr_ulongs = ALIGN(depth, BITS_PER_LONG) / BITS_PER_LONG; in init_tag_map() 242 nr_ulongs = ALIGN(max_depth, BITS_PER_LONG) / BITS_PER_LONG; in blk_queue_resize_tags()
|
/linux-4.1.27/arch/sh/include/asm/ |
D | bitops-op32.h | 10 #define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) 139 return 1UL & (addr[BIT_WORD(nr)] >> (nr & (BITS_PER_LONG-1))); in test_bit()
|
/linux-4.1.27/fs/ |
D | file.c | 27 int sysctl_nr_open_min = BITS_PER_LONG; 31 -BITS_PER_LONG; 106 nr = ((sysctl_nr_open - 1) | (BITS_PER_LONG - 1)) + 1; in alloc_fdtable() 231 for (i = size / BITS_PER_LONG; i > 0; ) { in count_open_files() 235 i = (i + 1) * BITS_PER_LONG; in count_open_files() 333 int start = open_files / BITS_PER_LONG; in dup_fd() 361 i = j * BITS_PER_LONG; in close_files() 605 unsigned fd = i * BITS_PER_LONG; in do_close_on_exec()
|
D | select.c | 350 set = ~(~0UL << (n & (BITS_PER_LONG-1))); in max_select_fd() 351 n /= BITS_PER_LONG; in max_select_fd() 378 max += n * BITS_PER_LONG; in max_select_fd() 442 i += BITS_PER_LONG; in do_select() 446 for (j = 0; j < BITS_PER_LONG; ++j, ++i, bit <<= 1) { in do_select()
|
D | stat.c | 166 #if BITS_PER_LONG == 32 in cp_old_stat() 216 #if BITS_PER_LONG == 32 235 #if BITS_PER_LONG == 32 in cp_new_stat()
|
D | fcntl.c | 268 #if BITS_PER_LONG != 32 in do_fcntl() 275 #if BITS_PER_LONG != 32 in do_fcntl() 379 #if BITS_PER_LONG == 32
|
/linux-4.1.27/fs/nilfs2/ |
D | alloc.c | 53 return 1UL << (BITS_PER_LONG - (inode->i_blkbits + 3 /* log2(8) */)); in nilfs_palloc_groups_count() 350 end = (target + BITS_PER_LONG - 1) & ~(BITS_PER_LONG - 1); in nilfs_palloc_find_available_slot() 363 i += BITS_PER_LONG, curr += BITS_PER_LONG) { in nilfs_palloc_find_available_slot() 367 while (*((unsigned long *)bitmap + curr / BITS_PER_LONG) in nilfs_palloc_find_available_slot() 369 end = curr + BITS_PER_LONG; in nilfs_palloc_find_available_slot()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-sirfsoc.c | 79 << (BITS_PER_LONG - RTC_SHIFT) in sirfsoc_rtc_read_alarm() 83 << (BITS_PER_LONG - RTC_SHIFT) in sirfsoc_rtc_read_alarm() 174 rtc_time_to_tm(rtcdrv->overflow_rtc << (BITS_PER_LONG - RTC_SHIFT) | in sirfsoc_rtc_read_time() 188 rtcdrv->overflow_rtc = rtc_time >> (BITS_PER_LONG - RTC_SHIFT); in sirfsoc_rtc_set_time()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_resources.c | 89 if (BITS_PER_LONG == 64 || buf->nbufs == 1) in mlx4_en_map_buffer() 109 if (BITS_PER_LONG == 64 || buf->nbufs == 1) in mlx4_en_unmap_buffer()
|
/linux-4.1.27/fs/ocfs2/cluster/ |
D | masklog.h | 127 unsigned long words[MLOG_MAX_BITS / BITS_PER_LONG]; 132 #if BITS_PER_LONG == 32
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | smp.c | 55 msg = find_next_bit(ops, BITS_PER_LONG, msg+1); in __handle_ipi() 78 } while (msg < BITS_PER_LONG); in __handle_ipi()
|
/linux-4.1.27/drivers/gpu/host1x/hw/ |
D | intr_hw.c | 53 for_each_set_bit(id, ®, BITS_PER_LONG) { in syncpt_thresh_isr() 55 host->syncpt + (i * BITS_PER_LONG + id); in syncpt_thresh_isr()
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | types.h | 10 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/arch/frv/include/asm/ |
D | types.h | 20 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/arch/cris/include/asm/ |
D | types.h | 10 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | types.h | 20 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | types.h | 20 #define BITS_PER_LONG 32 macro
|
/linux-4.1.27/fs/xfs/ |
D | xfs_linux.h | 45 #if (BITS_PER_LONG == 32) 48 #elif (BITS_PER_LONG == 64) 52 #error BITS_PER_LONG must be 32 or 64
|
D | xfs_trans_priv.h | 138 #if BITS_PER_LONG != 64
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | signal.h | 8 #define _NSIG_BPW BITS_PER_LONG
|
D | irq.h | 25 #define CPU_IRQ_MAX (CPU_IRQ_BASE + (BITS_PER_LONG - 1))
|
D | dma.h | 23 #define DMA_CHUNK_SIZE (BITS_PER_LONG*PAGE_SIZE)
|
D | pgtable.h | 122 #if (PGDIR_SHIFT + PAGE_SHIFT + PGD_ORDER - BITS_PER_PGD_ENTRY) > BITS_PER_LONG 123 #define BITS_PER_PGD (BITS_PER_LONG - PGDIR_SHIFT) 137 #define MAX_ADDRBITS (BITS_PER_LONG)
|
D | checksum.h | 132 #if BITS_PER_LONG > 32 in csum_ipv6_magic()
|
D | bitops.h | 20 #define CHOP_SHIFTCOUNT(x) (((unsigned long) (x)) & (BITS_PER_LONG - 1))
|
/linux-4.1.27/include/xen/ |
D | grant_table.h | 219 #if BITS_PER_LONG < 64 in xen_page_foreign() 222 BUILD_BUG_ON(sizeof(struct xen_page_foreign) > BITS_PER_LONG); in xen_page_foreign()
|
/linux-4.1.27/kernel/debug/kdb/ |
D | kdb_private.h | 39 #if BITS_PER_LONG == 32 51 #elif BITS_PER_LONG == 64
|
/linux-4.1.27/arch/microblaze/mm/ |
D | mmu_context.c | 34 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
|
/linux-4.1.27/arch/ia64/hp/common/ |
D | sba_iommu.c | 271 #define DMA_CHUNK_SIZE (BITS_PER_LONG*iovp_size) 320 u64 *ptr = &ioc->pdir_base[pide & ~(BITS_PER_LONG - 1)]; in sba_dump_pdir_entry() 325 msg, rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry() 328 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry() 330 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry() 535 if (likely(bits_wanted <= BITS_PER_LONG/2)) { in sba_search_bitmap() 577 bits = bits_wanted - (qwords * BITS_PER_LONG); in sba_search_bitmap() 742 if (unlikely(bits_not_wanted > BITS_PER_LONG)) { in sba_free_range() 746 bits_not_wanted -= BITS_PER_LONG; in sba_free_range() 747 pide += BITS_PER_LONG; in sba_free_range() [all …]
|
/linux-4.1.27/fs/f2fs/ |
D | segment.c | 40 #if BITS_PER_LONG == 64 in __reverse_ffs() 79 unsigned long result = offset & ~(BITS_PER_LONG - 1); in __find_rev_next_bit() 88 offset %= BITS_PER_LONG; in __find_rev_next_bit() 100 if (size < BITS_PER_LONG) in __find_rev_next_bit() 105 size -= BITS_PER_LONG; in __find_rev_next_bit() 106 result += BITS_PER_LONG; in __find_rev_next_bit() 108 while (size & ~(BITS_PER_LONG-1)) { in __find_rev_next_bit() 112 result += BITS_PER_LONG; in __find_rev_next_bit() 113 size -= BITS_PER_LONG; in __find_rev_next_bit() 119 tmp &= (~0UL >> (BITS_PER_LONG - size)); in __find_rev_next_bit() [all …]
|
/linux-4.1.27/arch/x86/kvm/ |
D | irq_comm.c | 184 irq_source_id = find_first_zero_bit(bitmap, BITS_PER_LONG); in kvm_request_irq_source_id() 186 if (irq_source_id >= BITS_PER_LONG) { in kvm_request_irq_source_id() 208 irq_source_id >= BITS_PER_LONG) { in kvm_free_irq_source_id()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/linux/ |
D | linux-mem.h | 67 #if BITS_PER_LONG == 32
|
D | linux-time.h | 100 #if (BITS_PER_LONG == 32) && (HZ > 4096) in cfs_duration_usec()
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
D | swab.h | 41 #if BITS_PER_LONG > 32
|
/linux-4.1.27/net/netlabel/ |
D | netlabel_kapi.c | 605 if ((off & (BITS_PER_LONG - 1)) != 0) in netlbl_catmap_getlong() 680 if (((spot & (BITS_PER_LONG - 1)) != 0) && in netlbl_catmap_setrng() 681 ((end - spot) > BITS_PER_LONG)) { in netlbl_catmap_setrng() 686 spot += BITS_PER_LONG; in netlbl_catmap_setrng() 716 if ((offset & (BITS_PER_LONG - 1)) != 0) in netlbl_catmap_setlong()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_bitmap.c | 484 #define BITS_PER_LONG_MASK (BITS_PER_LONG - 1) 501 bm = p_addr + (tmp/BITS_PER_LONG); in bm_clear_surplus() 512 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { in bm_clear_surplus() 537 bm = p_addr + (tmp/BITS_PER_LONG); in bm_set_surplus() 547 if (BITS_PER_LONG == 32 && ((bm - p_addr) & 1) == 1) { in bm_set_surplus() 580 if (BITS_PER_LONG == 32 && (last_word & 1) == 0) in bm_count_bits() 1434 changed += BITS_PER_LONG - bits; in bm_set_full_words_within_one_page() 1462 unsigned long sl = ALIGN(s,BITS_PER_LONG); in _drbd_bm_set_bits() 1463 unsigned long el = (e+1) & ~((unsigned long)BITS_PER_LONG-1); in _drbd_bm_set_bits() 1470 if (e - s <= 3*BITS_PER_LONG) { in _drbd_bm_set_bits()
|
D | drbd_int.h | 238 #if BITS_PER_LONG == 64 in bm_xfer_ctx_bit_to_word_offset() 240 #elif BITS_PER_LONG == 32 in bm_xfer_ctx_bit_to_word_offset() 1204 #if BITS_PER_LONG == 32 1208 #elif BITS_PER_LONG == 64 1301 #if !defined(CONFIG_LBDAF) && BITS_PER_LONG == 32 1307 #if BITS_PER_LONG == 32
|
/linux-4.1.27/include/linux/mlx4/ |
D | doorbell.h | 44 #if BITS_PER_LONG == 64
|
/linux-4.1.27/include/linux/mlx5/ |
D | doorbell.h | 39 #if BITS_PER_LONG == 64
|
/linux-4.1.27/mm/kasan/ |
D | report.c | 145 return 3 + (BITS_PER_LONG/8)*2 + (shadow - row)*2 + in shadow_pointer_offset() 163 char buffer[4 + (BITS_PER_LONG/8)*2]; in print_shadow_for_address()
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
D | page.h | 33 #define FOREIGN_FRAME_BIT (1UL<<(BITS_PER_LONG-1)) 34 #define IDENTITY_FRAME_BIT (1UL<<(BITS_PER_LONG-2))
|
/linux-4.1.27/arch/x86/kernel/apic/ |
D | apic_flat_64.c | 78 if (cpu < BITS_PER_LONG) in flat_send_IPI_mask_allbutself() 96 if (cpu < BITS_PER_LONG) in flat_send_IPI_allbutself()
|
/linux-4.1.27/arch/powerpc/mm/ |
D | mmu_context_hash32.c | 62 static unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
|
/linux-4.1.27/init/ |
D | do_mounts.h | 22 #if BITS_PER_LONG == 32
|
/linux-4.1.27/drivers/net/ethernet/tehuti/ |
D | tehuti.h | 80 #if BITS_PER_LONG == 64 83 #elif BITS_PER_LONG == 32 87 # error BITS_PER_LONG is undefined. Must be 64 or 32
|
/linux-4.1.27/arch/parisc/lib/ |
D | memset.c | 24 #define OPSIZ (BITS_PER_LONG/8)
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_lite.h | 139 if (BITS_PER_LONG == 32 && hash64) in hash_x_index()
|
/linux-4.1.27/kernel/gcov/ |
D | gcov.h | 30 #if BITS_PER_LONG >= 64
|
/linux-4.1.27/drivers/staging/slicoss/ |
D | slic.h | 508 #if BITS_PER_LONG == 64 513 #elif BITS_PER_LONG == 32 517 #error BITS_PER_LONG must be 32 or 64
|
/linux-4.1.27/drivers/iommu/ |
D | io-pgtable-arm.c | 907 j = find_first_bit(&cfg->pgsize_bitmap, BITS_PER_LONG); in arm_lpae_run_tests() 908 while (j != BITS_PER_LONG) { in arm_lpae_run_tests() 927 j = find_next_bit(&cfg->pgsize_bitmap, BITS_PER_LONG, j); in arm_lpae_run_tests() 944 j = find_first_bit(&cfg->pgsize_bitmap, BITS_PER_LONG); in arm_lpae_run_tests() 945 while (j != BITS_PER_LONG) { in arm_lpae_run_tests() 963 j = find_next_bit(&cfg->pgsize_bitmap, BITS_PER_LONG, j); in arm_lpae_run_tests()
|
/linux-4.1.27/fs/btrfs/ |
D | ulist.h | 65 #if BITS_PER_LONG == 32 in ulist_add_merge_ptr()
|
D | volumes.h | 41 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) 159 #if BITS_PER_LONG==32 && defined(CONFIG_SMP) 183 #elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT)
|
D | btrfs_inode.h | 214 #if BITS_PER_LONG == 32 in btrfs_inode_hash()
|
/linux-4.1.27/include/acpi/platform/ |
D | aclinux.h | 120 #define ACPI_MACHINE_WIDTH BITS_PER_LONG
|
/linux-4.1.27/kernel/time/ |
D | jiffies.c | 79 #if (BITS_PER_LONG < 64)
|
D | time.c | 256 # if BITS_PER_LONG == 32 in jiffies_to_msecs() 272 # if BITS_PER_LONG == 32 in jiffies_to_usecs() 424 #if BITS_PER_LONG == 32
|
D | sched_clock.c | 241 sched_clock_register(jiffy_sched_clock_read, BITS_PER_LONG, HZ); in sched_clock_postinit()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/ |
D | alloc.c | 93 if (BITS_PER_LONG == 64) { in mlx5_buf_alloc() 124 if (BITS_PER_LONG == 64) in mlx5_buf_free()
|
/linux-4.1.27/arch/blackfin/mach-common/ |
D | smp.c | 153 msg = find_next_bit(&pending, BITS_PER_LONG, msg + 1); in ipi_handler_int1() 171 } while (msg < BITS_PER_LONG); in ipi_handler_int1()
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | platform.h | 343 #ifdef BITS_PER_LONG 344 #if BITS_PER_LONG > 32
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_doorbell.h | 43 #if BITS_PER_LONG == 64
|
/linux-4.1.27/drivers/scsi/ |
D | megaraid.h | 477 #if BITS_PER_LONG == 32 481 #if BITS_PER_LONG == 64 489 #if BITS_PER_LONG == 32 493 #if BITS_PER_LONG == 64
|
/linux-4.1.27/net/netlink/ |
D | genetlink.c | 170 BITS_PER_LONG); in genl_allocate_reserve_groups() 173 mc_groups_longs * BITS_PER_LONG, in genl_allocate_reserve_groups() 179 mc_groups_longs * BITS_PER_LONG); in genl_allocate_reserve_groups() 188 if (id >= mc_groups_longs * BITS_PER_LONG) { in genl_allocate_reserve_groups() 272 mc_groups_longs * BITS_PER_LONG); in genl_validate_assign_mc_groups() 287 mc_groups_longs * BITS_PER_LONG); in genl_validate_assign_mc_groups()
|
/linux-4.1.27/drivers/parisc/ |
D | sba_iommu.c | 201 u64 *ptr = &(ioc->pdir_base[pide & (~0U * BITS_PER_LONG)]); in sba_dump_pdir_entry() 207 rptr, pide & (BITS_PER_LONG - 1), *rptr); in sba_dump_pdir_entry() 210 while (rcnt < BITS_PER_LONG) { in sba_dump_pdir_entry() 212 (rcnt == (pide & (BITS_PER_LONG - 1))) in sba_dump_pdir_entry() 316 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) 356 if (bits_wanted > (BITS_PER_LONG/2)) { in sba_search_bitmap() 383 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap() 499 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | bitops.h | 182 : "r" (addr[BIT_WORD(nr)]), "r" (nr % BITS_PER_LONG) in __test_bit()
|
/linux-4.1.27/lib/raid6/ |
D | int.uc | 27 /* Change this from BITS_PER_LONG if there is something better... */ 28 #if BITS_PER_LONG == 64
|
/linux-4.1.27/net/netfilter/ |
D | nf_conntrack_labels.c | 20 return longs * BITS_PER_LONG; in label_bits()
|
/linux-4.1.27/net/rxrpc/ |
D | ar-skbuff.c | 67 call->ackr_window[loop + 1] << (BITS_PER_LONG - 1); in rxrpc_hard_ACK_data()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | book3s_xics.h | 60 #define ICP_RESEND_MAP_SIZE (KVMPPC_XICS_MAX_ICS_ID / BITS_PER_LONG + 1)
|
/linux-4.1.27/drivers/xen/events/ |
D | events_2l.c | 176 word_idx = evtchn / BITS_PER_LONG; in evtchn_2l_handle_events() 177 bit_idx = evtchn % BITS_PER_LONG; in evtchn_2l_handle_events()
|
/linux-4.1.27/arch/sh/kernel/cpu/sh4/ |
D | sq.c | 377 unsigned int size = (nr_pages + (BITS_PER_LONG - 1)) / BITS_PER_LONG; in sq_api_init()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | davinci_cpdma.h | 18 #define CPDMA_MAX_CHANNELS BITS_PER_LONG
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | channel.c | 32 if (host->info->nb_channels > BITS_PER_LONG) { in host1x_channel_list_init()
|
/linux-4.1.27/arch/mn10300/mm/ |
D | tlb-smp.c | 121 #if NR_CPUS <= BITS_PER_LONG in flush_tlb_others()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | pgtable_32.h | 405 #define MK_IOSPACE_PFN(space, pfn) (pfn | (space << (BITS_PER_LONG - 4))) 406 #define GET_IOSPACE(pfn) (pfn >> (BITS_PER_LONG - 4))
|
/linux-4.1.27/drivers/gpio/ |
D | gpio-generic.c | 95 #if BITS_PER_LONG >= 64 372 #if BITS_PER_LONG >= 64 in bgpio_setup_accessors() 493 if (bgc->bits > BITS_PER_LONG) in bgpio_init()
|
/linux-4.1.27/include/trace/ |
D | ftrace.h | 281 #if BITS_PER_LONG == 32 472 ((BITS_PER_LONG / 8) - 1)) / (BITS_PER_LONG / 8)) 480 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8))
|
/linux-4.1.27/scripts/mod/ |
D | file2alias.c | 20 #define BITS_PER_LONG 32 macro 23 #define BITS_PER_LONG 64 macro 697 for (i = min / BITS_PER_LONG; i < max / BITS_PER_LONG + 1; i++) in do_input() 700 if (arr[i / BITS_PER_LONG] & (1L << (i%BITS_PER_LONG))) in do_input()
|
/linux-4.1.27/drivers/md/ |
D | dm-exception-store.h | 137 # if defined(CONFIG_LBDAF) || (BITS_PER_LONG == 64)
|
/linux-4.1.27/arch/arm/mach-imx/ |
D | iomux-imx31.c | 43 static unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG];
|
/linux-4.1.27/tools/perf/ui/browsers/ |
D | map.c | 113 char tmp[BITS_PER_LONG / 4]; in map__browse()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | time.c | 201 .mask = CLOCKSOURCE_MASK(BITS_PER_LONG),
|
D | pci-dma.c | 257 mask >>= BITS_PER_LONG - pages_needed; in pcxl_alloc_range() 313 mask >>= BITS_PER_LONG - pages_mapped; in pcxl_free_range()
|
/linux-4.1.27/include/linux/raid/ |
D | pq.h | 41 #define BITS_PER_LONG __WORDSIZE macro
|
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_priv.h | 154 KFD_MAX_NUM_OF_QUEUES_PER_PROCESS, BITS_PER_LONG)]; 476 …unsigned long allocated_queue_bitmap[DIV_ROUND_UP(KFD_MAX_NUM_OF_QUEUES_PER_PROCESS, BITS_PER_LONG…
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_internal.h | 47 #if BITS_PER_LONG == 64 55 #elif BITS_PER_LONG == 32
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | bitfield.h | 223 #if BITS_PER_LONG == 64 331 #if BITS_PER_LONG == 64 521 #if BITS_PER_LONG == 64
|
/linux-4.1.27/arch/s390/kernel/ |
D | ptrace.c | 167 (1UL << (BITS_PER_LONG - 1)) : 0; in __peek_user_per() 177 child->thread.per_event.cause << (BITS_PER_LONG - 16); in __peek_user_per() 184 child->thread.per_event.paid << (BITS_PER_LONG - 8); in __peek_user_per() 246 tmp <<= BITS_PER_LONG - 32; in __peek_user() 388 test_fp_ctl(data >> (BITS_PER_LONG - 32))) in __poke_user() 390 child->thread.fp_regs.fpc = data >> (BITS_PER_LONG - 32); in __poke_user()
|
/linux-4.1.27/drivers/infiniband/hw/ehca/ |
D | ipz_pt_fn.h | 68 unsigned long bitmap[IPZ_SPAGE_PER_KPAGE / BITS_PER_LONG];
|
/linux-4.1.27/arch/s390/mm/ |
D | init.c | 124 arch_local_irq_restore(4UL << (BITS_PER_LONG - 8)); in paging_init()
|
/linux-4.1.27/drivers/scsi/lpfc/ |
D | lpfc_disc.h | 72 #define XRI_BITMAP_ULONGS (LPFC_SLI4_MAX_XRI / BITS_PER_LONG)
|
D | lpfc_mem.c | 54 bytes = ((BITS_PER_LONG - 1 + max_xri) / BITS_PER_LONG) * in lpfc_mem_alloc_active_rrq_pool_s4()
|
/linux-4.1.27/include/net/sctp/ |
D | constants.h | 249 #define SCTP_TSN_MAP_INITIAL BITS_PER_LONG
|
/linux-4.1.27/security/selinux/ss/ |
D | ebitmap.h | 27 #define EBITMAP_UNIT_SIZE BITS_PER_LONG
|
/linux-4.1.27/arch/parisc/mm/ |
D | init.c | 598 > BITS_PER_LONG); in mem_init() 838 space_id[index >> SHIFT_PER_LONG] |= (1L << (index & (BITS_PER_LONG - 1))); in alloc_sid() 852 index &= (BITS_PER_LONG - 1); in free_sid()
|
/linux-4.1.27/arch/m68k/mm/ |
D | mcfmmu.c | 27 unsigned long context_map[LAST_CONTEXT / BITS_PER_LONG + 1];
|
/linux-4.1.27/fs/fat/ |
D | fat.h | 233 #if BITS_PER_LONG == 32 in fat_i_pos_read() 237 #if BITS_PER_LONG == 32 in fat_i_pos_read()
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_tx.c | 416 i = start / BITS_PER_LONG; in qib_chg_pioavailkernel() 422 start) % BITS_PER_LONG, &dma)) in qib_chg_pioavailkernel()
|
/linux-4.1.27/kernel/ |
D | cpu.c | 743 const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] = { 747 #if BITS_PER_LONG > 32
|
/linux-4.1.27/sound/pci/lx6464es/ |
D | lx_core.h | 230 #if BITS_PER_LONG == 32 in unpack_pointer()
|
/linux-4.1.27/kernel/sched/ |
D | clock.c | 233 #if BITS_PER_LONG != 64 in sched_clock_remote()
|
D | wait.c | 488 const int shift = BITS_PER_LONG == 32 ? 5 : 6; in bit_waitqueue() 503 if (BITS_PER_LONG == 64) { in atomic_t_waitqueue()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | machine_kexec.c | 227 #define cpu_to_be_ulong __PASTE(cpu_to_be, BITS_PER_LONG)
|
/linux-4.1.27/net/openvswitch/ |
D | flow.h | 179 } __aligned(BITS_PER_LONG/8); /* Ensure that we can do comparisons as longs. */
|
/linux-4.1.27/drivers/char/agp/ |
D | i460-agp.c | 377 map_size = ((I460_KPAGES_PER_IOPAGE + BITS_PER_LONG - 1) & -BITS_PER_LONG)/8; in i460_alloc_large_page()
|
/linux-4.1.27/drivers/staging/i2o/ |
D | i2o.h | 566 #if BITS_PER_LONG == 64 627 #if BITS_PER_LONG == 64
|
/linux-4.1.27/drivers/mtd/chips/ |
D | gen_probe.c | 114 mapsize = sizeof(long) * DIV_ROUND_UP(max_chips, BITS_PER_LONG); in genprobe_ident_chips()
|