/Linux-v4.19/fs/freevxfs/ |
D | vxfs_bmap.c | 210 vxfs_bmap_typed(struct inode *ip, long iblock) in vxfs_bmap_typed() argument 225 if (iblock < off) in vxfs_bmap_typed() 232 iblock - off); in vxfs_bmap_typed() 237 if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) in vxfs_bmap_typed() 239 iblock - off); in vxfs_bmap_typed() 274 vxfs_bmap1(struct inode *ip, long iblock) in vxfs_bmap1() argument 279 return vxfs_bmap_ext4(ip, iblock); in vxfs_bmap1() 281 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-v4.19/fs/efs/ |
D | file.c | 13 int efs_get_block(struct inode *inode, sector_t iblock, in efs_get_block() argument 21 if (iblock >= inode->i_blocks) { in efs_get_block() 31 phys = efs_map_block(inode, iblock); in efs_get_block()
|
D | inode.c | 205 efs_block_t iblock, result = 0, lastblock = 0; in efs_map_block() local 269 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block() 275 if (first || lastblock != iblock) { in efs_map_block() 278 bh = sb_bread(inode->i_sb, iblock); in efs_map_block() 281 __func__, iblock); in efs_map_block() 285 __func__, iblock); in efs_map_block() 287 lastblock = iblock; in efs_map_block() 296 cur, iblock); in efs_map_block()
|
/Linux-v4.19/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 | 27 extern unsigned long qnx4_block_map(struct inode *inode, long iblock);
|
/Linux-v4.19/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 static int ocfs2_lock_get_block(struct inode *inode, sector_t iblock, in ocfs2_lock_get_block() argument [all …]
|
D | aops.h | 64 int ocfs2_get_block(struct inode *inode, sector_t iblock,
|
D | ocfs2_trace.h | 1124 TP_PROTO(unsigned long long ino, unsigned long long iblock, 1126 TP_ARGS(ino, iblock, bh_result, create), 1129 __field(unsigned long long, iblock) 1135 __entry->iblock = iblock; 1140 __entry->ino, __entry->iblock, 1146 TP_PROTO(unsigned long long ino, unsigned long long iblock, \ 1148 TP_ARGS(ino, iblock, bh_result, create))
|
/Linux-v4.19/fs/udf/ |
D | dir.c | 46 udf_pblk_t block, iblock; in udf_readdir() local 184 iblock = udf_get_lb_pblock(sb, &tloc, 0); in udf_readdir() 185 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
|
/Linux-v4.19/fs/ntfs/ |
D | aops.c | 192 sector_t iblock, lblock, zblock; in ntfs_read_block() local 229 iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); in ntfs_read_block() 255 if (iblock < lblock) { in ntfs_read_block() 259 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block() 261 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block() 282 if (iblock < zblock) { in ntfs_read_block() 341 } while (i++, iblock++, (bh = bh->b_this_page) != head); in ntfs_read_block() 553 sector_t block, dblock, iblock; in ntfs_write_block() local 610 iblock = initialized_size >> blocksize_bits; in ntfs_write_block() 654 if (unlikely((block >= iblock) && in ntfs_write_block() [all …]
|
/Linux-v4.19/fs/hfsplus/ |
D | extents.c | 221 int hfsplus_get_block(struct inode *inode, sector_t iblock, in hfsplus_get_block() argument 233 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block() 235 if (iblock >= hip->fs_blocks) { in hfsplus_get_block() 236 if (iblock > hip->fs_blocks || !create) in hfsplus_get_block() 273 inode->i_ino, (long long)iblock, dblock); in hfsplus_get_block() 277 sbi->blockoffset + (iblock & mask); in hfsplus_get_block()
|
D | hfsplus_fs.h | 468 int hfsplus_get_block(struct inode *inode, sector_t iblock,
|
/Linux-v4.19/fs/hpfs/ |
D | file.c | 77 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument 83 s = hpfs_bmap(inode, iblock, &n_secs); in hpfs_get_block() 97 if (iblock<<9 != hpfs_i(inode)->mmu_private) { in hpfs_get_block()
|
/Linux-v4.19/fs/sysv/ |
D | itree.c | 203 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int creat… in get_block() argument 211 int depth = block_to_path(inode, iblock, offsets); in get_block() 372 long iblock; in sysv_truncate() local 380 iblock = (inode->i_size + blocksize-1) in sysv_truncate() 385 n = block_to_path(inode, iblock, offsets); in sysv_truncate()
|
/Linux-v4.19/fs/minix/ |
D | itree_common.c | 304 long iblock; in truncate() local 306 iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits; in truncate() 309 n = block_to_path(inode, iblock, offsets); in truncate()
|
/Linux-v4.19/fs/ext4/ |
D | inode.c | 771 static int _ext4_get_block(struct inode *inode, sector_t iblock, in _ext4_get_block() argument 780 map.m_lblk = iblock; in _ext4_get_block() 797 int ext4_get_block(struct inode *inode, sector_t iblock, in ext4_get_block() argument 800 return _ext4_get_block(inode, iblock, bh, in ext4_get_block() 809 int ext4_get_block_unwritten(struct inode *inode, sector_t iblock, in ext4_get_block_unwritten() argument 814 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_unwritten() 826 static int ext4_get_block_trans(struct inode *inode, sector_t iblock, in ext4_get_block_trans() argument 844 ret = _ext4_get_block(inode, iblock, bh_result, flags); in ext4_get_block_trans() 853 int ext4_dio_get_block(struct inode *inode, sector_t iblock, in ext4_dio_get_block() argument 860 return _ext4_get_block(inode, iblock, bh, 0); in ext4_dio_get_block() [all …]
|
/Linux-v4.19/fs/ext2/ |
D | inode.c | 622 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 640 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks() 715 goal = ext2_find_goal(inode, iblock, partial); in ext2_get_blocks() 759 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); in ext2_get_blocks() 777 int ext2_get_block(struct inode *inode, sector_t iblock, in ext2_get_block() argument 785 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, in ext2_get_block() 1188 long iblock; in __ext2_truncate_blocks() local 1191 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); in __ext2_truncate_blocks() 1197 n = ext2_block_to_path(inode, iblock, offsets, NULL); in __ext2_truncate_blocks()
|
/Linux-v4.19/fs/fat/ |
D | inode.c | 112 static inline int __fat_get_block(struct inode *inode, sector_t iblock, in __fat_get_block() argument 122 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 133 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block() 140 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block() 146 if (!offset && !(iblock < last_block)) { in __fat_get_block() 158 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 176 static int fat_get_block(struct inode *inode, sector_t iblock, in fat_get_block() argument 183 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 289 static int fat_get_block_bmap(struct inode *inode, sector_t iblock, in fat_get_block_bmap() argument 300 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
|
D | dir.c | 48 static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, in fat_dir_readahead() argument 57 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead() 85 sector_t phys, iblock; in fat__get_entry() local 94 iblock = *pos >> sb->s_blocksize_bits; in fat__get_entry() 95 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); in fat__get_entry() 99 fat_dir_readahead(dir, iblock, phys); in fat__get_entry() 106 *pos = (iblock + 1) << sb->s_blocksize_bits; in fat__get_entry()
|
/Linux-v4.19/fs/ |
D | buffer.c | 2221 sector_t iblock, lblock; in block_read_full_page() local 2231 iblock = (sector_t)page->index << (PAGE_SHIFT - bbits); in block_read_full_page() 2245 if (iblock < lblock) { in block_read_full_page() 2247 err = get_block(inode, iblock, bh, 0); in block_read_full_page() 2265 } while (i++, iblock++, (bh = bh->b_this_page) != head); in block_read_full_page() 2770 sector_t iblock; in nobh_truncate_page() local 2785 iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); in nobh_truncate_page() 2802 iblock++; in nobh_truncate_page() 2808 err = get_block(inode, iblock, &map_bh, 0); in nobh_truncate_page() 2848 sector_t iblock; in block_truncate_page() local [all …]
|
/Linux-v4.19/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-v4.19/fs/f2fs/ |
D | data.c | 1223 static int __get_data_block(struct inode *inode, sector_t iblock, in __get_data_block() argument 1230 map.m_lblk = iblock; in __get_data_block() 1245 static int get_data_block(struct inode *inode, sector_t iblock, in get_data_block() argument 1249 return __get_data_block(inode, iblock, bh_result, create, in get_data_block() 1254 static int get_data_block_dio(struct inode *inode, sector_t iblock, in get_data_block_dio() argument 1257 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_dio() 1263 static int get_data_block_bmap(struct inode *inode, sector_t iblock, in get_data_block_bmap() argument 1267 if (unlikely(iblock >= F2FS_I_SB(inode)->max_file_blocks)) in get_data_block_bmap() 1270 return __get_data_block(inode, iblock, bh_result, create, in get_data_block_bmap()
|
/Linux-v4.19/fs/isofs/ |
D | inode.c | 1055 int isofs_get_blocks(struct inode *inode, sector_t iblock, in isofs_get_blocks() argument 1058 unsigned long b_off = iblock; in isofs_get_blocks() 1067 if (iblock != b_off) { in isofs_get_blocks() 1146 static int isofs_get_block(struct inode *inode, sector_t iblock, in isofs_get_block() argument 1156 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); in isofs_get_block()
|
/Linux-v4.19/fs/gfs2/ |
D | bmap.c | 1263 unsigned blocksize, iblock, pos; in gfs2_block_zero_range() local 1273 iblock = index << (PAGE_SHIFT - inode->i_sb->s_blocksize_bits); in gfs2_block_zero_range() 1283 iblock++; in gfs2_block_zero_range() 1290 gfs2_block_map(inode, iblock, bh, 0); in gfs2_block_zero_range()
|