Lines Matching refs:bh_result
57 struct buffer_head *bh_result, int create) in ocfs2_symlink_get_block() argument
69 (unsigned long long)iblock, bh_result, create); in ocfs2_symlink_get_block()
96 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) { in ocfs2_symlink_get_block()
112 kaddr = kmap_atomic(bh_result->b_page); in ocfs2_symlink_get_block()
117 memcpy(kaddr + (bh_result->b_size * iblock), in ocfs2_symlink_get_block()
119 bh_result->b_size); in ocfs2_symlink_get_block()
121 set_buffer_uptodate(bh_result); in ocfs2_symlink_get_block()
126 map_bh(bh_result, inode->i_sb, in ocfs2_symlink_get_block()
138 struct buffer_head *bh_result, int create) in ocfs2_get_block() argument
142 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block()
147 (unsigned long long)iblock, bh_result, create); in ocfs2_get_block()
155 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); in ocfs2_get_block()
183 clear_buffer_dirty(bh_result); in ocfs2_get_block()
184 clear_buffer_uptodate(bh_result); in ocfs2_get_block()
190 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
192 bh_result->b_size = count << inode->i_blkbits; in ocfs2_get_block()
213 set_buffer_new(bh_result); in ocfs2_get_block()
516 struct buffer_head *bh_result, int create) in ocfs2_direct_IO_get_blocks() argument
524 unsigned long max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_direct_IO_get_blocks()
525 unsigned long len = bh_result->b_size; in ocfs2_direct_IO_get_blocks()
591 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_direct_IO_get_blocks()
593 clear_buffer_mapped(bh_result); in ocfs2_direct_IO_get_blocks()
599 bh_result->b_size = contig_blocks << blocksize_bits; in ocfs2_direct_IO_get_blocks()