iblock 3130 drivers/staging/exfat/exfat_super.c static int exfat_get_block(struct inode *inode, sector_t iblock, iblock 3141 drivers/staging/exfat/exfat_super.c err = exfat_bmap(inode, iblock, &phys, &mapped_blocks, &create); iblock 168 fs/block_dev.c blkdev_get_block(struct inode *inode, sector_t iblock, iblock 172 fs/block_dev.c bh->b_blocknr = iblock; iblock 7847 fs/btrfs/inode.c static int btrfs_get_blocks_direct(struct inode *inode, sector_t iblock, iblock 7854 fs/btrfs/inode.c u64 start = iblock << inode->i_blkbits; iblock 2230 fs/buffer.c sector_t iblock, lblock; iblock 2240 fs/buffer.c iblock = (sector_t)page->index << (PAGE_SHIFT - bbits); iblock 2254 fs/buffer.c if (iblock < lblock) { iblock 2256 fs/buffer.c err = get_block(inode, iblock, bh, 0); iblock 2274 fs/buffer.c } while (i++, iblock++, (bh = bh->b_this_page) != head); iblock 2779 fs/buffer.c sector_t iblock; iblock 2794 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); iblock 2811 fs/buffer.c iblock++; iblock 2817 fs/buffer.c err = get_block(inode, iblock, &map_bh, 0); iblock 2857 fs/buffer.c sector_t iblock; iblock 2872 fs/buffer.c iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); iblock 2887 fs/buffer.c iblock++; iblock 2894 fs/buffer.c err = get_block(inode, iblock, bh, 0); iblock 13 fs/efs/file.c int efs_get_block(struct inode *inode, sector_t iblock, iblock 21 fs/efs/file.c if (iblock >= inode->i_blocks) { iblock 31 fs/efs/file.c phys = efs_map_block(inode, iblock); iblock 206 fs/efs/inode.c efs_block_t iblock, result = 0, lastblock = 0; iblock 270 fs/efs/inode.c iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + iblock 276 fs/efs/inode.c if (first || lastblock != iblock) { iblock 279 fs/efs/inode.c bh = sb_bread(inode->i_sb, iblock); iblock 282 fs/efs/inode.c __func__, iblock); iblock 286 fs/efs/inode.c __func__, iblock); iblock 288 fs/efs/inode.c lastblock = iblock; iblock 297 fs/efs/inode.c cur, iblock); iblock 326 fs/erofs/data.c static int erofs_get_block(struct inode *inode, sector_t iblock, iblock 330 fs/erofs/data.c .m_la = iblock << 9, iblock 624 fs/ext2/inode.c sector_t iblock, unsigned long maxblocks, iblock 642 fs/ext2/inode.c depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); iblock 720 fs/ext2/inode.c goal = ext2_find_goal(inode, iblock, partial); iblock 764 fs/ext2/inode.c ext2_splice_branch(inode, iblock, partial, indirect_blks, count); iblock 782 fs/ext2/inode.c int ext2_get_block(struct inode *inode, sector_t iblock, iblock 790 fs/ext2/inode.c ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, iblock 1193 fs/ext2/inode.c long iblock; iblock 1196 fs/ext2/inode.c iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); iblock 1202 fs/ext2/inode.c n = ext2_block_to_path(inode, iblock, offsets, NULL); iblock 2582 fs/ext4/ext4.h int ext4_get_block_unwritten(struct inode *inode, sector_t iblock, iblock 2584 fs/ext4/ext4.h int ext4_get_block(struct inode *inode, sector_t iblock, iblock 2586 fs/ext4/ext4.h int ext4_dio_get_block(struct inode *inode, sector_t iblock, iblock 2588 fs/ext4/ext4.h int ext4_da_get_block_prep(struct inode *inode, sector_t iblock, iblock 788 fs/ext4/inode.c static int _ext4_get_block(struct inode *inode, sector_t iblock, iblock 797 fs/ext4/inode.c map.m_lblk = iblock; iblock 814 fs/ext4/inode.c int ext4_get_block(struct inode *inode, sector_t iblock, iblock 817 fs/ext4/inode.c return _ext4_get_block(inode, iblock, bh, iblock 826 fs/ext4/inode.c int ext4_get_block_unwritten(struct inode *inode, sector_t iblock, iblock 831 fs/ext4/inode.c return _ext4_get_block(inode, iblock, bh_result, iblock 843 fs/ext4/inode.c static int ext4_get_block_trans(struct inode *inode, sector_t iblock, iblock 861 fs/ext4/inode.c ret = _ext4_get_block(inode, iblock, bh_result, flags); iblock 870 fs/ext4/inode.c int ext4_dio_get_block(struct inode *inode, sector_t iblock, iblock 877 fs/ext4/inode.c return _ext4_get_block(inode, iblock, bh, 0); iblock 878 fs/ext4/inode.c return ext4_get_block_trans(inode, iblock, bh, EXT4_GET_BLOCKS_CREATE); iblock 887 fs/ext4/inode.c sector_t iblock, struct buffer_head *bh_result, int create) iblock 894 fs/ext4/inode.c ret = ext4_get_block_trans(inode, iblock, bh_result, iblock 926 fs/ext4/inode.c sector_t iblock, struct buffer_head *bh_result, int create) iblock 933 fs/ext4/inode.c ret = ext4_get_block_trans(inode, iblock, bh_result, iblock 947 fs/ext4/inode.c static int ext4_dio_get_block_overwrite(struct inode *inode, sector_t iblock, iblock 957 fs/ext4/inode.c ret = _ext4_get_block(inode, iblock, bh_result, 0); iblock 1825 fs/ext4/inode.c static int ext4_da_map_blocks(struct inode *inode, sector_t iblock, iblock 1847 fs/ext4/inode.c if (ext4_es_lookup_extent(inode, iblock, NULL, &es)) { iblock 1865 fs/ext4/inode.c map->m_pblk = ext4_es_pblock(&es) + iblock - es.es_lblk; iblock 1866 fs/ext4/inode.c retval = es.es_len - (iblock - es.es_lblk); iblock 1951 fs/ext4/inode.c int ext4_da_get_block_prep(struct inode *inode, sector_t iblock, iblock 1960 fs/ext4/inode.c map.m_lblk = iblock; iblock 1968 fs/ext4/inode.c ret = ext4_da_map_blocks(inode, iblock, &map, bh); iblock 4007 fs/ext4/inode.c ext4_lblk_t iblock; iblock 4020 fs/ext4/inode.c iblock = index << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits); iblock 4030 fs/ext4/inode.c iblock++; iblock 4039 fs/ext4/inode.c ext4_get_block(inode, iblock, bh, 0); iblock 1394 fs/f2fs/data.c static int __get_data_block(struct inode *inode, sector_t iblock, iblock 1401 fs/f2fs/data.c map.m_lblk = iblock; iblock 1417 fs/f2fs/data.c static int get_data_block(struct inode *inode, sector_t iblock, iblock 1421 fs/f2fs/data.c return __get_data_block(inode, iblock, bh_result, create, iblock 1426 fs/f2fs/data.c static int get_data_block_dio_write(struct inode *inode, sector_t iblock, iblock 1429 fs/f2fs/data.c return __get_data_block(inode, iblock, bh_result, create, iblock 1435 fs/f2fs/data.c static int get_data_block_dio(struct inode *inode, sector_t iblock, iblock 1438 fs/f2fs/data.c return __get_data_block(inode, iblock, bh_result, create, iblock 1444 fs/f2fs/data.c static int get_data_block_bmap(struct inode *inode, sector_t iblock, iblock 1448 fs/f2fs/data.c if (unlikely(iblock >= F2FS_I_SB(inode)->max_file_blocks)) iblock 1451 fs/f2fs/data.c return __get_data_block(inode, iblock, bh_result, create, iblock 49 fs/fat/dir.c static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, iblock 58 fs/fat/dir.c if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) iblock 86 fs/fat/dir.c sector_t phys, iblock; iblock 93 fs/fat/dir.c iblock = *pos >> sb->s_blocksize_bits; iblock 94 fs/fat/dir.c err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); iblock 98 fs/fat/dir.c fat_dir_readahead(dir, iblock, phys); iblock 105 fs/fat/dir.c *pos = (iblock + 1) << sb->s_blocksize_bits; iblock 118 fs/fat/inode.c static inline int __fat_get_block(struct inode *inode, sector_t iblock, iblock 128 fs/fat/inode.c err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); iblock 139 fs/fat/inode.c if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { iblock 146 fs/fat/inode.c offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); iblock 152 fs/fat/inode.c if (!offset && !(iblock < last_block)) { iblock 164 fs/fat/inode.c err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); iblock 182 fs/fat/inode.c static int fat_get_block(struct inode *inode, sector_t iblock, iblock 189 fs/fat/inode.c err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); iblock 295 fs/fat/inode.c static int fat_get_block_bmap(struct inode *inode, sector_t iblock, iblock 306 fs/fat/inode.c err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); iblock 210 fs/freevxfs/vxfs_bmap.c vxfs_bmap_typed(struct inode *ip, long iblock) iblock 225 fs/freevxfs/vxfs_bmap.c if (iblock < off) iblock 232 fs/freevxfs/vxfs_bmap.c iblock - off); iblock 237 fs/freevxfs/vxfs_bmap.c if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) iblock 239 fs/freevxfs/vxfs_bmap.c iblock - off); iblock 274 fs/freevxfs/vxfs_bmap.c vxfs_bmap1(struct inode *ip, long iblock) iblock 279 fs/freevxfs/vxfs_bmap.c return vxfs_bmap_ext4(ip, iblock); iblock 281 fs/freevxfs/vxfs_bmap.c return vxfs_bmap_typed(ip, iblock); iblock 129 fs/freevxfs/vxfs_subr.c vxfs_getblk(struct inode *ip, sector_t iblock, iblock 134 fs/freevxfs/vxfs_subr.c pblock = vxfs_bmap1(ip, iblock); iblock 225 fs/hfsplus/extents.c int hfsplus_get_block(struct inode *inode, sector_t iblock, iblock 237 fs/hfsplus/extents.c ablock = iblock >> sbi->fs_shift; iblock 239 fs/hfsplus/extents.c if (iblock >= hip->fs_blocks) { iblock 242 fs/hfsplus/extents.c if (iblock > hip->fs_blocks) iblock 279 fs/hfsplus/extents.c inode->i_ino, (long long)iblock, dblock); iblock 283 fs/hfsplus/extents.c sbi->blockoffset + (iblock & mask); iblock 470 fs/hfsplus/hfsplus_fs.h int hfsplus_get_block(struct inode *inode, sector_t iblock, iblock 77 fs/hpfs/file.c static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) iblock 83 fs/hpfs/file.c s = hpfs_bmap(inode, iblock, &n_secs); iblock 97 fs/hpfs/file.c if (iblock<<9 != hpfs_i(inode)->mmu_private) { iblock 1057 fs/isofs/inode.c int isofs_get_blocks(struct inode *inode, sector_t iblock, iblock 1060 fs/isofs/inode.c unsigned long b_off = iblock; iblock 1069 fs/isofs/inode.c if (iblock != b_off) { iblock 1148 fs/isofs/inode.c static int isofs_get_block(struct inode *inode, sector_t iblock, iblock 1158 fs/isofs/inode.c ret = isofs_get_blocks(inode, iblock, &bh_result, 1); iblock 304 fs/minix/itree_common.c long iblock; iblock 306 fs/minix/itree_common.c iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits; iblock 309 fs/minix/itree_common.c n = block_to_path(inode, iblock, offsets); iblock 178 fs/ntfs/aops.c sector_t iblock, lblock, zblock; iblock 215 fs/ntfs/aops.c iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); iblock 241 fs/ntfs/aops.c if (iblock < lblock) { iblock 245 fs/ntfs/aops.c vcn = (VCN)iblock << blocksize_bits >> iblock 247 fs/ntfs/aops.c vcn_ofs = ((VCN)iblock << blocksize_bits) & iblock 268 fs/ntfs/aops.c if (iblock < zblock) { iblock 327 fs/ntfs/aops.c } while (i++, iblock++, (bh = bh->b_this_page) != head); iblock 539 fs/ntfs/aops.c sector_t block, dblock, iblock; iblock 596 fs/ntfs/aops.c iblock = initialized_size >> blocksize_bits; iblock 640 fs/ntfs/aops.c if (unlikely((block >= iblock) && iblock 648 fs/ntfs/aops.c if (block > iblock) { iblock 43 fs/ocfs2/aops.c static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, iblock 56 fs/ocfs2/aops.c (unsigned long long)iblock, bh_result, create); iblock 60 fs/ocfs2/aops.c if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { iblock 62 fs/ocfs2/aops.c (unsigned long long)iblock); iblock 73 fs/ocfs2/aops.c if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, iblock 77 fs/ocfs2/aops.c "%llu\n", (unsigned long long)iblock); iblock 85 fs/ocfs2/aops.c iblock; iblock 104 fs/ocfs2/aops.c memcpy(kaddr + (bh_result->b_size * iblock), iblock 114 fs/ocfs2/aops.c le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); iblock 124 fs/ocfs2/aops.c static int ocfs2_lock_get_block(struct inode *inode, sector_t iblock, iblock 131 fs/ocfs2/aops.c ret = ocfs2_get_block(inode, iblock, bh_result, create); iblock 137 fs/ocfs2/aops.c int ocfs2_get_block(struct inode *inode, sector_t iblock, iblock 147 fs/ocfs2/aops.c (unsigned long long)iblock, bh_result, create); iblock 155 fs/ocfs2/aops.c err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); iblock 159 fs/ocfs2/aops.c err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count, iblock 163 fs/ocfs2/aops.c "%llu, NULL)\n", err, inode, (unsigned long long)iblock, iblock 199 fs/ocfs2/aops.c (unsigned long long)iblock, iblock 212 fs/ocfs2/aops.c if (create && (iblock >= past_eof)) iblock 2140 fs/ocfs2/aops.c static int ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, iblock 2151 fs/ocfs2/aops.c loff_t pos = iblock << i_blkbits; iblock 2170 fs/ocfs2/aops.c if ((iblock <= endblk) && iblock 2171 fs/ocfs2/aops.c ((iblock + ((len - 1) >> i_blkbits)) > endblk)) iblock 2172 fs/ocfs2/aops.c len = (endblk - iblock + 1) << i_blkbits; iblock 2185 fs/ocfs2/aops.c ret = ocfs2_lock_get_block(inode, iblock, bh_result, create); iblock 2250 fs/ocfs2/aops.c p_blkno += iblock & (u64)(ocfs2_clusters_to_blocks(inode->i_sb, 1) - 1); iblock 2257 fs/ocfs2/aops.c if (iblock > endblk) iblock 50 fs/ocfs2/aops.h int ocfs2_get_block(struct inode *inode, sector_t iblock, iblock 1126 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long ino, unsigned long long iblock, iblock 1128 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, iblock, bh_result, create), iblock 1131 fs/ocfs2/ocfs2_trace.h __field(unsigned long long, iblock) iblock 1137 fs/ocfs2/ocfs2_trace.h __entry->iblock = iblock; iblock 1142 fs/ocfs2/ocfs2_trace.h __entry->ino, __entry->iblock, iblock 1148 fs/ocfs2/ocfs2_trace.h TP_PROTO(unsigned long long ino, unsigned long long iblock, \ iblock 1150 fs/ocfs2/ocfs2_trace.h TP_ARGS(ino, iblock, bh_result, create)) iblock 55 fs/qnx4/inode.c static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create ) iblock 59 fs/qnx4/inode.c QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); iblock 61 fs/qnx4/inode.c phys = qnx4_block_map( inode, iblock ); iblock 78 fs/qnx4/inode.c unsigned long qnx4_block_map( struct inode *inode, long iblock ) iblock 86 fs/qnx4/inode.c u32 offset = iblock; iblock 125 fs/qnx4/inode.c QNX4DEBUG((KERN_INFO "qnx4: mapping block %ld of inode %ld = %ld\n",iblock,inode->i_ino,block)); iblock 27 fs/qnx4/qnx4.h extern unsigned long qnx4_block_map(struct inode *inode, long iblock); iblock 70 fs/qnx6/inode.c static unsigned qnx6_block_map(struct inode *inode, unsigned iblock); iblock 72 fs/qnx6/inode.c static int qnx6_get_block(struct inode *inode, sector_t iblock, iblock 78 fs/qnx6/inode.c inode->i_ino, (unsigned long)iblock); iblock 80 fs/qnx6/inode.c phys = qnx6_block_map(inode, iblock); iblock 515 fs/reiserfs/inode.c sector_t iblock, iblock 530 fs/reiserfs/inode.c ret = reiserfs_get_block(inode, iblock, bh_result, iblock 203 fs/sysv/itree.c static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) iblock 211 fs/sysv/itree.c int depth = block_to_path(inode, iblock, offsets); iblock 372 fs/sysv/itree.c long iblock; iblock 380 fs/sysv/itree.c iblock = (inode->i_size + blocksize-1) iblock 385 fs/sysv/itree.c n = block_to_path(inode, iblock, offsets); iblock 46 fs/udf/dir.c udf_pblk_t block, iblock; iblock 184 fs/udf/dir.c iblock = udf_get_lb_pblock(sb, &tloc, 0); iblock 185 fs/udf/dir.c if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) iblock 90 include/linux/fs.h typedef int (get_block_t)(struct inode *inode, sector_t iblock,