Home
last modified time | relevance | path

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

12

/linux-4.19.296/fs/hfsplus/
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()
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-4.19.296/fs/udf/
Dballoc.c197 uint32_t block_count) in udf_bitmap_prealloc_blocks() argument
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()
227 while (bit < (sb->s_blocksize << 3) && block_count > 0) { in udf_bitmap_prealloc_blocks()
230 block_count--; in udf_bitmap_prealloc_blocks()
236 } while (block_count > 0); in udf_bitmap_prealloc_blocks()
514 uint32_t first_block, uint32_t block_count) in udf_table_prealloc_blocks() argument
552 if (alloc_count > block_count) { in udf_table_prealloc_blocks()
553 alloc_count = block_count; in udf_table_prealloc_blocks()
695 uint32_t block_count) in udf_prealloc_blocks() argument
[all …]
/linux-4.19.296/block/partitions/
Dmac.h16 __be32 block_count; /* number of blocks in partition */ member
41 __be32 block_count; member
Dibm.c263 size = (label->cms.block_count - 1) * secperblk; in find_cms1_partitions()
278 size = label->cms.block_count * secperblk; in find_cms1_partitions()
Dmac.c87 be32_to_cpu(part->block_count) * (secsize/512)); in mac_partition()
/linux-4.19.296/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_top.c366 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-4.19.296/drivers/media/common/siano/
Dsmsdvb-main.c154 c->block_count.len = n_layers; in smsdvb_stats_not_ready()
164 c->block_count.stat[i].scale = FE_SCALE_NOT_AVAILABLE; in smsdvb_stats_not_ready()
263 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_per_slices()
265 c->block_count.stat[0].uvalue += p->ets_packets + p->ts_packets; in smsdvb_update_per_slices()
318 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_dvb_stats()
320 c->block_count.stat[0].uvalue += p->total_ts_packets; in smsdvb_update_dvb_stats()
386 c->block_count.stat[0].uvalue = 0; in smsdvb_update_isdbt_stats()
388 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats()
408 c->block_count.stat[i + 1].scale = FE_SCALE_COUNTER; in smsdvb_update_isdbt_stats()
410 c->block_count.stat[i + 1].uvalue += lr->total_ts_packets; in smsdvb_update_isdbt_stats()
[all …]
/linux-4.19.296/drivers/media/dvb-frontends/
Dlgdt330x.c303 p->block_count.len = 1; in lgdt330x_init()
304 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt330x_init()
692 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
719 p->block_count.stat[0].uvalue += 10000; in lgdt3302_read_status()
722 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3302_read_status()
725 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3302_read_status()
798 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
825 p->block_count.stat[0].uvalue += 10000; in lgdt3303_read_status()
828 p->block_count.stat[0].scale = FE_SCALE_COUNTER; in lgdt3303_read_status()
831 p->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in lgdt3303_read_status()
Dmb86a20s.c760 memset(&c->block_count, 0, sizeof(c->block_count)); in mb86a20s_reset_counters()
1560 c->block_count.len = NUM_LAYERS + 1; in mb86a20s_stats_not_ready()
1574 c->block_count.stat[layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_stats_not_ready()
1586 u32 block_error = 0, block_count = 0; in mb86a20s_get_stats() local
1658 &block_count); in mb86a20s_get_stats()
1662 c->block_count.stat[1 + layer].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats()
1663 c->block_count.stat[1 + layer].uvalue += block_count; in mb86a20s_get_stats()
1670 c->block_count.stat[1 + layer].scale = FE_SCALE_NOT_AVAILABLE; in mb86a20s_get_stats()
1689 t_block_count += c->block_count.stat[1 + layer].uvalue; in mb86a20s_get_stats()
1745 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mb86a20s_get_stats()
[all …]
Dsi2165.c296 u32 block_count) in si2165_upload_firmware_block() argument
311 __func__, len, offset, block_count); in si2165_upload_firmware_block()
312 while (offset + 12 <= len && cur_block < block_count) { in si2165_upload_firmware_block()
315 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block()
356 __func__, len, offset, cur_block, block_count); in si2165_upload_firmware_block()
383 u8 block_count; in si2165_upload_firmware() local
430 block_count = data[4]; in si2165_upload_firmware()
462 __func__, patch_version, block_count, crc_expected); in si2165_upload_firmware()
478 &offset, block_count); in si2165_upload_firmware()
Dmn88473.c455 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88473_read_status()
456 c->block_count.stat[0].uvalue += utmp2; in mn88473_read_status()
459 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_read_status()
550 c->block_count.len = 1; in mn88473_init()
551 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88473_init()
Dmn88472.c195 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in mn88472_read_status()
196 c->block_count.stat[0].uvalue += utmp2; in mn88472_read_status()
199 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in mn88472_read_status()
680 c->block_count.len = 1; in mn88472_probe()
Daf9033.c297 c->block_count.len = 1; in af9033_init()
298 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in af9033_init()
804 c->block_count.len = 1; in af9033_read_status()
805 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in af9033_read_status()
806 c->block_count.stat[0].uvalue = dev->total_block_count; in af9033_read_status()
Ddib7000p.c1682 c->block_count.len = 1; in dib7000p_reset_stats()
1691 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_reset_stats()
1917 c->block_count.len = 1; in dib7000p_get_stats()
1925 c->block_count.stat[0].scale = FE_SCALE_NOT_AVAILABLE; in dib7000p_get_stats()
1958 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in dib7000p_get_stats()
1959 c->block_count.stat[0].uvalue += blocks; in dib7000p_get_stats()
1991 c->block_count.stat[0].scale = FE_SCALE_COUNTER; in dib7000p_get_stats()
1992 c->block_count.stat[0].uvalue += blocks; in dib7000p_get_stats()
/linux-4.19.296/fs/reiserfs/
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-4.19.296/drivers/uwb/
Dallocator.c226 int block_count = 0, start_block = 0; in uwb_rsv_fill_column_info() local
243 block_count++; in uwb_rsv_fill_column_info()
244 if ((block_count > safe_mas_in_row[start_block]) && in uwb_rsv_fill_column_info()
250 block_count = 1; in uwb_rsv_fill_column_info()
/linux-4.19.296/drivers/memstick/core/
Dms_block.c162 if (msb->block_count - bitmap_weight(msb->used_blocks_bitmap, in msb_validate_used_block_bitmap()
163 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()
1015 if (pba >= msb->block_count || lba >= msb->logical_block_count) { in msb_write_block()
1098 msb->block_count, pba); in msb_get_free_block()
1101 msb->block_count, pba + 1); in msb_get_free_block()
1105 if (pba == msb->block_count || (msb_get_zone_from_pba(pba)) != zone) { in msb_get_free_block()
1213 msb->block_count = MS_BLOCK_MAX_BOOT_ADDR; in msb_read_boot_blocks()
1312 if (bad_block >= msb->block_count) { in msb_read_bad_block_table()
[all …]
Dms_block.h177 int block_count; member
/linux-4.19.296/drivers/s390/block/
Ddasd_diag.c60 unsigned int block_count; member
184 private->iob.block_count = dreq->block_count; in dasd_start_diag()
411 private->iob.block_count = 1; in dasd_diag_check_device()
437 block->blocks = (unsigned long) label->block_count; in dasd_diag_check_device()
545 dreq->block_count = count; in dasd_diag_build_cp()
Ddasd_diag.h75 u32 block_count; member
/linux-4.19.296/include/media/i2c/
Dsaa6588.h29 unsigned int block_count; member
/linux-4.19.296/fs/affs/
Damigaffs.h76 __be32 block_count; member
/linux-4.19.296/drivers/media/radio/si470x/
Dradio-si470x-common.c473 unsigned int block_count = 0; in si470x_fops_read() local
496 while (block_count < count) { in si470x_fops_read()
511 block_count++; in si470x_fops_read()
/linux-4.19.296/fs/f2fs/
Ddebug.c128 si->block_count[i] = sbi->block_count[i]; in update_general_status()
411 si->block_count[SSR], si->segment_count[SSR]); in stat_show()
413 si->block_count[LFS], si->segment_count[LFS]); in stat_show()
/linux-4.19.296/fs/hfs/
Dextent.c221 u16 alloc_block, u16 block_count) in hfs_add_extent() argument
237 block_count += count; in hfs_add_extent()
238 extent->count = cpu_to_be16(block_count); in hfs_add_extent()

12