Home
last modified time | relevance | path

Searched refs:total_blocks (Results 1 – 13 of 13) sorted by relevance

/fs/hfsplus/
Dextents.c401 u32 total_blocks, blocks, start; in hfsplus_free_fork() local
404 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
405 if (!total_blocks) in hfsplus_free_fork()
415 if (total_blocks == blocks) in hfsplus_free_fork()
423 total_blocks, type); in hfsplus_free_fork()
430 hfsplus_free_extents(sb, ext_entry, total_blocks - start, in hfsplus_free_fork()
431 total_blocks); in hfsplus_free_fork()
432 total_blocks = start; in hfsplus_free_fork()
434 } while (total_blocks > blocks); in hfsplus_free_fork()
449 sbi->total_blocks - sbi->free_blocks + 8) { in hfsplus_file_extend()
[all …]
Dsuper.c318 buf->f_blocks = sbi->total_blocks << sbi->fs_shift; in hfsplus_statfs()
427 sbi->total_blocks = be32_to_cpu(vhdr->total_blocks); in hfsplus_fill_super()
442 last_fs_block = sbi->total_blocks - 1; in hfsplus_fill_super()
484 if (vhdr->attr_file.total_blocks != 0) { in hfsplus_fill_super()
Dhfsplus_raw.h99 __be32 total_blocks; member
120 __be32 total_blocks; member
Dbitmap.c179 if ((offset + count) > sbi->total_blocks) in hfsplus_block_free()
Dinode.c477 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
497 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
Dhfsplus_fs.h166 u32 total_blocks; member
/fs/hfs/
Dextent.c290 u32 total_blocks, blocks, start; in hfs_free_fork() local
296 total_blocks = be32_to_cpu(file->PyLen); in hfs_free_fork()
299 total_blocks = be32_to_cpu(file->RPyLen); in hfs_free_fork()
302 total_blocks /= HFS_SB(sb)->alloc_blksz; in hfs_free_fork()
303 if (!total_blocks) in hfs_free_fork()
313 if (total_blocks == blocks) in hfs_free_fork()
320 res = __hfs_ext_read_extent(&fd, extent, cnid, total_blocks, type); in hfs_free_fork()
324 hfs_free_extents(sb, extent, total_blocks - start, total_blocks); in hfs_free_fork()
326 total_blocks = start; in hfs_free_fork()
327 } while (total_blocks > blocks); in hfs_free_fork()
/fs/incfs/
Dintegrity.c139 int total_blocks = 0; in incfs_alloc_mtree() local
174 total_blocks += blocks; in incfs_alloc_mtree()
177 result->hash_tree_area_size = total_blocks * INCFS_DATA_FILE_BLOCK_SIZE; in incfs_alloc_mtree()
187 suboffset = (total_blocks - blocks) in incfs_alloc_mtree()
/fs/xfs/libxfs/
Dxfs_btree_staging.c754 uint64_t total_blocks = 0; in xfs_btree_bload() local
802 total_blocks += blocks; in xfs_btree_bload()
844 total_blocks += blocks; in xfs_btree_bload()
853 cur->bc_ino.ifake->if_blocks = total_blocks - 1; in xfs_btree_bload()
857 cur->bc_ag.afake->af_blocks = total_blocks; in xfs_btree_bload()
/fs/erofs/
Dsuper.c270 sbi->total_blocks = sbi->primarydevice_blocks; in erofs_init_devices()
318 sbi->total_blocks += dif->blocks; in erofs_init_devices()
912 buf->f_blocks = sbi->total_blocks; in erofs_statfs()
Dinternal.h112 u64 total_blocks; member
/fs/efs/
Dsuper.c240 sb->total_blocks = be32_to_cpu(super->fs_size); in efs_validate_super()
/fs/ocfs2/
Dsuper.c2013 u64 total_blocks; in ocfs2_initialize_super() local
2235 total_blocks = ocfs2_clusters_to_blocks(osb->sb, in ocfs2_initialize_super()
2239 total_blocks); in ocfs2_initialize_super()