Lines Matching refs:blk_t
74 typedef __u32 __bitwise blk_t; typedef
144 blk_t blk;
225 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
542 #define EXT2FS_COMPRESSED_BLKADDR ((blk_t) -1)
646 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
647 ext2fs_block_bitmap map, blk_t *ret);
650 extern errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start,
651 blk_t finish, int num,
653 blk_t *ret);
658 extern errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal,
659 char *block_buf, blk_t *ret);
686 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse);
698 extern int ext2fs_u32_list_test(ext2_u32_list bb, blk_t blk);
701 extern int ext2fs_u32_list_iterate(ext2_u32_iterate iter, blk_t *blk);
709 blk_t blk);
711 blk_t blk);
718 blk_t *blk);
728 extern errcode_t badblocks_list_add(badblocks_list bb, blk_t blk);
729 extern int badblocks_list_test(badblocks_list bb, blk_t blk);
732 extern int badblocks_list_iterate(badblocks_iterate iter, blk_t *blk);
762 blk_t end, blk_t *oend);
796 blk_t start, unsigned int num,
802 blk_t start, unsigned int num,
875 blk_t *blocknr,
884 blk_t *blocknr,
886 blk_t ref_blk,
906 blk_t block, blk_t *phys_blk);
937 blk_t *ret_used_blks);
940 blk_t *ret_super_blk,
941 blk_t *ret_old_desc_blk,
942 blk_t *ret_new_desc_blk,
961 blk_t blk, int blockcnt);
979 blk_t blk, int blockcnt);
1007 extern errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block,
1009 extern errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
1013 extern errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block,
1015 extern errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
1066 extern errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf);
1069 extern errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block,
1073 extern errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk,
1218 blk_t *retblocks);
1243 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf);
1244 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf);
1311 extern errcode_t ext2fs_get_blocks(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
1359 extern errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num,
1360 blk_t *ret_blk, int *ret_count);
1368 extern errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t num_blocks,
1382 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
1421 blk_t blk,
1427 blk_t blk));
1491 extern dgrp_t ext2fs_group_of_blk(ext2_filsys fs, blk_t blk);
1493 extern blk_t ext2fs_group_first_block(ext2_filsys fs, dgrp_t group);
1494 extern blk_t ext2fs_group_last_block(ext2_filsys fs, dgrp_t group);
1495 extern blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
1687 _INLINE_ dgrp_t ext2fs_group_of_blk(ext2_filsys fs, blk_t blk) in ext2fs_group_of_blk()
1702 _INLINE_ blk_t ext2fs_group_first_block(ext2_filsys fs, dgrp_t group) in ext2fs_group_first_block()
1704 return (blk_t) ext2fs_group_first_block2(fs, group); in ext2fs_group_first_block()
1710 _INLINE_ blk_t ext2fs_group_last_block(ext2_filsys fs, dgrp_t group) in ext2fs_group_last_block()
1712 return (blk_t) ext2fs_group_last_block2(fs, group); in ext2fs_group_last_block()
1715 _INLINE_ blk_t ext2fs_inode_data_blocks(ext2_filsys fs, in ext2fs_inode_data_blocks()
1718 return (blk_t) ext2fs_inode_data_blocks2(fs, inode); in ext2fs_inode_data_blocks()