/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 …]
|
D | hfsplus_raw.h | 91 __be32 block_count; member
|
D | inode.c | 473 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
|
/fs/udf/ |
D | balloc.c | 197 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() 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() argument 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() argument [all …]
|
/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()
|
/fs/xfs/libxfs/ |
D | xfs_ag.h | 71 xfs_agblock_t block_count; member 129 if (agbno >= pag->block_count) in xfs_verify_agbno()
|
D | xfs_ag.c | 332 pag->block_count = __xfs_ag_block_count(mp, index, agcount, in xfs_initialize_perag() 335 __xfs_agino_range(mp, pag->block_count, &pag->agino_min, in xfs_initialize_perag() 993 pag->block_count = be32_to_cpu(agf->agf_length); in xfs_ag_extend_space() 994 __xfs_agino_range(pag->pag_mount, pag->block_count, &pag->agino_min, in xfs_ag_extend_space()
|
D | xfs_ialloc_btree.c | 689 xfs_agblock_t agblocks = pag->block_count; in xfs_inobt_max_size()
|
/fs/f2fs/ |
D | gc.c | 2047 long long block_count; in update_sb_metadata() local 2055 block_count = le64_to_cpu(raw_sb->block_count); in update_sb_metadata() 2060 raw_sb->block_count = cpu_to_le64(block_count + in update_sb_metadata() 2102 int f2fs_resize_fs(struct file *filp, __u64 block_count) in f2fs_resize_fs() argument 2111 old_block_count = le64_to_cpu(F2FS_RAW_SUPER(sbi)->block_count); in f2fs_resize_fs() 2112 if (block_count > old_block_count) in f2fs_resize_fs() 2119 if (block_count + last_segs * sbi->blocks_per_seg <= in f2fs_resize_fs() 2125 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs() 2129 if (block_count == old_block_count) in f2fs_resize_fs() 2146 shrunk_blocks = old_block_count - block_count; in f2fs_resize_fs()
|
D | debug.c | 220 si->block_count[i] = sbi->block_count[i]; in update_general_status() 617 si->block_count[SSR], si->segment_count[SSR]); in stat_show() 619 si->block_count[LFS], si->segment_count[LFS]); in stat_show()
|
D | f2fs.h | 1671 unsigned int block_count[2]; /* # of allocated blocks */ member 3839 int f2fs_resize_fs(struct file *filp, __u64 block_count); 3917 unsigned int block_count[2]; member 4005 ((sbi)->block_count[(curseg)->alloc_type]++)
|
D | file.c | 3297 __u64 block_count; in f2fs_ioc_resize_fs() local 3305 if (copy_from_user(&block_count, (void __user *)arg, in f2fs_ioc_resize_fs() 3306 sizeof(block_count))) in f2fs_ioc_resize_fs() 3309 return f2fs_resize_fs(filp, block_count); in f2fs_ioc_resize_fs()
|
D | super.c | 1792 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs() 3486 if (segment_count > (le64_to_cpu(raw_super->block_count) >> 9)) { in sanity_check_raw_super() 3488 segment_count, le64_to_cpu(raw_super->block_count)); in sanity_check_raw_super()
|
/fs/incfs/ |
D | pseudo_files.c | 308 u32 block_count; in init_new_file() local 342 block_count = (u32)get_blocks_count_for_size(size); in init_new_file() 354 hash_tree = incfs_alloc_mtree(raw_signature, block_count); in init_new_file() 367 block_count += get_blocks_count_for_size( in init_new_file() 371 if (block_count) in init_new_file() 372 error = incfs_write_blockmap_to_backing_file(bfc, block_count); in init_new_file()
|
D | format.c | 215 u32 block_count) in incfs_write_blockmap_to_backing_file() argument 220 size_t map_size = block_count * sizeof(struct incfs_blockmap_entry); in incfs_write_blockmap_to_backing_file() 228 blockmap.m_block_count = cpu_to_le32(block_count); in incfs_write_blockmap_to_backing_file()
|
D | format.h | 353 u32 block_count);
|
D | data_mgmt.c | 1530 u32 block_count = le32_to_cpu(bm->m_block_count); in process_blockmap_md() local 1535 if (df->df_data_block_count > block_count) in process_blockmap_md() 1538 df->df_total_block_count = block_count; in process_blockmap_md()
|
/fs/hfs/ |
D | extent.c | 221 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()
|
/fs/xfs/scrub/ |
D | repair.c | 212 aglen = pag->block_count; in xrep_calc_ag_resblks() 232 aglen != pag->block_count || in xrep_calc_ag_resblks() 234 aglen = pag->block_count; in xrep_calc_ag_resblks()
|
D | agheader_repair.c | 201 agf->agf_length = cpu_to_be32(sc->sa.pag->block_count); in xrep_agf_init_header() 779 agi->agi_length = cpu_to_be32(sc->sa.pag->block_count); in xrep_agi_init_header()
|
D | agheader.c | 544 if (eoag != pag->block_count) in xchk_agf() 873 if (eoag != pag->block_count) in xchk_agi()
|
/fs/affs/ |
D | amigaffs.h | 79 __be32 block_count; member
|
D | file.c | 337 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(block + 1); in affs_get_block() 928 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); in affs_truncate()
|