| /linux-4.4.14/fs/freevxfs/ |
| D | vxfs_bmap.c | 201 vxfs_bmap_typed(struct inode *ip, long iblock) in vxfs_bmap_typed() argument 214 if (iblock < off) in vxfs_bmap_typed() 219 typ->vt_size, iblock - off); in vxfs_bmap_typed() 224 if ((iblock - off) < typ->vt_size) in vxfs_bmap_typed() 225 return (typ->vt_block + iblock - off); in vxfs_bmap_typed() 260 vxfs_bmap1(struct inode *ip, long iblock) in vxfs_bmap1() argument 265 return vxfs_bmap_ext4(ip, iblock); in vxfs_bmap1() 267 return vxfs_bmap_typed(ip, iblock); in vxfs_bmap1()
|
| D | vxfs_subr.c | 129 vxfs_getblk(struct inode *ip, sector_t iblock, in vxfs_getblk() argument 134 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
|
| /linux-4.4.14/fs/efs/ |
| D | file.c | 12 int efs_get_block(struct inode *inode, sector_t iblock, in efs_get_block() argument 20 if (iblock >= inode->i_blocks) { in efs_get_block() 30 phys = efs_map_block(inode, iblock); in efs_get_block()
|
| D | inode.c | 204 efs_block_t iblock, result = 0, lastblock = 0; in efs_map_block() local 268 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block() 274 if (first || lastblock != iblock) { in efs_map_block() 277 bh = sb_bread(inode->i_sb, iblock); in efs_map_block() 280 __func__, iblock); in efs_map_block() 284 __func__, iblock); in efs_map_block() 286 lastblock = iblock; in efs_map_block() 295 cur, iblock); in efs_map_block()
|
| /linux-4.4.14/fs/qnx4/ |
| D | inode.c | 54 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create… in qnx4_get_block() argument 58 QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); in qnx4_get_block() 60 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 77 unsigned long qnx4_block_map( struct inode *inode, long iblock ) in qnx4_block_map() argument 85 u32 offset = iblock; in qnx4_block_map() 124 QNX4DEBUG((KERN_INFO "qnx4: mapping block %ld of inode %ld = %ld\n",iblock,inode->i_ino,block)); in qnx4_block_map()
|
| D | qnx4.h | 26 extern unsigned long qnx4_block_map(struct inode *inode, long iblock);
|
| /linux-4.4.14/fs/ocfs2/ |
| D | aops.c | 56 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, in ocfs2_symlink_get_block() argument 69 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block() 73 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { in ocfs2_symlink_get_block() 75 (unsigned long long)iblock); in ocfs2_symlink_get_block() 86 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block() 90 "%llu\n", (unsigned long long)iblock); in ocfs2_symlink_get_block() 98 iblock; in ocfs2_symlink_get_block() 117 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block() 127 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); in ocfs2_symlink_get_block() 137 int ocfs2_get_block(struct inode *inode, sector_t iblock, in ocfs2_get_block() argument [all …]
|
| D | aops.h | 60 int ocfs2_get_block(struct inode *inode, sector_t iblock,
|
| D | ocfs2_trace.h | 1123 TP_PROTO(unsigned long long ino, unsigned long long iblock, 1125 TP_ARGS(ino, iblock, bh_result, create), 1128 __field(unsigned long long, iblock) 1134 __entry->iblock = iblock; 1139 __entry->ino, __entry->iblock, 1145 TP_PROTO(unsigned long long ino, unsigned long long iblock, \ 1147 TP_ARGS(ino, iblock, bh_result, create))
|
| /linux-4.4.14/fs/udf/ |
| D | dir.c | 45 int block, iblock; in udf_readdir() local 175 iblock = udf_get_lb_pblock(sb, &tloc, 0); in udf_readdir() 176 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
|
| /linux-4.4.14/fs/hpfs/ |
| D | file.c | 76 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument 82 s = hpfs_bmap(inode, iblock, &n_secs); in hpfs_get_block() 96 if (iblock<<9 != hpfs_i(inode)->mmu_private) { in hpfs_get_block()
|
| /linux-4.4.14/fs/ntfs/ |
| D | aops.c | 195 sector_t iblock, lblock, zblock; in ntfs_read_block() local 232 iblock = (s64)page->index << (PAGE_CACHE_SHIFT - blocksize_bits); in ntfs_read_block() 258 if (iblock < lblock) { in ntfs_read_block() 262 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block() 264 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block() 285 if (iblock < zblock) { in ntfs_read_block() 344 } while (i++, iblock++, (bh = bh->b_this_page) != head); in ntfs_read_block() 556 sector_t block, dblock, iblock; in ntfs_write_block() local 613 iblock = initialized_size >> blocksize_bits; in ntfs_write_block() 657 if (unlikely((block >= iblock) && in ntfs_write_block() [all …]
|
| /linux-4.4.14/fs/hfsplus/ |
| D | extents.c | 220 int hfsplus_get_block(struct inode *inode, sector_t iblock, in hfsplus_get_block() argument 232 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block() 234 if (iblock >= hip->fs_blocks) { in hfsplus_get_block() 235 if (iblock > hip->fs_blocks || !create) in hfsplus_get_block() 272 inode->i_ino, (long long)iblock, dblock); in hfsplus_get_block() 276 sbi->blockoffset + (iblock & mask); in hfsplus_get_block()
|
| D | hfsplus_fs.h | 467 int hfsplus_get_block(struct inode *inode, sector_t iblock,
|
| /linux-4.4.14/fs/sysv/ |
| D | itree.c | 202 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() argument 210 int depth = block_to_path(inode, iblock, offsets); in get_block() 371 long iblock; in sysv_truncate() local 379 iblock = (inode->i_size + blocksize-1) in sysv_truncate() 384 n = block_to_path(inode, iblock, offsets); in sysv_truncate()
|
| /linux-4.4.14/fs/xfs/ |
| D | xfs_aops.c | 1348 sector_t iblock, in xfs_map_trim_size() argument 1356 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size() 1377 sector_t iblock, in __xfs_get_blocks() argument 1397 offset = (xfs_off_t)iblock << inode->i_blkbits; in __xfs_get_blocks() 1487 xfs_map_trim_size(inode, iblock, bh_result, in __xfs_get_blocks() 1546 sector_t iblock, in xfs_get_blocks() argument 1550 return __xfs_get_blocks(inode, iblock, bh_result, create, false, false); in xfs_get_blocks() 1556 sector_t iblock, in xfs_get_blocks_direct() argument 1560 return __xfs_get_blocks(inode, iblock, bh_result, create, true, false); in xfs_get_blocks_direct() 1566 sector_t iblock, in xfs_get_blocks_dax_fault() argument [all …]
|
| /linux-4.4.14/fs/ext2/ |
| D | inode.c | 619 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 637 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks() 713 goal = ext2_find_goal(inode, iblock, partial); in ext2_get_blocks() 748 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); in ext2_get_blocks() 766 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in ext2_get_block() argument 769 int ret = ext2_get_blocks(inode, iblock, max_blocks, in ext2_get_block() 1099 long iblock; in __ext2_truncate_blocks() local 1102 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); in __ext2_truncate_blocks() 1108 n = ext2_block_to_path(inode, iblock, offsets, NULL); in __ext2_truncate_blocks()
|
| /linux-4.4.14/fs/minix/ |
| D | itree_common.c | 303 long iblock; in truncate() local 305 iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits; in truncate() 308 n = block_to_path(inode, iblock, offsets); in truncate()
|
| /linux-4.4.14/fs/ |
| D | buffer.c | 2185 sector_t iblock, lblock; in block_read_full_page() local 2195 iblock = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in block_read_full_page() 2209 if (iblock < lblock) { in block_read_full_page() 2211 err = get_block(inode, iblock, bh, 0); in block_read_full_page() 2229 } while (i++, iblock++, (bh = bh->b_this_page) != head); in block_read_full_page() 2737 sector_t iblock; in nobh_truncate_page() local 2752 iblock = (sector_t)index << (PAGE_CACHE_SHIFT - inode->i_blkbits); in nobh_truncate_page() 2769 iblock++; in nobh_truncate_page() 2775 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2815 sector_t iblock; in block_truncate_page() local [all …]
|
| D | block_dev.c | 150 blkdev_get_block(struct inode *inode, sector_t iblock, in blkdev_get_block() argument 154 bh->b_blocknr = iblock; in blkdev_get_block()
|
| /linux-4.4.14/fs/ext4/ |
| D | inode.c | 691 static int _ext4_get_block(struct inode *inode, sector_t iblock, in _ext4_get_block() argument 702 map.m_lblk = iblock; in _ext4_get_block() 733 bh->b_private = (void *)(unsigned long)iblock; in _ext4_get_block() 745 int ext4_get_block(struct inode *inode, sector_t iblock, in ext4_get_block() argument 748 return _ext4_get_block(inode, iblock, bh, in ext4_get_block() 910 static int ext4_get_block_write_nolock(struct inode *inode, sector_t iblock, 1538 static int ext4_da_map_blocks(struct inode *inode, sector_t iblock, in ext4_da_map_blocks() argument 1560 if (ext4_es_lookup_extent(inode, iblock, &es)) { in ext4_da_map_blocks() 1578 map->m_pblk = ext4_es_pblock(&es) + iblock - es.es_lblk; in ext4_da_map_blocks() 1579 retval = es.es_len - (iblock - es.es_lblk); in ext4_da_map_blocks() [all …]
|
| D | ext4.h | 2473 int ext4_get_block_write(struct inode *inode, sector_t iblock, 2475 int ext4_get_block_dax(struct inode *inode, sector_t iblock, 2477 int ext4_get_block(struct inode *inode, sector_t iblock, 2479 int ext4_da_get_block_prep(struct inode *inode, sector_t iblock,
|
| /linux-4.4.14/fs/qnx6/ |
| D | inode.c | 69 static unsigned qnx6_block_map(struct inode *inode, unsigned iblock); 71 static int qnx6_get_block(struct inode *inode, sector_t iblock, in qnx6_get_block() argument 77 inode->i_ino, (unsigned long)iblock); in qnx6_get_block() 79 phys = qnx6_block_map(inode, iblock); in qnx6_get_block()
|
| /linux-4.4.14/fs/f2fs/ |
| D | data.c | 711 static int __get_data_block(struct inode *inode, sector_t iblock, in __get_data_block() argument 717 map.m_lblk = iblock; in __get_data_block() 729 static int get_data_block(struct inode *inode, sector_t iblock, in get_data_block() argument 732 return __get_data_block(inode, iblock, bh_result, create, flag); in get_data_block() 735 static int get_data_block_dio(struct inode *inode, sector_t iblock, in get_data_block_dio() argument 738 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_dio() 742 static int get_data_block_bmap(struct inode *inode, sector_t iblock, in get_data_block_bmap() argument 745 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_bmap()
|
| /linux-4.4.14/fs/fat/ |
| D | dir.c | 47 static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, in fat_dir_readahead() argument 56 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead() 84 sector_t phys, iblock; in fat__get_entry() local 93 iblock = *pos >> sb->s_blocksize_bits; in fat__get_entry() 94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0); in fat__get_entry() 98 fat_dir_readahead(dir, iblock, phys); in fat__get_entry() 105 *pos = (iblock + 1) << sb->s_blocksize_bits; in fat__get_entry()
|
| D | inode.c | 111 static inline int __fat_get_block(struct inode *inode, sector_t iblock, in __fat_get_block() argument 121 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 132 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block() 138 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block() 151 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 163 static int fat_get_block(struct inode *inode, sector_t iblock, in fat_get_block() argument 170 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block()
|
| /linux-4.4.14/fs/isofs/ |
| D | inode.c | 991 int isofs_get_blocks(struct inode *inode, sector_t iblock, in isofs_get_blocks() argument 994 unsigned long b_off = iblock; in isofs_get_blocks() 1003 if (iblock != b_off) { in isofs_get_blocks() 1082 static int isofs_get_block(struct inode *inode, sector_t iblock, in isofs_get_block() argument 1092 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); in isofs_get_block()
|
| /linux-4.4.14/fs/gfs2/ |
| D | bmap.c | 937 unsigned blocksize, iblock, length, pos; in gfs2_block_truncate_page() local 948 iblock = index << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits); in gfs2_block_truncate_page() 958 iblock++; in gfs2_block_truncate_page() 965 gfs2_block_map(inode, iblock, bh, 0); in gfs2_block_truncate_page()
|
| /linux-4.4.14/fs/reiserfs/ |
| D | inode.c | 514 sector_t iblock, in reiserfs_get_blocks_direct_io() argument 529 ret = reiserfs_get_block(inode, iblock, bh_result, in reiserfs_get_blocks_direct_io()
|
| /linux-4.4.14/include/linux/ |
| D | fs.h | 70 typedef int (get_block_t)(struct inode *inode, sector_t iblock,
|
| /linux-4.4.14/fs/btrfs/ |
| D | inode.c | 7522 static int btrfs_get_blocks_direct(struct inode *inode, sector_t iblock, in btrfs_get_blocks_direct() argument 7529 u64 start = iblock << inode->i_blkbits; in btrfs_get_blocks_direct()
|