/linux-master/arch/sh/include/asm/ |
H A D | heartbeat.h | 12 unsigned int nr_bits; member in struct:heartbeat_data
|
/linux-master/include/trace/stages/ |
H A D | stage5_get_offsets.h | 94 #define __bitmask_size_in_bytes_raw(nr_bits) \ 95 (((nr_bits) + 7) / 8) 97 #define __bitmask_size_in_longs(nr_bits) \ 98 ((__bitmask_size_in_bytes_raw(nr_bits) + \ 106 #define __bitmask_size_in_bytes(nr_bits) \ 107 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8)) 110 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ 111 __bitmask_size_in_longs(nr_bits)) 117 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, \ 118 __bitmask_size_in_longs(nr_bits)) [all...] |
H A D | stage6_event_callback.h | 55 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) 61 #define __assign_bitmask(dst, src, nr_bits) \ 62 memcpy(__get_bitmask(dst), (src), __bitmask_size_in_bytes(nr_bits)) 105 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1) 111 #define __assign_rel_bitmask(dst, src, nr_bits) \ 112 memcpy(__get_rel_bitmask(dst), (src), __bitmask_size_in_bytes(nr_bits))
|
H A D | stage1_struct_define.h | 33 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) 51 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(char, item, -1)
|
H A D | stage2_data_offsets.h | 39 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) 57 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1)
|
H A D | stage4_event_fields.h | 48 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) 72 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1)
|
/linux-master/kernel/bpf/ |
H A D | bloom_filter.c | 97 u32 bitset_bytes, bitset_mask, nr_hash_funcs, nr_bits; local 127 if (check_mul_overflow(attr->max_entries, nr_hash_funcs, &nr_bits) || 128 check_mul_overflow(nr_bits / 5, (u32)7, &nr_bits) || 129 nr_bits > (1UL << 31)) { 137 if (nr_bits <= BITS_PER_LONG) 138 nr_bits = BITS_PER_LONG; 140 nr_bits = roundup_pow_of_two(nr_bits); 141 bitset_bytes = BITS_TO_BYTES(nr_bits); [all...] |
/linux-master/arch/sh/boards/mach-se/7751/ |
H A D | setup.c | 23 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-master/arch/sh/drivers/ |
H A D | heartbeat.c | 67 if ((bit == 0) || (bit == (hd->nr_bits)-1)) 109 if (!hd->nr_bits) { 111 hd->nr_bits = ARRAY_SIZE(default_bit_pos); 115 for (i = 0; i < hd->nr_bits; i++)
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_btf.h | 15 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ 16 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
|
/linux-master/arch/sh/boards/mach-se/7721/ |
H A D | setup.c | 21 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-master/arch/sh/boards/mach-se/7206/ |
H A D | setup.c | 53 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_device_info.c | 56 const u32 nr_bits = min(bitmask_size * 64, mapping_max); local 78 for (u32 i = 0; i < nr_bits; i++) { 221 const u32 nr_bits = min(features_size * 64, mapping_max); local 239 for (u32 i = 0; i < nr_bits; i++) {
|
/linux-master/drivers/md/ |
H A D | dm-era-target.c | 31 uint32_t nr_bits; member in struct:writeset_metadata 56 unsigned int nr_bits, dm_block_t *root) 64 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); 67 static size_t bitset_size(unsigned int nr_bits) argument 69 return sizeof(unsigned long) * dm_div_up(nr_bits, BITS_PER_LONG); 96 ws->md.nr_bits = nr_blocks; 97 r = setup_on_disk_bitset(info, ws->md.nr_bits, &ws->md.root); 163 __le32 nr_bits; member in struct:writeset_disk 366 disk->nr_bits = cpu_to_le32(core->nr_bits); 55 setup_on_disk_bitset(struct dm_disk_bitset *info, unsigned int nr_bits, dm_block_t *root) argument 683 unsigned int nr_bits, current_bit; member in struct:digest [all...] |
H A D | dm-cache-metadata.h | 100 unsigned int nr_bits, unsigned long *bits);
|
H A D | dm-zoned-metadata.c | 2369 * Set @nr_bits bits in @bitmap starting from @bit. 2373 unsigned int bit, unsigned int nr_bits) 2376 unsigned int end = bit + nr_bits; 2482 unsigned int count, bit, nr_bits; local 2501 nr_bits = min(nr_blocks, zmd->zone_bits_per_mblk - bit); 2503 count = dmz_set_bits((unsigned long *)mblk->data, bit, nr_bits); 2510 nr_blocks -= nr_bits; 2511 chunk_block += nr_bits; 2527 * Clear nr_bits bits in bitmap starting from bit. 2530 static int dmz_clear_bits(unsigned long *bitmap, int bit, int nr_bits) argument 2372 dmz_set_bits(unsigned long *bitmap, unsigned int bit, unsigned int nr_bits) argument 2563 unsigned int count, bit, nr_bits; local 2639 unsigned int bit, set_bit, nr_bits; local 2718 dmz_count_bits(void *bitmap, int bit, int nr_bits) argument 2750 unsigned int bit, nr_bits; local [all...] |
/linux-master/drivers/md/persistent-data/ |
H A D | dm-bitset.c | 45 unsigned int nr_bits; member in struct:packer_context 53 unsigned int bit, nr = min(64u, p->nr_bits - (index * 64)); 79 p.nr_bits = size;
|
/linux-master/tools/bpf/bpftool/ |
H A D | btf_dumper.c | 351 static void btf_dumper_bitfield(__u32 nr_bits, __u8 bit_offset, argument 360 bits_to_copy = bit_offset + nr_bits; 371 right_shift_bits = 128 - nr_bits; 382 int nr_bits = BTF_INT_BITS(int_type); local 391 btf_dumper_bitfield(nr_bits, bit_offset, data, jw, 400 __u32 nr_bits; local 403 nr_bits = BTF_INT_BITS(*int_type); 406 BITS_PER_BYTE_MASKED(nr_bits)) { 412 if (nr_bits == 128) {
|
/linux-master/fs/btrfs/ |
H A D | subpage.c | 92 unsigned int nr_bits; local 96 nr_bits = PAGE_SIZE / sectorsize; 97 subpage_info->bitmap_nr_bits = nr_bits; 100 cur += nr_bits; 103 cur += nr_bits; 106 cur += nr_bits; 109 cur += nr_bits; 112 cur += nr_bits; 115 cur += nr_bits;
|
/linux-master/arch/sh/boards/ |
H A D | board-polaris.c | 70 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-master/mm/ |
H A D | percpu-internal.h | 32 int nr_bits; /* total bits responsible for */ member in struct:pcpu_block_md
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | syscall.c | 30 #define BTF_INT_ENC(encoding, bits_offset, nr_bits) \ 31 ((encoding) << 24 | (bits_offset) << 16 | (nr_bits))
|
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 728 uint32_t nr_bits; local 731 nr_bits = this_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); 732 return nr_bits > feature.f.bit && !this_cpu_has(feature.f); 736 nr_bits = this_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); 737 return nr_bits > feature.f.bit || this_cpu_has(feature.f); 953 uint32_t nr_bits; local 956 nr_bits = kvm_cpu_property(X86_PROPERTY_PMU_EBX_BIT_VECTOR_LENGTH); 957 return nr_bits > feature.f.bit && !kvm_cpu_has(feature.f); 961 nr_bits = kvm_cpu_property(X86_PROPERTY_PMU_NR_FIXED_COUNTERS); 962 return nr_bits > featur [all...] |
/linux-master/arch/sh/boards/mach-se/770x/ |
H A D | setup.c | 97 .nr_bits = ARRAY_SIZE(heartbeat_bit_pos),
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 85 u8 nr_bits, int start_kwi, int offset, u8 intf) 101 if (offset + nr_bits <= 64) { 105 field->kw_mask[start_kwi] |= GENMASK_ULL(nr_bits - 1, 0) 108 } else if (offset + nr_bits > 64 && 109 offset + nr_bits <= 128) { 118 bits_in_kw = nr_bits + offset - 64; 132 bits_in_kw = nr_bits + offset - 128; 204 u8 nr_bits, lid, lt, ld; local 231 nr_bits = dummy->layer_mdata.len * 8; 233 npc_set_kw_masks(mcam, NPC_UNKNOWN, nr_bits, 84 npc_set_kw_masks(struct npc_mcam *mcam, u8 type, u8 nr_bits, int start_kwi, int offset, u8 intf) argument 261 u8 nr_bits = 4; /* bits in a nibble */ local 280 u8 nr_bits = 4; /* bits in a nibble */ local [all...] |