Lines Matching refs:iblock

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
128 ret = ocfs2_get_block(inode, iblock, bh_result, create); in ocfs2_lock_get_block()
134 int ocfs2_get_block(struct inode *inode, sector_t iblock, in ocfs2_get_block() argument
144 (unsigned long long)iblock, bh_result, create); in ocfs2_get_block()
152 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); in ocfs2_get_block()
156 err = ocfs2_extent_map_get_blocks(inode, iblock, &p_blkno, &count, in ocfs2_get_block()
160 "%llu, NULL)\n", err, inode, (unsigned long long)iblock, in ocfs2_get_block()
196 (unsigned long long)iblock, in ocfs2_get_block()
209 if (create && (iblock >= past_eof)) in ocfs2_get_block()
2128 static int ocfs2_dio_wr_get_block(struct inode *inode, sector_t iblock, in ocfs2_dio_wr_get_block() argument
2139 loff_t pos = iblock << i_blkbits; in ocfs2_dio_wr_get_block()
2158 if ((iblock <= endblk) && in ocfs2_dio_wr_get_block()
2159 ((iblock + ((len - 1) >> i_blkbits)) > endblk)) in ocfs2_dio_wr_get_block()
2160 len = (endblk - iblock + 1) << i_blkbits; in ocfs2_dio_wr_get_block()
2173 ret = ocfs2_lock_get_block(inode, iblock, bh_result, create); in ocfs2_dio_wr_get_block()
2238 p_blkno += iblock & (u64)(ocfs2_clusters_to_blocks(inode->i_sb, 1) - 1); in ocfs2_dio_wr_get_block()
2245 if (iblock > endblk) in ocfs2_dio_wr_get_block()