Lines Matching refs:block
21 static sector_t _efs_bmap(struct address_space *mapping, sector_t block) in _efs_bmap() argument
23 return generic_block_bmap(mapping,block,efs_get_block); in _efs_bmap()
56 efs_block_t block, offset; in efs_iget() local
83 block = sb->fs_start + sb->first_block + in efs_iget()
91 bh = sb_bread(inode->i_sb, block); in efs_iget()
93 pr_warn("%s() failed at block %d\n", __func__, block); in efs_iget()
179 efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) { in efs_extent_check() argument
192 if ((block >= offset) && (block < offset+length)) { in efs_extent_check()
193 return(sb->fs_start + start + block - offset); in efs_extent_check()
199 efs_block_t efs_map_block(struct inode *inode, efs_block_t block) { in efs_map_block() argument
213 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
230 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
236 pr_err("%s() failed to map block %u (dir)\n", __func__, block); in efs_map_block()
241 __func__, block); in efs_map_block()
264 cur, block); in efs_map_block()
302 if ((result = efs_extent_check(&ext, block, sb))) { in efs_map_block()
309 pr_err("%s() failed to map block %u (indir)\n", __func__, block); in efs_map_block()