Home
last modified time | relevance | path

Searched refs:block_count (Results 1 – 25 of 72) sorted by relevance

123

/linux/fs/hfsplus/
A Dextents.c57 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()
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()
369 extent->block_count = 0; in hfsplus_free_extents()
[all …]
/linux/drivers/media/i2c/
A Dsaa6588.c63 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 = 0; in saa6588_probe()
/linux/drivers/input/rmi4/
A Drmi_f34v7.c576 u16 block_count; in rmi_f34v7_check_ui_firmware_size() local
579 f34->update_size += block_count; in rmi_f34v7_check_ui_firmware_size()
593 u16 block_count; in rmi_f34v7_check_ui_config_size() local
596 f34->update_size += block_count; in rmi_f34v7_check_ui_config_size()
608 u16 block_count; in rmi_f34v7_check_dp_config_size() local
611 f34->update_size += block_count; in rmi_f34v7_check_dp_config_size()
623 u16 block_count; in rmi_f34v7_check_guest_code_size() local
626 f34->update_size += block_count; in rmi_f34v7_check_guest_code_size()
638 u16 block_count; in rmi_f34v7_check_bl_config_size() local
641 f34->update_size += block_count; in rmi_f34v7_check_bl_config_size()
[all …]
A Drmi_f34.h176 struct block_count { struct
221 struct block_count blkcount;
229 u8 block_count; member
282 struct block_count blkcount;
/linux/fs/udf/
A Dballoc.c174 uint32_t block_count) in udf_bitmap_prealloc_blocks() argument
188 if (first_block + block_count > part_len) in udf_bitmap_prealloc_blocks()
189 block_count = part_len - first_block; in udf_bitmap_prealloc_blocks()
205 block_count--; in udf_bitmap_prealloc_blocks()
211 } while (block_count > 0); in udf_bitmap_prealloc_blocks()
500 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument
538 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
539 alloc_count = block_count; in udf_table_prealloc_blocks()
675 uint32_t block_count) in udf_prealloc_blocks() argument
684 block_count); in udf_prealloc_blocks()
[all …]
/linux/drivers/media/dvb-frontends/cxd2880/
A Dcxd2880_top.c366 u32 *block_count) in cxd2880_read_block_err_t() argument
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
469 if ((*block_count == 0) || (*block_err > *block_count)) in cxd2880_read_block_err_t2()
1066 c->block_count.len = 1; in cxd2880_set_frontend()
1149 c->block_count.len = 1; in cxd2880_get_stats()
1234 &block_count); in cxd2880_get_stats()
1240 &block_count); in cxd2880_get_stats()
1249 c->block_count.len = 1; in cxd2880_get_stats()
1251 c->block_count.stat[0].uvalue += block_count; in cxd2880_get_stats()
[all …]
/linux/drivers/gpu/drm/i915/display/
A Dintel_lspcon.c320 u8 block_count = 0; in _lspcon_parade_write_infoframe_blocks() local
325 while (block_count < 4) { in _lspcon_parade_write_infoframe_blocks()
328 block_count); in _lspcon_parade_write_infoframe_blocks()
333 data = avi_buf + block_count * 8; in _lspcon_parade_write_infoframe_blocks()
337 block_count); in _lspcon_parade_write_infoframe_blocks()
348 avi_if_ctrl = LSPCON_PARADE_AVI_IF_KICKOFF | block_count; in _lspcon_parade_write_infoframe_blocks()
352 reg, block_count); in _lspcon_parade_write_infoframe_blocks()
356 block_count++; in _lspcon_parade_write_infoframe_blocks()
/linux/drivers/media/common/siano/
A Dsmsdvb-main.c143 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()
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()
491 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats_ex()
493 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats_ex()
[all …]
/linux/drivers/media/dvb-frontends/
A Dlgdt330x.c293 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()
A Dmb86a20s.c744 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
1642 &block_count); in mb86a20s_get_stats()
1646 c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats()
1647 c->block_count.stat[1 + layer].uvalue += block_count; in mb86a20s_get_stats()
1673 t_block_count += c->block_count.stat[1 + layer].uvalue; in mb86a20s_get_stats()
1729 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats()
1730 c->block_count.stat[0].uvalue = t_block_count; in mb86a20s_get_stats()
[all …]
A Dsi2165.c287 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()
A Dmn88473.c446 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()
A Dmn88472.c186 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()
669 c->block_count.len = 1; in mn88472_probe()
/linux/block/partitions/
A Dmac.h16 __be32 block_count; /* number of blocks in partition */ member
41 __be32 block_count; member
/linux/drivers/memstick/core/
A Dms_block.c159 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()
1100 msb->block_count, pba); in msb_get_free_block()
1103 msb->block_count, pba + 1); 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()
1383 for (pba = 0; pba < msb->block_count; pba++) { in msb_ftl_scan()
1768 dbg("Total block count = %d", msb->block_count); in msb_init_card()
2280 if (msb->block_count != new_msb->block_count || in msb_resume()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_bloom_filter.c124 u8 chunk_index, chunk_count, block_count; in mlxsw_sp_acl_bf_key_encode() local
128 block_count = mlxsw_afk_key_info_blocks_count_get(key_info); in mlxsw_sp_acl_bf_key_encode()
129 chunk_count = 1 + ((block_count - 1) >> 2); in mlxsw_sp_acl_bf_key_encode()
/linux/fs/reiserfs/
A Dresize.c34 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/drivers/media/test-drivers/vidtv/
A Dvidtv_demod.c157 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/drivers/s390/block/
A Ddasd_diag.c60 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()
A Ddasd_diag.h75 u32 block_count; member
/linux/drivers/media/pci/bt8xx/
A Dbt878.c126 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/drivers/mmc/host/
A Dvub300.c69 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/include/media/i2c/
A Dsaa6588.h17 unsigned int block_count; member
/linux/drivers/net/ethernet/
A Dec_bhf.c254 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/fs/f2fs/
A Dgc.c1921 long long block_count; in update_sb_metadata() local
1929 block_count = le64_to_cpu(raw_sb->block_count); in update_sb_metadata()
1934 raw_sb->block_count = cpu_to_le64(block_count + in update_sb_metadata()
1976 int f2fs_resize_fs(struct f2fs_sb_info *sbi, __u64 block_count) in f2fs_resize_fs() argument
1984 old_block_count = le64_to_cpu(F2FS_RAW_SUPER(sbi)->block_count); in f2fs_resize_fs()
1985 if (block_count > old_block_count) in f2fs_resize_fs()
1992 if (block_count + last_segs * sbi->blocks_per_seg <= in f2fs_resize_fs()
1998 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs()
2002 if (block_count == old_block_count) in f2fs_resize_fs()
2015 shrunk_blocks = old_block_count - block_count; in f2fs_resize_fs()

Completed in 87 milliseconds

123