Lines Matching refs:di_bh
399 struct buffer_head *di_bh, in ocfs2_get_clusters_nocache() argument
415 di = (struct ocfs2_dinode *) di_bh->b_data; in ocfs2_get_clusters_nocache()
603 struct buffer_head *di_bh = NULL; in ocfs2_get_clusters() local
617 ret = ocfs2_read_inode_block(inode, &di_bh); in ocfs2_get_clusters()
623 ret = ocfs2_get_clusters_nocache(inode, di_bh, v_cluster, &hole_len, in ocfs2_get_clusters()
652 brelse(di_bh); in ocfs2_get_clusters()
702 static int ocfs2_fiemap_inline(struct inode *inode, struct buffer_head *di_bh, in ocfs2_fiemap_inline() argument
713 di = (struct ocfs2_dinode *)di_bh->b_data; in ocfs2_fiemap_inline()
744 struct buffer_head *di_bh = NULL; in ocfs2_fiemap() local
751 ret = ocfs2_inode_lock(inode, &di_bh, 0); in ocfs2_fiemap()
764 ret = ocfs2_fiemap_inline(inode, di_bh, fieinfo, map_start); in ocfs2_fiemap()
775 ret = ocfs2_get_clusters_nocache(inode, di_bh, cpos, in ocfs2_fiemap()
810 brelse(di_bh); in ocfs2_fiemap()
821 int ocfs2_overwrite_io(struct inode *inode, struct buffer_head *di_bh, in ocfs2_overwrite_io() argument
830 if (ocfs2_size_fits_inline_data(di_bh, map_start + map_len)) in ocfs2_overwrite_io()
841 ret = ocfs2_get_clusters_nocache(inode, di_bh, cpos, in ocfs2_overwrite_io()
872 struct buffer_head *di_bh = NULL; in ocfs2_seek_data_hole_offset() local
877 ret = ocfs2_inode_lock(inode, &di_bh, 0); in ocfs2_seek_data_hole_offset()
901 ret = ocfs2_get_clusters_nocache(inode, di_bh, cpos, &hole_size, in ocfs2_seek_data_hole_offset()
949 brelse(di_bh); in ocfs2_seek_data_hole_offset()