Lines Matching refs:block
20 static sector_t _efs_bmap(struct address_space *mapping, sector_t block) in _efs_bmap() argument
22 return generic_block_bmap(mapping,block,efs_get_block); in _efs_bmap()
55 efs_block_t block, offset; in efs_iget() local
82 block = sb->fs_start + sb->first_block + in efs_iget()
90 bh = sb_bread(inode->i_sb, block); in efs_iget()
92 printk(KERN_WARNING "EFS: bread() failed at block %d\n", block); in efs_iget()
180 efs_extent_check(efs_extent *ptr, efs_block_t block, struct efs_sb_info *sb) { in efs_extent_check() argument
193 if ((block >= offset) && (block < offset+length)) { in efs_extent_check()
194 return(sb->fs_start + start + block - offset); in efs_extent_check()
200 efs_block_t efs_map_block(struct inode *inode, efs_block_t block) { in efs_map_block() argument
214 if ((result = efs_extent_check(&in->extents[last], block, sb))) in efs_map_block()
231 if ((result = efs_extent_check(&in->extents[cur], block, sb))) { in efs_map_block()
237 printk(KERN_ERR "EFS: map_block() failed to map block %u (dir)\n", block); in efs_map_block()
242 printk(KERN_DEBUG "EFS: map_block(): indirect search for logical block %u\n", block); in efs_map_block()
265 …rintk(KERN_ERR "EFS: couldn't find direct extent for indirect extent %d (block %u)\n", cur, block); in efs_map_block()
302 if ((result = efs_extent_check(&ext, block, sb))) { in efs_map_block()
309 printk(KERN_ERR "EFS: map_block() failed to map block %u (indir)\n", block); in efs_map_block()