/kernel/linux/linux-5.10/fs/hfsplus/ |
H A 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() 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() 309 hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, u32 alloc_block, u32 block_count) hfsplus_add_extent() argument [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A 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() 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() 309 hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, u32 alloc_block, u32 block_count) hfsplus_add_extent() argument [all...] |
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_f34v7.c | 347 struct block_count *blkcount, in rmi_f34v7_parse_partition_table() 576 u16 block_count; in rmi_f34v7_check_ui_firmware_size() local 578 block_count = f34->v7.img.ui_firmware.size / f34->v7.block_size; in rmi_f34v7_check_ui_firmware_size() 579 f34->update_size += block_count; in rmi_f34v7_check_ui_firmware_size() 581 if (block_count != f34->v7.blkcount.ui_firmware) { in rmi_f34v7_check_ui_firmware_size() 584 block_count, f34->v7.blkcount.ui_firmware); in rmi_f34v7_check_ui_firmware_size() 593 u16 block_count; in rmi_f34v7_check_ui_config_size() local 595 block_count = f34->v7.img.ui_config.size / f34->v7.block_size; in rmi_f34v7_check_ui_config_size() 596 f34->update_size += block_count; in rmi_f34v7_check_ui_config_size() 598 if (block_count ! in rmi_f34v7_check_ui_config_size() 608 u16 block_count; rmi_f34v7_check_dp_config_size() local 623 u16 block_count; rmi_f34v7_check_guest_code_size() local 638 u16 block_count; rmi_f34v7_check_bl_config_size() local 960 u16 block_count; rmi_f34v7_write_partition_table() local [all...] |
H A D | rmi_f34.h | 176 struct block_count { struct 221 struct block_count blkcount; 229 u8 block_count; member 282 struct block_count blkcount;
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A 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() 472 s->block_count in saa6588_probe() [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A 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 in saa6588_probe() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_lspcon.c | 298 u8 block_count = 0; in _lspcon_parade_write_infoframe_blocks() local 303 while (block_count < 4) { in _lspcon_parade_write_infoframe_blocks() 306 block_count); in _lspcon_parade_write_infoframe_blocks() 311 data = avi_buf + block_count * 8; in _lspcon_parade_write_infoframe_blocks() 315 block_count); in _lspcon_parade_write_infoframe_blocks() 326 avi_if_ctrl = LSPCON_PARADE_AVI_IF_KICKOFF | block_count; in _lspcon_parade_write_infoframe_blocks() 330 reg, block_count); in _lspcon_parade_write_infoframe_blocks() 334 block_count++; in _lspcon_parade_write_infoframe_blocks()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A 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()
|
/kernel/linux/linux-5.10/block/partitions/ |
H A D | mac.h | 16 __be32 block_count; /* number of blocks in partition */ member 41 __be32 block_count; member
|
/kernel/linux/linux-6.6/block/partitions/ |
H A D | mac.h | 16 __be32 block_count; /* number of blocks in partition */ member 41 __be32 block_count; member
|
/kernel/linux/linux-5.10/drivers/media/common/siano/ |
H A 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() 252 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices() 254 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices() 307 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats() 309 c->block_count.stat[0].uvalue += p->total_ts_packets; in smsdvb_update_dvb_stats() 375 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats() 377 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 397 c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats() 399 c->block_count in smsdvb_update_isdbt_stats() [all...] |
/kernel/linux/linux-6.6/drivers/media/common/siano/ |
H A 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 in smsdvb_update_isdbt_stats() [all...] |
/kernel/linux/linux-5.10/fs/udf/ |
H A D | balloc.c | 197 uint32_t block_count) in udf_bitmap_prealloc_blocks() 211 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks() 212 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks() 225 while (bit < (sb->s_blocksize << 3) && block_count > 0) { in udf_bitmap_prealloc_blocks() 228 block_count--; in udf_bitmap_prealloc_blocks() 234 } while (block_count > 0); in udf_bitmap_prealloc_blocks() 523 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() 561 if (alloc_count > block_count) { in udf_table_prealloc_blocks() 562 alloc_count = block_count; in udf_table_prealloc_blocks() 698 uint32_t block_count) in udf_prealloc_blocks() 194 udf_bitmap_prealloc_blocks(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_bitmap_prealloc_blocks() argument 521 udf_table_prealloc_blocks(struct super_block *sb, struct inode *table, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_table_prealloc_blocks() argument 695 udf_prealloc_blocks(struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_prealloc_blocks() argument [all...] |
/kernel/linux/linux-6.6/fs/udf/ |
H A D | balloc.c | 193 uint32_t block_count) in udf_bitmap_prealloc_blocks() 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() 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() 190 udf_bitmap_prealloc_blocks(struct super_block *sb, struct udf_bitmap *bitmap, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_bitmap_prealloc_blocks() argument 517 udf_table_prealloc_blocks(struct super_block *sb, struct inode *table, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_table_prealloc_blocks() argument 691 udf_prealloc_blocks(struct super_block *sb, struct inode *inode, uint16_t partition, uint32_t first_block, uint32_t block_count) udf_prealloc_blocks() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_top.c | 366 u32 *block_count) in cxd2880_read_block_err_t() 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() 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() 364 cxd2880_read_block_err_t(struct cxd2880_tnrdmd *tnrdmd, u32 *block_err, u32 *block_count) cxd2880_read_block_err_t() argument 420 cxd2880_read_block_err_t2(struct cxd2880_tnrdmd *tnrdmd, u32 *block_err, u32 *block_count) cxd2880_read_block_err_t2() argument 1127 u32 block_err = 0, block_count = 0; cxd2880_get_stats() local [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_top.c | 366 u32 *block_count) in cxd2880_read_block_err_t() 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() 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() 364 cxd2880_read_block_err_t(struct cxd2880_tnrdmd *tnrdmd, u32 *block_err, u32 *block_count) cxd2880_read_block_err_t() argument 420 cxd2880_read_block_err_t2(struct cxd2880_tnrdmd *tnrdmd, u32 *block_err, u32 *block_count) cxd2880_read_block_err_t2() argument 1127 u32 block_err = 0, block_count = 0; cxd2880_get_stats() local [all...] |
/kernel/linux/linux-5.10/drivers/memstick/core/ |
H A 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() 897 if (pba >= msb->block_count) { in msb_read_page() 954 if (pba > msb->block_count) { in msb_read_oob() 1011 if (pba >= msb->block_count || lba >= msb->logical_block_count) { in msb_write_block() 1094 msb->block_count, pba); in msb_get_free_block() 1097 msb->block_count, pba + 1); in msb_get_free_block() 1101 if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) { in msb_get_free_block() 1209 msb->block_count = MS_BLOCK_MAX_BOOT_ADDR; in msb_read_boot_blocks() 1308 if (bad_block >= msb->block_count) { in msb_read_bad_block_table() [all...] |
/kernel/linux/linux-6.6/drivers/memstick/core/ |
H A 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...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A 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 in lgdt3303_read_status() [all...] |
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/ |
H A 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 in lgdt3303_read_status() [all...] |
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A 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()
|
/kernel/linux/linux-6.6/fs/reiserfs/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_f34.h | 176 struct block_count { struct 221 struct block_count blkcount; 265 struct block_count blkcount;
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
H A D | dasd_diag.c | 60 unsigned int block_count; member 184 private->iob.block_count = dreq->block_count; in dasd_start_diag() 418 private->iob.block_count = 1; in dasd_diag_check_device() 444 block->blocks = (unsigned long) label->block_count; in dasd_diag_check_device() 552 dreq->block_count = count; in dasd_diag_build_cp()
|
/kernel/linux/linux-6.6/drivers/s390/block/ |
H A 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()
|