/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_bmap.c | 199 vxfs_bmap_typed(struct inode *ip, long iblock) in vxfs_bmap_typed() argument 212 if (iblock < off) in vxfs_bmap_typed() 217 typ->vt_size, iblock - off); in vxfs_bmap_typed() 222 if ((iblock - off) < typ->vt_size) in vxfs_bmap_typed() 223 return (typ->vt_block + iblock - off); in vxfs_bmap_typed() 256 vxfs_bmap1(struct inode *ip, long iblock) in vxfs_bmap1() argument 261 return vxfs_bmap_ext4(ip, iblock); in vxfs_bmap1() 263 return vxfs_bmap_typed(ip, iblock); in vxfs_bmap1()
|
D | vxfs_subr.c | 137 vxfs_getblk(struct inode *ip, sector_t iblock, in vxfs_getblk() argument 142 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
|
/linux-2.4.37.9/fs/qnx4/ |
D | fsync.c | 62 static int sync_iblock(struct inode *inode, unsigned short *iblock, in sync_iblock() argument 69 tmp = *iblock; in sync_iblock() 72 rc = sync_block(inode, iblock, wait); in sync_iblock() 76 if (tmp != *iblock) { in sync_iblock() 104 static int sync_indirect(struct inode *inode, unsigned short *iblock, int wait) in sync_indirect() argument 110 rc = sync_iblock(inode, iblock, &ind_bh, wait); in sync_indirect()
|
D | inode.c | 207 int qnx4_get_block( struct inode *inode, long iblock, struct buffer_head *bh, int create ) in qnx4_get_block() argument 211 QNX4DEBUG(("qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); in qnx4_get_block() 213 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 225 unsigned long qnx4_block_map( struct inode *inode, long iblock ) in qnx4_block_map() argument 235 if ( iblock < le32_to_cpu(qnx4_inode->i_first_xtnt.xtnt_size) ) { in qnx4_block_map() 237 block = le32_to_cpu(qnx4_inode->i_first_xtnt.xtnt_blk) + iblock - 1; in qnx4_block_map() 241 offset = iblock - le32_to_cpu(qnx4_inode->i_first_xtnt.xtnt_size); in qnx4_block_map() 274 QNX4DEBUG(("qnx4: mapping block %ld of inode %ld = %ld\n",iblock,inode->i_ino,block)); in qnx4_block_map()
|
/linux-2.4.37.9/fs/fat/ |
D | file.c | 51 int fat_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) in fat_get_block() argument 56 phys = fat_bmap(inode, iblock); in fat_get_block() 65 if (iblock << sb->s_blocksize_bits != MSDOS_I(inode)->mmu_private) { in fat_get_block() 69 if (!(iblock % MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_get_block() 74 phys = fat_bmap(inode, iblock); in fat_get_block()
|
/linux-2.4.37.9/fs/efs/ |
D | inode.c | 201 efs_block_t iblock, result = 0, lastblock = 0; in efs_map_block() local 265 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block() 271 if (first || lastblock != iblock) { in efs_map_block() 274 bh = sb_bread(inode->i_sb, iblock); in efs_map_block() 276 printk(KERN_ERR "EFS: bread() failed at block %d\n", iblock); in efs_map_block() 280 printk(KERN_DEBUG "EFS: map_block(): read indirect extent block %d\n", iblock); in efs_map_block() 283 lastblock = iblock; in efs_map_block() 291 printk(KERN_ERR "EFS: extent %d has bad magic number in block %d\n", cur, iblock); in efs_map_block()
|
D | file.c | 11 int efs_get_block(struct inode *inode, long iblock, in efs_get_block() argument 19 if (iblock >= inode->i_blocks) { in efs_get_block() 31 phys = efs_map_block(inode, iblock); in efs_get_block()
|
/linux-2.4.37.9/fs/udf/ |
D | dir.c | 104 int block, iblock; in do_udf_readdir() local 224 iblock = udf_get_lb_pblock(dir->i_sb, UDF_I_LOCATION(filp->f_dentry->d_parent->d_inode), 0); in do_udf_readdir() 231 iblock = udf_get_lb_pblock(dir->i_sb, lelb_to_cpu(cfi.icb.extLocation), 0); in do_udf_readdir() 238 if (filldir(dirent, fname, flen, filp->f_pos, iblock, dt_type) < 0) in do_udf_readdir()
|
/linux-2.4.37.9/fs/hpfs/ |
D | file.c | 71 int hpfs_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) in hpfs_get_block() argument 74 s = hpfs_bmap(inode, iblock); in hpfs_get_block() 82 if (iblock<<9 != inode->u.hpfs_i.mmu_private) { in hpfs_get_block()
|
D | hpfs_fn.h | 261 int hpfs_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create);
|
/linux-2.4.37.9/include/linux/ |
D | qnx4_fs.h | 102 extern unsigned long qnx4_block_map(struct inode *inode, long iblock); 121 extern int qnx4_get_block(struct inode *inode, long iblock, struct buffer_head *bh, int create);
|
D | msdos_fs.h | 275 extern int fat_get_block(struct inode *inode, long iblock,
|
/linux-2.4.37.9/fs/sysv/ |
D | itree.c | 194 static int get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) in get_block() argument 202 int depth = block_to_path(inode, iblock, offsets); in get_block() 359 long iblock; in sysv_truncate() local 367 iblock = (inode->i_size + blocksize-1) in sysv_truncate() 372 n = block_to_path(inode, iblock, offsets); in sysv_truncate()
|
/linux-2.4.37.9/fs/minix/ |
D | itree_common.c | 302 long iblock; in truncate() local 304 iblock = (inode->i_size + BLOCK_SIZE-1) >> 10; in truncate() 307 n = block_to_path(inode, iblock, offsets); in truncate()
|
/linux-2.4.37.9/fs/ext2/ |
D | inode.c | 519 static int ext2_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int crea… in ext2_get_block() argument 527 int depth = ext2_block_to_path(inode, iblock, offsets); in ext2_get_block() 568 if (ext2_find_goal(inode, iblock, chain, partial, &goal) < 0) in ext2_get_block() 577 if (ext2_splice_branch(inode, iblock, chain, partial, left) < 0) in ext2_get_block() 810 long iblock; in ext2_truncate() local 824 iblock = (inode->i_size + blocksize-1) in ext2_truncate() 829 n = ext2_block_to_path(inode, iblock, offsets); in ext2_truncate()
|
/linux-2.4.37.9/fs/isofs/ |
D | inode.c | 863 int isofs_get_blocks(struct inode *inode, long iblock, in isofs_get_blocks() argument 875 if (iblock < 0) { in isofs_get_blocks() 880 b_off = iblock; in isofs_get_blocks() 898 iblock, (unsigned long) inode->i_size); in isofs_get_blocks() 920 inode->i_ino, iblock, firstext, (unsigned) sect_size, nextino); in isofs_get_blocks() 950 static int isofs_get_block(struct inode *inode, long iblock, in isofs_get_block() argument 958 return isofs_get_blocks(inode, iblock, &bh_result, 1) ? 0 : -EIO; in isofs_get_block()
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_aops.c | 859 long iblock, in linvfs_get_block_core() argument 870 loff_t offset = (loff_t)iblock << inode->i_blkbits; in linvfs_get_block_core() 932 long iblock, in linvfs_get_block() argument 936 return linvfs_get_block_core(inode, iblock, bh_result, in linvfs_get_block() 943 long iblock, in linvfs_get_block_direct() argument 947 return linvfs_get_block_core(inode, iblock, bh_result, in linvfs_get_block_direct()
|
/linux-2.4.37.9/fs/ext3/ |
D | inode.c | 749 long iblock, in ext3_get_block_handle() argument 758 int depth = ext3_block_to_path(inode, iblock, offsets); in ext3_get_block_handle() 805 if (ext3_find_goal(inode, iblock, chain, partial, &goal) < 0) in ext3_get_block_handle() 823 err = ext3_splice_branch(handle, inode, iblock, chain, in ext3_get_block_handle() 857 static int ext3_get_block(struct inode *inode, long iblock, in ext3_get_block() argument 867 ret = ext3_get_block_handle(handle, inode, iblock, bh_result, create); in ext3_get_block() 1414 unsigned blocksize, iblock, length, pos; in ext3_block_truncate_page() local 1428 iblock = index << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits); in ext3_block_truncate_page() 1443 iblock++; in ext3_block_truncate_page() 1452 ext3_get_block(inode, iblock, bh, 0); in ext3_block_truncate_page()
|
/linux-2.4.37.9/fs/hfs/ |
D | file.c | 109 int hfs_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) in hfs_get_block() argument 113 phys = hfs_extent_map(HFS_I(inode)->fork, iblock, create); in hfs_get_block()
|
/linux-2.4.37.9/fs/ |
D | block_dev.c | 123 static int blkdev_get_block(struct inode * inode, long iblock, struct buffer_head * bh, int create) in blkdev_get_block() argument 125 if (iblock >= max_block(inode->i_rdev)) in blkdev_get_block() 129 bh->b_blocknr = iblock; in blkdev_get_block()
|
D | buffer.c | 1780 unsigned long iblock, lblock; in block_read_full_page() local 1793 iblock = page->index << (PAGE_CACHE_SHIFT - inode->i_blkbits); in block_read_full_page() 1804 if (iblock < lblock) { in block_read_full_page() 1805 if (get_block(inode, iblock, bh, 0)) in block_read_full_page() 1822 } while (i++, iblock++, (bh = bh->b_this_page) != head); in block_read_full_page() 2026 unsigned blocksize, iblock, length, pos; in block_truncate_page() local 2040 iblock = index << (PAGE_CACHE_SHIFT - inode->i_blkbits); in block_truncate_page() 2055 iblock++; in block_truncate_page() 2064 get_block(inode, iblock, bh, 0); in block_truncate_page()
|
/linux-2.4.37.9/fs/hfsplus/ |
D | extents.c | 86 int hfsplus_get_block(struct inode *inode, sector_t iblock, in hfsplus_get_block() argument 98 ablock = iblock; in hfsplus_get_block() 131 dprint(DBG_EXTENT, "get_block(%lu): %lu - %u\n", inode->i_ino, iblock, dblock); in hfsplus_get_block()
|