/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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.1.27/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() 91 if (iblock<<9 != hpfs_i(inode)->mmu_private) { in hpfs_get_block()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/fs/xfs/ |
D | xfs_aops.c | 1320 sector_t iblock, in xfs_map_trim_size() argument 1328 mapping_size = imap->br_startoff + imap->br_blockcount - iblock; in xfs_map_trim_size() 1349 sector_t iblock, in __xfs_get_blocks() argument 1368 offset = (xfs_off_t)iblock << inode->i_blkbits; in __xfs_get_blocks() 1449 xfs_map_trim_size(inode, iblock, bh_result, in __xfs_get_blocks() 1507 sector_t iblock, in xfs_get_blocks() argument 1511 return __xfs_get_blocks(inode, iblock, bh_result, create, 0); in xfs_get_blocks() 1517 sector_t iblock, in xfs_get_blocks_direct() argument 1521 return __xfs_get_blocks(inode, iblock, bh_result, create, 1); in xfs_get_blocks_direct()
|
/linux-4.1.27/fs/ext2/ |
D | inode.c | 618 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 636 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks() 712 goal = ext2_find_goal(inode, iblock, partial); in ext2_get_blocks() 747 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); in ext2_get_blocks() 765 int ext2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) in ext2_get_block() argument 768 int ret = ext2_get_blocks(inode, iblock, max_blocks, in ext2_get_block() 1097 long iblock; in __ext2_truncate_blocks() local 1100 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); in __ext2_truncate_blocks() 1102 n = ext2_block_to_path(inode, iblock, offsets, NULL); in __ext2_truncate_blocks()
|
/linux-4.1.27/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.1.27/fs/ |
D | buffer.c | 2162 sector_t iblock, lblock; in block_read_full_page() local 2172 iblock = (sector_t)page->index << (PAGE_CACHE_SHIFT - bbits); in block_read_full_page() 2186 if (iblock < lblock) { in block_read_full_page() 2188 err = get_block(inode, iblock, bh, 0); in block_read_full_page() 2206 } while (i++, iblock++, (bh = bh->b_this_page) != head); in block_read_full_page() 2734 sector_t iblock; in nobh_truncate_page() local 2749 iblock = (sector_t)index << (PAGE_CACHE_SHIFT - inode->i_blkbits); in nobh_truncate_page() 2766 iblock++; in nobh_truncate_page() 2772 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2812 sector_t iblock; in block_truncate_page() local [all …]
|
D | block_dev.c | 139 blkdev_get_block(struct inode *inode, sector_t iblock, in blkdev_get_block() argument 143 bh->b_blocknr = iblock; in blkdev_get_block()
|
/linux-4.1.27/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.1.27/fs/ext4/ |
D | inode.c | 690 static int _ext4_get_block(struct inode *inode, sector_t iblock, in _ext4_get_block() argument 701 map.m_lblk = iblock; in _ext4_get_block() 732 bh->b_private = (void *)(unsigned long)iblock; in _ext4_get_block() 744 int ext4_get_block(struct inode *inode, sector_t iblock, in ext4_get_block() argument 747 return _ext4_get_block(inode, iblock, bh, in ext4_get_block() 909 static int ext4_get_block_write_nolock(struct inode *inode, sector_t iblock, 1517 static int ext4_da_map_blocks(struct inode *inode, sector_t iblock, in ext4_da_map_blocks() argument 1539 if (ext4_es_lookup_extent(inode, iblock, &es)) { in ext4_da_map_blocks() 1557 map->m_pblk = ext4_es_pblock(&es) + iblock - es.es_lblk; in ext4_da_map_blocks() 1558 retval = es.es_len - (iblock - es.es_lblk); in ext4_da_map_blocks() [all …]
|
D | ext4.h | 2278 int ext4_get_block_write(struct inode *inode, sector_t iblock, 2280 int ext4_get_block(struct inode *inode, sector_t iblock, 2282 int ext4_da_get_block_prep(struct inode *inode, sector_t iblock,
|
/linux-4.1.27/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 | 110 static inline int __fat_get_block(struct inode *inode, sector_t iblock, in __fat_get_block() argument 120 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 131 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block() 137 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block() 150 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create); in __fat_get_block() 162 static int fat_get_block(struct inode *inode, sector_t iblock, in fat_get_block() argument 169 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block()
|
/linux-4.1.27/include/trace/events/ |
D | f2fs.h | 480 TP_PROTO(struct inode *inode, sector_t iblock, 483 TP_ARGS(inode, iblock, bh, ret), 488 __field(sector_t, iblock) 497 __entry->iblock = iblock; 506 (unsigned long long)__entry->iblock,
|
/linux-4.1.27/fs/ext3/ |
D | inode.c | 858 sector_t iblock, unsigned long maxblocks, in ext3_get_blocks_handle() argument 875 trace_ext3_get_blocks_enter(inode, iblock, maxblocks, create); in ext3_get_blocks_handle() 877 depth = ext3_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext3_get_blocks_handle() 960 goal = ext3_find_goal(inode, iblock, partial); in ext3_get_blocks_handle() 982 err = ext3_splice_branch(handle, inode, iblock, in ext3_get_blocks_handle() 1004 trace_ext3_get_blocks_exit(inode, iblock, in ext3_get_blocks_handle() 1021 static int ext3_get_block(struct inode *inode, sector_t iblock, in ext3_get_block() argument 1040 ret = ext3_get_blocks_handle(handle, inode, iblock, in ext3_get_block() 1999 unsigned blocksize, iblock, length, pos; in ext3_block_truncate_page() local 2014 iblock = index << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits); in ext3_block_truncate_page() [all …]
|
D | ext3.h | 1051 sector_t iblock, unsigned long maxblocks, struct buffer_head *bh_result,
|
/linux-4.1.27/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.1.27/fs/f2fs/ |
D | data.c | 1218 static int __get_data_block(struct inode *inode, sector_t iblock, in __get_data_block() argument 1231 pgofs = (pgoff_t)(iblock >> (PAGE_CACHE_SHIFT - blkbits)); in __get_data_block() 1319 trace_f2fs_get_data_block(inode, iblock, bh_result, err); in __get_data_block() 1323 static int get_data_block(struct inode *inode, sector_t iblock, in get_data_block() argument 1326 return __get_data_block(inode, iblock, bh_result, create, false); in get_data_block() 1329 static int get_data_block_fiemap(struct inode *inode, sector_t iblock, in get_data_block_fiemap() argument 1332 return __get_data_block(inode, iblock, bh_result, create, true); in get_data_block_fiemap()
|
/linux-4.1.27/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()
|
D | quota.c | 678 unsigned blocksize, iblock, pos; in gfs2_adjust_quota() local 724 iblock = index << (PAGE_CACHE_SHIFT - inode->i_sb->s_blocksize_bits); in gfs2_adjust_quota() 733 iblock++; in gfs2_adjust_quota() 738 gfs2_block_map(inode, iblock, bh, 1); in gfs2_adjust_quota()
|
/linux-4.1.27/drivers/target/ |
D | target_core_iblock.c | 867 DEF_TB_DEFAULT_ATTRIBS(iblock);
|
/linux-4.1.27/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.1.27/include/linux/ |
D | fs.h | 69 typedef int (get_block_t)(struct inode *inode, sector_t iblock,
|
/linux-4.1.27/fs/btrfs/ |
D | inode.c | 7429 static int btrfs_get_blocks_direct(struct inode *inode, sector_t iblock, in btrfs_get_blocks_direct() argument 7435 u64 start = iblock << inode->i_blkbits; in btrfs_get_blocks_direct()
|