/linux-master/fs/efs/ |
H A D | file.c | 13 int efs_get_block(struct inode *inode, sector_t iblock, argument 21 if (iblock >= inode->i_blocks) { 31 phys = efs_map_block(inode, iblock);
|
H A D | inode.c | 207 efs_block_t iblock, result = 0, lastblock = 0; local 271 iblock = sb->fs_start + in->extents[dirext].cooked.ex_bn + 277 if (first || lastblock != iblock) { 280 bh = sb_bread(inode->i_sb, iblock); 283 __func__, iblock); 287 __func__, iblock); 289 lastblock = iblock; 298 cur, iblock);
|
/linux-master/fs/freevxfs/ |
H A D | vxfs_subr.c | 86 * @iblock: logical block 99 vxfs_getblk(struct inode *ip, sector_t iblock, argument 104 pblock = vxfs_bmap1(ip, iblock);
|
H A D | vxfs_bmap.c | 177 * @iblock: logical block 186 vxfs_bmap_typed(struct inode *ip, long iblock) argument 201 if (iblock < off) 208 iblock - off); 213 if ((iblock - off) < fs32_to_cpu(sbi, typ->vt_size)) 215 iblock - off); 240 * @iblock: logical block 250 vxfs_bmap1(struct inode *ip, long iblock) argument 255 return vxfs_bmap_ext4(ip, iblock); 257 return vxfs_bmap_typed(ip, iblock); [all...] |
/linux-master/fs/udf/ |
H A D | dir.c | 80 udf_pblk_t iblock; local 112 iblock = udf_get_lb_pblock(sb, &tloc, 0); 113 if (!dir_emit(ctx, fname, flen, iblock, DT_UNKNOWN))
|
/linux-master/fs/ocfs2/ |
H A D | aops.h | 48 int ocfs2_get_block(struct inode *inode, sector_t iblock,
|
H A D | aops.c | 40 static int ocfs2_symlink_get_block(struct inode *inode, sector_t iblock, argument 53 (unsigned long long)iblock, bh_result, create); 57 if ((iblock << inode->i_sb->s_blocksize_bits) > PATH_MAX + 1) { 59 (unsigned long long)iblock); 70 if ((u64)iblock >= ocfs2_clusters_to_blocks(inode->i_sb, 74 "%llu\n", (unsigned long long)iblock); 82 iblock; 101 memcpy(kaddr + (bh_result->b_size * iblock), 111 le64_to_cpu(fe->id2.i_list.l_recs[0].e_blkno) + iblock); 121 static int ocfs2_lock_get_block(struct inode *inode, sector_t iblock, argument 134 ocfs2_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 2140 ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument [all...] |
H A 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-master/fs/qnx4/ |
H A D | qnx4.h | 27 extern unsigned long qnx4_block_map(struct inode *inode, long iblock);
|
H A D | inode.c | 61 static int qnx4_get_block( struct inode *inode, sector_t iblock, struct buffer_head *bh, int create ) argument 65 QNX4DEBUG((KERN_INFO "qnx4: qnx4_get_block inode=[%ld] iblock=[%ld]\n",inode->i_ino,iblock)); 67 phys = qnx4_block_map( inode, iblock ); 84 unsigned long qnx4_block_map( struct inode *inode, long iblock ) 92 u32 offset = iblock; 96 // iblock is in the first extent. This is easy. 98 // iblock is beyond first extent. We have to follow the extent chain. 131 QNX4DEBUG((KERN_INFO "qnx4: mapping block %ld of inode %ld = %ld\n",iblock,inode->i_ino,block));
|
/linux-master/fs/exfat/ |
H A D | inode.c | 278 static int exfat_get_block(struct inode *inode, sector_t iblock, argument 295 if (iblock >= last_block && !create) 299 err = exfat_map_cluster(inode, iblock >> sbi->sect_per_clus_bits, 304 "failed to bmap (inode : %p iblock : %llu, err : %d)", 305 inode, (unsigned long long)iblock, err); 313 sec_offset = iblock & (sbi->sect_per_clus - 1); 319 pos = EXFAT_BLK_TO_B((iblock + 1), sb); 320 if ((create && iblock >= last_block) || buffer_delay(bh_result)) { 332 if (iblock + max_blocks < valid_blks) { 335 } else if (iblock < valid_blk [all...] |
/linux-master/fs/hfsplus/ |
H A D | extents.c | 224 /* Get a block at iblock for inode, possibly allocating if create */ 225 int hfsplus_get_block(struct inode *inode, sector_t iblock, argument 237 ablock = iblock >> sbi->fs_shift; 239 if (iblock >= hip->fs_blocks) { 242 if (iblock > hip->fs_blocks) 279 inode->i_ino, (long long)iblock, dblock); 283 sbi->blockoffset + (iblock & mask);
|
/linux-master/fs/hpfs/ |
H A D | file.c | 79 static int hpfs_get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 85 s = hpfs_bmap(inode, iblock, &n_secs); 99 if (iblock<<9 != hpfs_i(inode)->mmu_private) {
|
/linux-master/fs/sysv/ |
H A D | itree.c | 208 static int get_block(struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) argument 216 int depth = block_to_path(inode, iblock, offsets); 375 long iblock; local 383 iblock = (inode->i_size + blocksize-1) 388 n = block_to_path(inode, iblock, offsets);
|
/linux-master/fs/ext2/ |
H A D | inode.c | 625 sector_t iblock, unsigned long maxblocks, 643 depth = ext2_block_to_path(inode,iblock,offsets,&blocks_to_boundary); 721 goal = ext2_find_goal(inode, iblock, partial); 765 ext2_splice_branch(inode, iblock, partial, indirect_blks, count); 783 int ext2_get_block(struct inode *inode, sector_t iblock, argument 791 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, 1173 long iblock; local 1176 iblock = (offset + blocksize-1) >> EXT2_BLOCK_SIZE_BITS(inode->i_sb); 1182 n = ext2_block_to_path(inode, iblock, offsets, NULL); 624 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, u32 *bno, bool *new, bool *boundary, int create) argument
|
/linux-master/fs/minix/ |
H A D | itree_common.c | 310 long iblock; local 312 iblock = (inode->i_size + sb->s_blocksize -1) >> sb->s_blocksize_bits; 315 n = block_to_path(inode, iblock, offsets);
|
/linux-master/fs/qnx6/ |
H A 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, argument 77 pr_debug("qnx6_get_block inode=[%ld] iblock=[%ld]\n", 78 inode->i_ino, (unsigned long)iblock); 80 phys = qnx6_block_map(inode, iblock);
|
/linux-master/fs/fat/ |
H A D | inode.c | 119 static inline int __fat_get_block(struct inode *inode, sector_t iblock, argument 129 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); 140 if (iblock != MSDOS_I(inode)->mmu_private >> sb->s_blocksize_bits) { 147 offset = (unsigned long)iblock & (sbi->sec_per_clus - 1); 153 if (!offset && !(iblock < last_block)) { 165 err = fat_bmap(inode, iblock, &phys, &mapped_blocks, create, false); 183 static int fat_get_block(struct inode *inode, sector_t iblock, argument 190 err = __fat_get_block(inode, iblock, &max_blocks, bh_result, create); 290 static int fat_get_block_bmap(struct inode *inode, sector_t iblock, argument 301 err = fat_bmap(inode, iblock, [all...] |
H A D | dir.c | 49 static inline void fat_dir_readahead(struct inode *dir, sector_t iblock, argument 58 if ((iblock & (sbi->sec_per_clus - 1)) || sbi->sec_per_clus == 1) 86 sector_t phys, iblock; local 93 iblock = *pos >> sb->s_blocksize_bits; 94 err = fat_bmap(dir, iblock, &phys, &mapped_blocks, 0, false); 98 fat_dir_readahead(dir, iblock, phys); 105 *pos = (iblock + 1) << sb->s_blocksize_bits;
|
/linux-master/fs/ntfs3/ |
H A D | file.c | 189 sector_t iblock; local 197 iblock = page_off >> inode->i_blkbits; 218 ntfs_get_block(inode, iblock, bh, 0); 235 } while (bh_off = bh_next, iblock += 1,
|
H A D | inode.c | 758 static int ntfs_get_block_direct_IO_R(struct inode *inode, sector_t iblock, argument 761 return ntfs_get_block_vbo(inode, (u64)iblock << inode->i_blkbits, 765 static int ntfs_get_block_direct_IO_W(struct inode *inode, sector_t iblock, argument 768 return ntfs_get_block_vbo(inode, (u64)iblock << inode->i_blkbits,
|
/linux-master/fs/isofs/ |
H A D | inode.c | 1065 int isofs_get_blocks(struct inode *inode, sector_t iblock, argument 1068 unsigned long b_off = iblock; 1077 if (iblock != b_off) { 1156 static int isofs_get_block(struct inode *inode, sector_t iblock, argument 1166 ret = isofs_get_blocks(inode, iblock, &bh_result, 1);
|
/linux-master/fs/ |
H A D | buffer.c | 2351 sector_t iblock, lblock; local 2368 iblock = div_u64(folio_pos(folio), blocksize); 2382 if (iblock < lblock) { 2384 err = get_block(inode, iblock, bh, 0); 2405 } while (i++, iblock++, (bh = bh->b_this_page) != head); 2639 sector_t iblock; local 2654 iblock = ((loff_t)index * PAGE_SIZE) >> inode->i_blkbits; 2669 iblock++; 2675 err = get_block(inode, iblock, bh, 0);
|
/linux-master/fs/ext4/ |
H A D | inode.c | 753 static int _ext4_get_block(struct inode *inode, sector_t iblock, argument 762 map.m_lblk = iblock; 779 int ext4_get_block(struct inode *inode, sector_t iblock, argument 782 return _ext4_get_block(inode, iblock, bh, 791 int ext4_get_block_unwritten(struct inode *inode, sector_t iblock, argument 798 ret = _ext4_get_block(inode, iblock, bh_result, 1686 static int ext4_da_map_blocks(struct inode *inode, sector_t iblock, argument 1707 if (ext4_es_lookup_extent(inode, iblock, NULL, &es)) { 1722 map->m_pblk = ext4_es_pblock(&es) + iblock - es.es_lblk; 1723 retval = es.es_len - (iblock 1800 ext4_da_get_block_prep(struct inode *inode, sector_t iblock, struct buffer_head *bh, int create) argument 3614 ext4_lblk_t iblock; local [all...] |
/linux-master/block/ |
H A D | fops.c | 407 static int blkdev_get_block(struct inode *inode, sector_t iblock, argument 411 bh->b_blocknr = iblock;
|