/linux-6.1.9/fs/freevxfs/ |
D | vxfs_bmap.c | 186 vxfs_bmap_typed(struct inode *ip, long iblock) in vxfs_bmap_typed() argument 201 if (iblock < off) in vxfs_bmap_typed() 208 iblock - off); in vxfs_bmap_typed() 213 if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) in vxfs_bmap_typed() 215 iblock - off); in vxfs_bmap_typed() 250 vxfs_bmap1(struct inode *ip, long iblock) in vxfs_bmap1() argument 255 return vxfs_bmap_ext4(ip, iblock); in vxfs_bmap1() 257 return vxfs_bmap_typed(ip, iblock); in vxfs_bmap1()
|
D | vxfs_subr.c | 99 vxfs_getblk(struct inode *ip, sector_t iblock, in vxfs_getblk() argument 104 pblock = vxfs_bmap1(ip, iblock); in vxfs_getblk()
|
/linux-6.1.9/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 | 208 efs_block_t iblock, result = 0, lastblock = 0; in efs_map_block() local 272 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + in efs_map_block() 278 if (first || lastblock != iblock) { in efs_map_block() 281 bh = sb_bread(inode->i_sb, iblock); in efs_map_block() 284 __func__, iblock); in efs_map_block() 288 __func__, iblock); in efs_map_block() 290 lastblock = iblock; in efs_map_block() 299 cur, iblock); in efs_map_block()
|
/linux-6.1.9/fs/ocfs2/ |
D | aops.c | 40 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, in ocfs2_symlink_get_block() argument 53 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block() 57 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { in ocfs2_symlink_get_block() 59 (unsigned long long)iblock); in ocfs2_symlink_get_block() 70 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, in ocfs2_symlink_get_block() 74 "%llu\n", (unsigned long long)iblock); in ocfs2_symlink_get_block() 82 iblock; in ocfs2_symlink_get_block() 101 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block() 111 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); in ocfs2_symlink_get_block() 121 static int ocfs2_lock_get_block(struct inode *inode, sector_t iblock, in ocfs2_lock_get_block() argument [all …]
|
D | aops.h | 48 int ocfs2_get_block(struct inode *inode, sector_t iblock,
|
D | ocfs2_trace.h | 1126 TP_PROTO(unsigned long long ino, unsigned long long iblock, 1128 TP_ARGS(ino, iblock, bh_result, create), 1131 __field(unsigned long long, iblock) 1137 __entry->iblock = iblock; 1142 __entry->ino, __entry->iblock, 1148 TP_PROTO(unsigned long long ino, unsigned long long iblock, \ 1150 TP_ARGS(ino, iblock, bh_result, create))
|
/linux-6.1.9/fs/qnx4/ |
D | inode.c | 55 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create… in qnx4_get_block() argument 59 QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); in qnx4_get_block() 61 phys = qnx4_block_map( inode, iblock ); in qnx4_get_block() 78 unsigned long qnx4_block_map( struct inode *inode, long iblock ) in qnx4_block_map() argument 86 u32 offset = iblock; in qnx4_block_map() 125 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-6.1.9/fs/udf/ |
D | dir.c | 46 udf_pblk_t block, iblock; in udf_readdir() local 208 iblock = udf_get_lb_pblock(sb, &tloc, 0); in udf_readdir() 209 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN)) in udf_readdir()
|
/linux-6.1.9/fs/exfat/ |
D | inode.c | 268 static int exfat_get_block(struct inode *inode, sector_t iblock, in exfat_get_block() argument 284 if (iblock >= last_block && !create) in exfat_get_block() 288 err = exfat_map_cluster(inode, iblock >> sbi->sect_per_clus_bits, in exfat_get_block() 294 inode, (unsigned long long)iblock, err); in exfat_get_block() 302 sec_offset = iblock & (sbi->sect_per_clus - 1); in exfat_get_block() 309 if (iblock < last_block) in exfat_get_block() 313 pos = EXFAT_BLK_TO_B((iblock + 1), sb); in exfat_get_block()
|
/linux-6.1.9/fs/ntfs/ |
D | aops.c | 175 sector_t iblock, lblock, zblock; in ntfs_read_block() local 212 iblock = (s64)page->index << (PAGE_SHIFT - blocksize_bits); in ntfs_read_block() 238 if (iblock < lblock) { in ntfs_read_block() 242 vcn = (VCN)iblock << blocksize_bits >> in ntfs_read_block() 244 vcn_ofs = ((VCN)iblock << blocksize_bits) & in ntfs_read_block() 265 if (iblock < zblock) { in ntfs_read_block() 324 } while (i++, iblock++, (bh = bh->b_this_page) != head); in ntfs_read_block() 537 sector_t block, dblock, iblock; in ntfs_write_block() local 594 iblock = initialized_size >> blocksize_bits; in ntfs_write_block() 638 if (unlikely((block >= iblock) && in ntfs_write_block() [all …]
|
/linux-6.1.9/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-6.1.9/fs/hfsplus/ |
D | extents.c | 225 int hfsplus_get_block(struct inode *inode, sector_t iblock, in hfsplus_get_block() argument 237 ablock = iblock >> sbi->fs_shift; in hfsplus_get_block() 239 if (iblock >= hip->fs_blocks) { in hfsplus_get_block() 242 if (iblock > hip->fs_blocks) in hfsplus_get_block() 279 inode->i_ino, (long long)iblock, dblock); in hfsplus_get_block() 283 sbi->blockoffset + (iblock & mask); in hfsplus_get_block()
|
/linux-6.1.9/fs/hpfs/ |
D | file.c | 79 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int … in hpfs_get_block() argument 85 s = hpfs_bmap(inode, iblock, &n_secs); in hpfs_get_block() 99 if (iblock<<9 != hpfs_i(inode)->mmu_private) { in hpfs_get_block()
|
/linux-6.1.9/fs/ext2/ |
D | inode.c | 621 sector_t iblock, unsigned long maxblocks, in ext2_get_blocks() argument 639 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); in ext2_get_blocks() 717 goal = ext2_find_goal(inode, iblock, partial); in ext2_get_blocks() 761 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); in ext2_get_blocks() 779 int ext2_get_block(struct inode *inode, sector_t iblock, in ext2_get_block() argument 787 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, in ext2_get_block() 1160 long iblock; in __ext2_truncate_blocks() local 1163 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); in __ext2_truncate_blocks() 1169 n = ext2_block_to_path(inode, iblock, offsets, NULL); in __ext2_truncate_blocks()
|
/linux-6.1.9/fs/minix/ |
D | itree_common.c | 310 long iblock; in truncate() local 312 iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits; in truncate() 315 n = block_to_path(inode, iblock, offsets); in truncate()
|
/linux-6.1.9/fs/qnx6/ |
D | inode.c | 70 static unsigned qnx6_block_map(struct inode *inode, unsigned iblock); 72 static int qnx6_get_block(struct inode *inode, sector_t iblock, in qnx6_get_block() argument 78 inode->i_ino, (unsigned long)iblock); in qnx6_get_block() 80 phys = qnx6_block_map(inode, iblock); in qnx6_get_block()
|
/linux-6.1.9/fs/fat/ |
D | inode.c | 119 static inline int __fat_get_block(struct inode *inode, sector_t iblock, in __fat_get_block() argument 129 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 140 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { in __fat_get_block() 147 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); in __fat_get_block() 153 if (!offset && !(iblock < last_block)) { in __fat_get_block() 165 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); in __fat_get_block() 183 static int fat_get_block(struct inode *inode, sector_t iblock, in fat_get_block() argument 190 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); in fat_get_block() 295 static int fat_get_block_bmap(struct inode *inode, sector_t iblock, in fat_get_block_bmap() argument 306 err = fat_bmap(inode, iblock, &bmap, &mapped_blocks, create, true); in fat_get_block_bmap()
|
D | dir.c | 49 static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, in fat_dir_readahead() argument 58 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) in fat_dir_readahead() 86 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, false); 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()
|
/linux-6.1.9/fs/ |
D | buffer.c | 2242 sector_t iblock, lblock; in block_read_full_folio() local 2255 iblock = (sector_t)folio->index << (PAGE_SHIFT - bbits); in block_read_full_folio() 2269 if (iblock < lblock) { in block_read_full_folio() 2271 err = get_block(inode, iblock, bh, 0); in block_read_full_folio() 2292 } while (i++, iblock++, (bh = bh->b_this_page) != head); in block_read_full_folio() 2531 sector_t iblock; in block_truncate_page() local 2546 iblock = (sector_t)index << (PAGE_SHIFT - inode->i_blkbits); in block_truncate_page() 2561 iblock++; in block_truncate_page() 2568 err = get_block(inode, iblock, bh, 0); in block_truncate_page()
|
/linux-6.1.9/fs/isofs/ |
D | inode.c | 1051 int isofs_get_blocks(struct inode *inode, sector_t iblock, in isofs_get_blocks() argument 1054 unsigned long b_off = iblock; in isofs_get_blocks() 1063 if (iblock != b_off) { in isofs_get_blocks() 1142 static int isofs_get_block(struct inode *inode, sector_t iblock, in isofs_get_block() argument 1152 ret = isofs_get_blocks(inode, iblock, &bh_result, 1); in isofs_get_block()
|
/linux-6.1.9/fs/ext4/ |
D | inode.c | 796 static int _ext4_get_block(struct inode *inode, sector_t iblock, in _ext4_get_block() argument 805 map.m_lblk = iblock; in _ext4_get_block() 822 int ext4_get_block(struct inode *inode, sector_t iblock, in ext4_get_block() argument 825 return _ext4_get_block(inode, iblock, bh, in ext4_get_block() 834 int ext4_get_block_unwritten(struct inode *inode, sector_t iblock, in ext4_get_block_unwritten() argument 839 return _ext4_get_block(inode, iblock, bh_result, in ext4_get_block_unwritten() 1725 static int ext4_da_map_blocks(struct inode *inode, sector_t iblock, in ext4_da_map_blocks() argument 1746 if (ext4_es_lookup_extent(inode, iblock, NULL, &es)) { in ext4_da_map_blocks() 1764 map->m_pblk = ext4_es_pblock(&es) + iblock - es.es_lblk; in ext4_da_map_blocks() 1765 retval = es.es_len - (iblock - es.es_lblk); in ext4_da_map_blocks() [all …]
|
/linux-6.1.9/fs/ntfs3/ |
D | file.c | 204 sector_t iblock; in ntfs_zero_range() local 211 iblock = page_off >> inode->i_blkbits; in ntfs_zero_range() 231 ntfs_get_block(inode, iblock, bh, 0); in ntfs_zero_range() 258 } while (bh_off = bh_next, iblock += 1, in ntfs_zero_range()
|
/linux-6.1.9/block/ |
D | fops.c | 26 static int blkdev_get_block(struct inode *inode, sector_t iblock, in blkdev_get_block() argument 30 bh->b_blocknr = iblock; in blkdev_get_block()
|