Searched refs:nr_bits (Results 1 – 9 of 9) sorted by relevance
| /drivers/md/ |
| A D | dm-era-target.c | 31 uint32_t nr_bits; member 56 unsigned int nr_bits, dm_block_t *root) in setup_on_disk_bitset() argument 64 return dm_bitset_resize(info, *root, 0, nr_bits, false, root); in setup_on_disk_bitset() 67 static size_t bitset_size(unsigned int nr_bits) in bitset_size() argument 96 ws->md.nr_bits = nr_blocks; in writeset_init() 163 __le32 nr_bits; member 366 disk->nr_bits = cpu_to_le32(core->nr_bits); in ws_pack() 372 core->nr_bits = le32_to_cpu(disk->nr_bits); in ws_unpack() 683 unsigned int nr_bits, current_bit; member 739 if (b == d->nr_bits) in metadata_digest_transcribe_writeset() [all …]
|
| A D | dm-zoned-metadata.c | 2505 nr_blocks -= nr_bits; in dmz_validate_blocks() 2506 chunk_block += nr_bits; in dmz_validate_blocks() 2528 int end = bit + nr_bits; in dmz_clear_bits() 2578 bit, nr_bits); in dmz_invalidate_blocks() 2585 nr_blocks -= nr_bits; in dmz_invalidate_blocks() 2586 chunk_block += nr_bits; in dmz_invalidate_blocks() 2661 nr_blocks -= nr_bits; in dmz_to_next_set_block() 2662 chunk_block += nr_bits; in dmz_to_next_set_block() 2716 int end = bit + nr_bits; in dmz_count_bits() 2766 nr_blocks -= nr_bits; in dmz_get_zone_weight() [all …]
|
| A D | dm-cache-metadata.c | 1542 static int __set_dirty_bits_v1(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *… in __set_dirty_bits_v1() argument 1547 for (i = 0; i < nr_bits; i++) { in __set_dirty_bits_v1() 1563 static int __set_dirty_bits_v2(struct dm_cache_metadata *cmd, unsigned int nr_bits, unsigned long *… in __set_dirty_bits_v2() argument 1568 if (nr_bits != from_cblock(cmd->cache_blocks)) { in __set_dirty_bits_v2() 1578 return dm_bitset_new(&cmd->dirty_info, &cmd->dirty_root, nr_bits, is_dirty_callback, bits); in __set_dirty_bits_v2() 1582 unsigned int nr_bits, in dm_cache_set_dirty_bits() argument 1589 r = __set_dirty_bits_v2(cmd, nr_bits, bits); in dm_cache_set_dirty_bits() 1591 r = __set_dirty_bits_v1(cmd, nr_bits, bits); in dm_cache_set_dirty_bits()
|
| A D | dm-cache-metadata.h | 99 unsigned int nr_bits, unsigned long *bits);
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_device_info.c | 56 const u32 nr_bits = min(bitmask_size * 64, mapping_max); in pvr_device_info_set_common() local 78 for (u32 i = 0; i < nr_bits; i++) { in pvr_device_info_set_common() 221 const u32 nr_bits = min(features_size * 64, mapping_max); in pvr_device_info_set_features() local 239 for (u32 i = 0; i < nr_bits; i++) { in pvr_device_info_set_features()
|
| /drivers/md/persistent-data/ |
| A D | dm-bitset.c | 45 unsigned int nr_bits; member 53 unsigned int bit, nr = min(64u, p->nr_bits - (index * 64)); in pack_bits() 79 p.nr_bits = size; in dm_bitset_new()
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | rvu_npc_fs.c | 85 u8 nr_bits, int start_kwi, int offset, u8 intf) in npc_set_kw_masks() argument 101 if (offset + nr_bits <= 64) { in npc_set_kw_masks() 108 } else if (offset + nr_bits > 64 && in npc_set_kw_masks() 109 offset + nr_bits <= 128) { in npc_set_kw_masks() 118 bits_in_kw = nr_bits + offset - 64; in npc_set_kw_masks() 132 bits_in_kw = nr_bits + offset - 128; in npc_set_kw_masks() 204 u8 nr_bits, lid, lt, ld; in npc_check_overlap() local 231 nr_bits = dummy->layer_mdata.len * 8; in npc_check_overlap() 233 npc_set_kw_masks(mcam, NPC_UNKNOWN, nr_bits, in npc_check_overlap() 261 u8 nr_bits = 4; /* bits in a nibble */ in npc_scan_exact_result() local [all …]
|
| /drivers/memory/ |
| A D | omap-gpmc.c | 444 int nr_bits; in get_gpmc_timing_reg() local 449 nr_bits = end_bit - st_bit + 1; in get_gpmc_timing_reg() 450 mask = (1 << nr_bits) - 1; in get_gpmc_timing_reg() 613 int ticks, mask, nr_bits; in set_gpmc_timing_reg() local 619 nr_bits = end_bit - st_bit + 1; in set_gpmc_timing_reg() 620 mask = (1 << nr_bits) - 1; in set_gpmc_timing_reg()
|
| /drivers/media/dvb-frontends/drx39xyj/ |
| A D | drxj.c | 2730 u32 nr_bits = 0; in ctrl_set_cfg_mpeg_output() local 2814 nr_bits = 8; in ctrl_set_cfg_mpeg_output() 2817 nr_bits = 7; in ctrl_set_cfg_mpeg_output() 2820 nr_bits = 6; in ctrl_set_cfg_mpeg_output() 2823 nr_bits = 5; in ctrl_set_cfg_mpeg_output() 2826 nr_bits = 4; in ctrl_set_cfg_mpeg_output() 2834 (ext_attr->curr_symbol_rate / 8) * nr_bits * 188; in ctrl_set_cfg_mpeg_output()
|
Completed in 48 milliseconds