/linux-6.6.21/fs/hfsplus/ |
D | extents.c | 57 count = be32_to_cpu(ext->block_count); in hfsplus_ext_find_block() 72 count += be32_to_cpu(ext->block_count); in hfsplus_ext_block_count() 82 if (ext->block_count) in hfsplus_ext_lastblock() 84 return be32_to_cpu(ext->start_block) + be32_to_cpu(ext->block_count); in hfsplus_ext_lastblock() 305 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent() 310 u32 alloc_block, u32 block_count) in hfsplus_add_extent() argument 317 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent() 326 block_count += count; in hfsplus_add_extent() 327 extent->block_count = cpu_to_be32(block_count); in hfsplus_add_extent() 350 count = be32_to_cpu(extent->block_count); in hfsplus_free_extents() [all …]
|
/linux-6.6.21/drivers/media/i2c/ |
D | saa6588.c | 63 unsigned int block_count; member 162 s->block_count--; in block_from_buf() 165 dprintk("%d blocks total.\n", s->block_count); in block_from_buf() 191 rd_blocks = a->block_count; in read_from_buf() 193 if (rd_blocks > s->block_count) in read_from_buf() 194 rd_blocks = s->block_count; in read_from_buf() 216 s->data_available_for_read = (s->block_count > 0); in read_from_buf() 242 s->block_count++; in block_to_buf() 245 dprintk("%d blocks total.\n", s->block_count); in block_to_buf() 471 s->block_count = 0; in saa6588_probe()
|
/linux-6.6.21/fs/udf/ |
D | balloc.c | 193 uint32_t block_count) in udf_bitmap_prealloc_blocks() argument 207 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks() 208 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks() 221 while (bit < (sb->s_blocksize << 3) && block_count > 0) { in udf_bitmap_prealloc_blocks() 224 block_count--; in udf_bitmap_prealloc_blocks() 230 } while (block_count > 0); in udf_bitmap_prealloc_blocks() 519 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument 557 if (alloc_count > block_count) { in udf_table_prealloc_blocks() 558 alloc_count = block_count; in udf_table_prealloc_blocks() 694 uint32_t block_count) in udf_prealloc_blocks() argument [all …]
|
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_top.c | 366 u32 *block_count) in cxd2880_read_block_err_t() argument 371 if (!tnrdmd || !block_err || !block_count) in cxd2880_read_block_err_t() 412 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t() 414 if ((*block_count == 0) || (*block_err > *block_count)) in cxd2880_read_block_err_t() 422 u32 *block_count) in cxd2880_read_block_err_t2() argument 427 if (!tnrdmd || !block_err || !block_count) in cxd2880_read_block_err_t2() 467 *block_count = 1U << (rdata[0] & 0x0f); in cxd2880_read_block_err_t2() 469 if ((*block_count == 0) || (*block_err > *block_count)) in cxd2880_read_block_err_t2() 1064 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in cxd2880_set_frontend() 1065 c->block_count.stat[0].uvalue = 0; in cxd2880_set_frontend() [all …]
|
/linux-6.6.21/block/partitions/ |
D | mac.h | 16 __be32 block_count; /* number of blocks in partition */ member 41 __be32 block_count; member
|
/linux-6.6.21/drivers/media/common/siano/ |
D | smsdvb-main.c | 143 c->block_count.len = n_layers; in smsdvb_stats_not_ready() 153 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready() 280 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 282 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices() 335 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats() 337 c->block_count.stat[0].uvalue += p->total_ts_packets; in smsdvb_update_dvb_stats() 403 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 405 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 429 c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 431 c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; in smsdvb_update_isdbt_stats() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_bloom_filter.c | 238 u8 chunk_index, chunk_count, block_count; in __mlxsw_sp_acl_bf_key_encode() local 242 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in __mlxsw_sp_acl_bf_key_encode() 243 chunk_count = 1 + ((block_count - 1) >> 2); in __mlxsw_sp_acl_bf_key_encode() 378 u8 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp4_acl_bf_key_encode() local 379 u8 chunk_count = 1 + ((block_count - 1) >> 2); in mlxsw_sp4_acl_bf_key_encode()
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | lgdt330x.c | 293 p->block_count.len = 1; in lgdt330x_init() 294 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init() 682 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 709 p->block_count.stat[0].uvalue += 10000; in lgdt3302_read_status() 712 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status() 715 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status() 788 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status() 815 p->block_count.stat[0].uvalue += 10000; in lgdt3303_read_status() 818 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3303_read_status() 821 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
|
D | mb86a20s.c | 744 memset(&c->block_count, 0, sizeof(c->block_count)); in mb86a20s_reset_counters() 1544 c->block_count.len = NUM_LAYERS + 1; in mb86a20s_stats_not_ready() 1558 c->block_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready() 1570 u32 block_error = 0, block_count = 0; in mb86a20s_get_stats() local 1639 &block_count); in mb86a20s_get_stats() 1643 c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats() 1644 c->block_count.stat[1 + layer].uvalue += block_count; in mb86a20s_get_stats() 1651 c->block_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_stats() 1670 t_block_count += c->block_count.stat[1 + layer].uvalue; in mb86a20s_get_stats() 1726 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats() [all …]
|
D | si2165.c | 287 u32 block_count) in si2165_upload_firmware_block() argument 302 __func__, len, offset, block_count); in si2165_upload_firmware_block() 303 while (offset + 12 <= len && cur_block < block_count) { in si2165_upload_firmware_block() 306 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block() 347 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block() 374 u8 block_count; in si2165_upload_firmware() local 421 block_count = data[4]; in si2165_upload_firmware() 453 __func__, patch_version, block_count, crc_expected); in si2165_upload_firmware() 469 &offset, block_count); in si2165_upload_firmware()
|
D | mn88473.c | 446 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status() 447 c->block_count.stat[0].uvalue += utmp2; in mn88473_read_status() 450 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status() 541 c->block_count.len = 1; in mn88473_init() 542 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_init()
|
D | mn88472.c | 186 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88472_read_status() 187 c->block_count.stat[0].uvalue += utmp2; in mn88472_read_status() 190 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88472_read_status() 668 c->block_count.len = 1; in mn88472_probe()
|
/linux-6.6.21/drivers/gpu/drm/i915/display/ |
D | intel_lspcon.c | 329 u8 block_count = 0; in _lspcon_parade_write_infoframe_blocks() local 334 while (block_count < 4) { in _lspcon_parade_write_infoframe_blocks() 337 block_count); in _lspcon_parade_write_infoframe_blocks() 342 data = avi_buf + block_count * 8; in _lspcon_parade_write_infoframe_blocks() 346 block_count); in _lspcon_parade_write_infoframe_blocks() 357 avi_if_ctrl = LSPCON_PARADE_AVI_IF_KICKOFF | block_count; in _lspcon_parade_write_infoframe_blocks() 361 reg, block_count); in _lspcon_parade_write_infoframe_blocks() 365 block_count++; in _lspcon_parade_write_infoframe_blocks()
|
/linux-6.6.21/fs/reiserfs/ |
D | resize.c | 34 unsigned long int block_count, free_blocks; in reiserfs_resize() local 80 block_count = SB_BLOCK_COUNT(s); in reiserfs_resize() 221 free_blocks + (block_count_new - block_count - in reiserfs_resize()
|
/linux-6.6.21/drivers/memstick/core/ |
D | ms_block.c | 158 if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap, in msb_validate_used_block_bitmap() 159 msb->block_count) == total_free_blocks) in msb_validate_used_block_bitmap() 901 if (pba >= msb->block_count) { in msb_read_page() 958 if (pba > msb->block_count) { in msb_read_oob() 1016 if (pba >= msb->block_count || lba >= msb->logical_block_count) { in msb_write_block() 1100 msb->block_count, pba); in msb_get_free_block() 1103 msb->block_count, pba + 1); in msb_get_free_block() 1107 if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) { in msb_get_free_block() 1215 msb->block_count = MS_BLOCK_MAX_BOOT_ADDR; in msb_read_boot_blocks() 1314 if (bad_block >= msb->block_count) { in msb_read_bad_block_table() [all …]
|
/linux-6.6.21/drivers/input/rmi4/ |
D | rmi_f34.h | 176 struct block_count { struct 221 struct block_count blkcount; 265 struct block_count blkcount;
|
D | rmi_f34v7.c | 369 struct block_count *blkcount, in rmi_f34v7_parse_partition_table() 591 u16 block_count; in rmi_f34v7_check_bl_config_size() local 593 block_count = f34->v7.img.bl_config.size / f34->v7.block_size; in rmi_f34v7_check_bl_config_size() 594 f34->update_size += block_count; in rmi_f34v7_check_bl_config_size() 596 if (block_count != f34->v7.blkcount.bl_config) { in rmi_f34v7_check_bl_config_size() 832 u16 block_count; in rmi_f34v7_write_partition_table() local 835 block_count = f34->v7.blkcount.bl_config; in rmi_f34v7_write_partition_table() 837 f34->v7.config_size = f34->v7.block_size * block_count; in rmi_f34v7_write_partition_table() 848 ret = rmi_f34v7_read_blocks(f34, block_count, v7_CMD_READ_CONFIG); in rmi_f34v7_write_partition_table()
|
/linux-6.6.21/drivers/media/test-drivers/vidtv/ |
D | vidtv_demod.c | 157 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in vidtv_clean_stats() 158 c->block_count.stat[0].uvalue = 0; in vidtv_clean_stats() 159 c->block_count.len = 1; in vidtv_clean_stats() 181 c->block_count.stat[0].scale = scale; in vidtv_demod_update_stats()
|
/linux-6.6.21/drivers/s390/block/ |
D | dasd_diag.c | 60 unsigned int block_count; member 183 private->iob.block_count = dreq->block_count; in dasd_start_diag() 417 private->iob.block_count = 1; in dasd_diag_check_device() 443 block->blocks = (unsigned long) label->block_count; in dasd_diag_check_device() 551 dreq->block_count = count; in dasd_diag_build_cp()
|
D | dasd_diag.h | 75 u32 block_count; member
|
/linux-6.6.21/drivers/media/pci/bt8xx/ |
D | bt878.c | 126 bt->block_count = 1 << 4; in bt878_make_risc() 128 bt->line_count = bt->block_count; in bt878_make_risc() 161 (bt->block_count - in bt878_risc_program() 163 bt->block_count) | bt-> in bt878_risc_program()
|
/linux-6.6.21/include/media/i2c/ |
D | saa6588.h | 17 unsigned int block_count; member
|
/linux-6.6.21/drivers/mmc/host/ |
D | vub300.c | 69 u8 block_count[2]; member 1078 vub300->cmnd.head.block_count[0] = 0; in send_command() 1079 vub300->cmnd.head.block_count[1] = 0; in send_command() 1088 vub300->cmnd.head.block_count[0] = 0; in send_command() 1089 vub300->cmnd.head.block_count[1] = 0; in send_command() 1100 vub300->cmnd.head.block_count[0] = in send_command() 1102 vub300->cmnd.head.block_count[1] = in send_command() 1109 vub300->cmnd.head.block_count[0] = 0; in send_command() 1110 vub300->cmnd.head.block_count[1] = 0; in send_command() 1127 vub300->cmnd.head.block_count[0] = 0; in send_command() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ |
D | ec_bhf.c | 254 unsigned block_count, i; in ec_bhf_setup_offsets() local 257 block_count = ioread8(priv->io + INFO_BLOCK_BLK_CNT); in ec_bhf_setup_offsets() 258 for (i = 0; i < block_count; i++) { in ec_bhf_setup_offsets() 264 if (i == block_count) { in ec_bhf_setup_offsets()
|
/linux-6.6.21/fs/xfs/libxfs/ |
D | xfs_ag.h | 69 xfs_agblock_t block_count; member 164 if (agbno >= pag->block_count) in xfs_verify_agbno()
|