Lines Matching refs:blk_t
76 typedef __u32 blk_t;
138 blk_t blk;
213 errcode_t (*get_blocks)(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
508 #define EXT2FS_COMPRESSED_BLKADDR ((blk_t) -1)
565 extern errcode_t ext2fs_new_block(ext2_filsys fs, blk_t goal,
566 ext2fs_block_bitmap map, blk_t *ret);
567 extern errcode_t ext2fs_get_free_blocks(ext2_filsys fs, blk_t start,
568 blk_t finish, int num,
570 blk_t *ret);
571 extern errcode_t ext2fs_alloc_block(ext2_filsys fs, blk_t goal,
572 char *block_buf, blk_t *ret);
597 void ext2fs_block_alloc_stats(ext2_filsys fs, blk_t blk, int inuse);
608 extern int ext2fs_u32_list_test(ext2_u32_list bb, blk_t blk);
611 extern int ext2fs_u32_list_iterate(ext2_u32_iterate iter, blk_t *blk);
619 blk_t blk);
621 blk_t blk);
628 blk_t *blk);
638 extern errcode_t badblocks_list_add(badblocks_list bb, blk_t blk);
639 extern int badblocks_list_test(badblocks_list bb, blk_t blk);
642 extern int badblocks_list_iterate(badblocks_iterate iter, blk_t *blk);
668 blk_t end, blk_t *oend);
688 blk_t start, unsigned int num,
691 blk_t start, unsigned int num,
701 blk_t *blocknr,
710 blk_t *blocknr,
712 blk_t ref_blk,
721 blk_t block, blk_t *phys_blk);
744 blk_t *ret_super_blk,
745 blk_t *ret_old_desc_blk,
746 blk_t *ret_new_desc_blk,
760 blk_t blk, int blockcnt);
769 blk_t blk, int blockcnt);
792 extern errcode_t ext2fs_read_dir_block(ext2_filsys fs, blk_t block,
794 extern errcode_t ext2fs_read_dir_block2(ext2_filsys fs, blk_t block,
796 extern errcode_t ext2fs_write_dir_block(ext2_filsys fs, blk_t block,
798 extern errcode_t ext2fs_write_dir_block2(ext2_filsys fs, blk_t block,
847 extern errcode_t ext2fs_read_ext_attr(ext2_filsys fs, blk_t block, void *buf);
848 extern errcode_t ext2fs_write_ext_attr(ext2_filsys fs, blk_t block,
850 extern errcode_t ext2fs_adjust_ea_refcount(ext2_filsys fs, blk_t blk,
949 blk_t *retblocks);
973 errcode_t ext2fs_read_ind_block(ext2_filsys fs, blk_t blk, void *buf);
974 errcode_t ext2fs_write_ind_block(ext2_filsys fs, blk_t blk, void *buf);
1036 extern errcode_t ext2fs_get_blocks(ext2_filsys fs, ext2_ino_t ino, blk_t *blocks);
1074 extern errcode_t ext2fs_zero_blocks(ext2_filsys fs, blk_t blk, int num,
1075 blk_t *ret_blk, int *ret_count);
1081 extern errcode_t ext2fs_add_journal_inode(ext2_filsys fs, blk_t size,
1093 extern blk_t ext2fs_descriptor_block_loc(ext2_filsys fs, blk_t group_block,
1118 blk_t blk,
1124 blk_t blk));
1175 extern int ext2fs_group_of_blk(ext2_filsys fs, blk_t blk);
1177 extern blk_t ext2fs_group_first_block(ext2_filsys fs, dgrp_t group);
1178 extern blk_t ext2fs_group_last_block(ext2_filsys fs, dgrp_t group);
1179 extern blk_t ext2fs_inode_data_blocks(ext2_filsys fs,
1366 _INLINE_ int ext2fs_group_of_blk(ext2_filsys fs, blk_t blk)
1383 _INLINE_ blk_t ext2fs_group_first_block(ext2_filsys fs, dgrp_t group)
1392 _INLINE_ blk_t ext2fs_group_last_block(ext2_filsys fs, dgrp_t group)
1400 _INLINE_ blk_t ext2fs_inode_data_blocks(ext2_filsys fs,