Searched refs:block_count (Results 1 – 17 of 17) sorted by relevance
/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 | 459 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/f2fs/ |
D | gc.c | 2029 long long block_count; in update_sb_metadata() local 2037 block_count = le64_to_cpu(raw_sb->block_count); in update_sb_metadata() 2042 raw_sb->block_count = cpu_to_le64(block_count + in update_sb_metadata() 2084 int f2fs_resize_fs(struct file *filp, __u64 block_count) in f2fs_resize_fs() argument 2093 old_block_count = le64_to_cpu(F2FS_RAW_SUPER(sbi)->block_count); in f2fs_resize_fs() 2094 if (block_count > old_block_count) in f2fs_resize_fs() 2101 if (block_count + last_segs * sbi->blocks_per_seg <= in f2fs_resize_fs() 2107 div_u64_rem(block_count, BLKS_PER_SEC(sbi), &rem); in f2fs_resize_fs() 2111 if (block_count == old_block_count) in f2fs_resize_fs() 2128 shrunk_blocks = old_block_count - block_count; in f2fs_resize_fs()
|
D | debug.c | 213 si->block_count[i] = sbi->block_count[i]; in update_general_status() 563 si->block_count[SSR], si->segment_count[SSR]); in stat_show() 565 si->block_count[LFS], si->segment_count[LFS]); in stat_show()
|
D | f2fs.h | 1760 unsigned int block_count[2]; /* # of allocated blocks */ member 3814 int f2fs_resize_fs(struct file *filp, __u64 block_count); 3880 unsigned int block_count[2]; member 3960 ((sbi)->block_count[(curseg)->alloc_type]++)
|
D | file.c | 3377 __u64 block_count; in f2fs_ioc_resize_fs() local 3385 if (copy_from_user(&block_count, (void __user *)arg, in f2fs_ioc_resize_fs() 3386 sizeof(block_count))) in f2fs_ioc_resize_fs() 3389 return f2fs_resize_fs(filp, block_count); in f2fs_ioc_resize_fs()
|
D | super.c | 1758 total_count = le64_to_cpu(sbi->raw_super->block_count); in f2fs_statfs() 3370 if (segment_count > (le64_to_cpu(raw_super->block_count) >> 9)) { in sanity_check_raw_super() 3372 segment_count, le64_to_cpu(raw_super->block_count)); in sanity_check_raw_super()
|
/fs/incfs/ |
D | pseudo_files.c | 307 u32 block_count; in init_new_file() local 341 block_count = (u32)get_blocks_count_for_size(size); in init_new_file() 353 hash_tree = incfs_alloc_mtree(raw_signature, block_count); in init_new_file() 366 block_count += get_blocks_count_for_size( in init_new_file() 370 if (block_count) in init_new_file() 371 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 | 1528 u32 block_count = le32_to_cpu(bm->m_block_count); in process_blockmap_md() local 1533 if (df->df_data_block_count > block_count) in process_blockmap_md() 1536 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/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() 927 AFFS_HEAD(ext_bh)->block_count = cpu_to_be32(i); in affs_truncate()
|