Lines Matching refs:bh_result
52 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument
64 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block()
90 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
105 kaddr = kmap_atomic(bh_result->b_page); in ocfs2_symlink_get_block()
110 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block()
112 bh_result->b_size); in ocfs2_symlink_get_block()
114 set_buffer_uptodate(bh_result); in ocfs2_symlink_get_block()
119 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
131 struct buffer_head *bh_result, int create) in ocfs2_get_block() argument
135 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block()
140 (unsigned long long)iblock, bh_result, create); in ocfs2_get_block()
148 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); in ocfs2_get_block()
176 clear_buffer_dirty(bh_result); in ocfs2_get_block()
177 clear_buffer_uptodate(bh_result); in ocfs2_get_block()
183 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
185 bh_result->b_size = count << inode->i_blkbits; in ocfs2_get_block()
206 set_buffer_new(bh_result); in ocfs2_get_block()
512 struct buffer_head *bh_result, int create) in ocfs2_direct_IO_get_blocks() argument
518 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_direct_IO_get_blocks()
547 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks()
549 clear_buffer_mapped(bh_result); in ocfs2_direct_IO_get_blocks()
555 bh_result->b_size = contig_blocks << blocksize_bits; in ocfs2_direct_IO_get_blocks()