Lines Matching refs:ffi

21 #define	mapblock1 (*fsig_int1(ffi))
22 #define mapblock2 (*fsig_int2(ffi))
323 ext2fs_mount (fsi_file_t *ffi, const char *options) in ext2fs_mount() argument
333 || */ !devread (ffi, SBLOCK, 0, sizeof (struct ext2_super_block), in ext2fs_mount()
343 ext2_rdfsb (fsi_file_t *ffi, int fsblock, char *buffer) in ext2_rdfsb() argument
348 return devread (ffi, fsblock * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), 0, in ext2_rdfsb()
354 ext4_recurse_extent_index(fsi_file_t *ffi, struct ext4_extent_header *extent_block, int logical_blo… in ext4_recurse_extent_index() argument
367 if (i == 0 || !ext2_rdfsb(ffi, index[i-1].ei_leaf, DATABLOCK1)) in ext4_recurse_extent_index()
369 return (ext4_recurse_extent_index(ffi, (struct ext4_extent_header *) DATABLOCK1, logical_block)); in ext4_recurse_extent_index()
379 ext2fs_block_map (fsi_file_t *ffi, int logical_block) in ext2fs_block_map() argument
417 if (mapblock1 != 1 && !ext2_rdfsb (ffi, INODE->i_block[EXT2_IND_BLOCK], DATABLOCK1)) in ext2fs_block_map()
431 if (mapblock1 != 2 && !ext2_rdfsb (ffi, INODE->i_block[EXT2_DIND_BLOCK], DATABLOCK1)) in ext2fs_block_map()
440 && !ext2_rdfsb (ffi, bnum, DATABLOCK2)) in ext2fs_block_map()
453 && !ext2_rdfsb (ffi, INODE->i_block[EXT2_TIND_BLOCK], DATABLOCK1)) in ext2fs_block_map()
459 if (!ext2_rdfsb (ffi, ((__u32 *) DATABLOCK1) in ext2fs_block_map()
467 if (!ext2_rdfsb (ffi, ((__u32 *) DATABLOCK2) in ext2fs_block_map()
484 … ext4_recurse_extent_index(ffi, (struct ext4_extent_header *) INODE->i_block, logical_block); in ext2fs_block_map()
505 ext2fs_read (fsi_file_t *ffi, char *buf, int len) in ext2fs_read() argument
537 map = ext2fs_block_map (ffi, logical_block); in ext2fs_read()
554 devread (ffi, map * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), in ext2fs_read()
597 int ext2_is_fast_symlink (fsi_file_t *ffi) in ext2_is_fast_symlink() argument
612 ext2fs_dir (fsi_file_t *ffi, char *dirname) in ext2fs_dir() argument
663 if (!ext2_rdfsb (ffi, in ext2fs_dir()
676 if (!ext2_rdfsb (ffi, ino_blk, (char *)INODE)) in ext2fs_dir()
748 if (! ext2_is_fast_symlink (ffi)) in ext2fs_dir()
751 len = ext2fs_read (ffi, linkbuf, filemax); in ext2fs_dir()
851 map = ext2fs_block_map (ffi, blk); in ext2fs_dir()
856 if ((map < 0) || !ext2_rdfsb (ffi, map, DATABLOCK2)) in ext2fs_dir()