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_lock_get_block() argument
144 ret = ocfs2_get_block(inode, iblock, bh_result, create); in ocfs2_lock_get_block()
151 struct buffer_head *bh_result, int create) in ocfs2_get_block() argument
155 u64 max_blocks = bh_result->b_size >> inode->i_blkbits; in ocfs2_get_block()
160 (unsigned long long)iblock, bh_result, create); in ocfs2_get_block()
168 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create); in ocfs2_get_block()
196 clear_buffer_dirty(bh_result); in ocfs2_get_block()
197 clear_buffer_uptodate(bh_result); in ocfs2_get_block()
203 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_get_block()
205 bh_result->b_size = count << inode->i_blkbits; in ocfs2_get_block()
226 set_buffer_new(bh_result); in ocfs2_get_block()
2162 struct buffer_head *bh_result, int create) in ocfs2_dio_wr_get_block() argument
2174 unsigned len, total_len = bh_result->b_size; in ocfs2_dio_wr_get_block()
2206 ret = ocfs2_lock_get_block(inode, iblock, bh_result, create); in ocfs2_dio_wr_get_block()
2207 if (buffer_mapped(bh_result) && in ocfs2_dio_wr_get_block()
2208 !buffer_new(bh_result) && in ocfs2_dio_wr_get_block()
2213 bh_result->b_state = 0; in ocfs2_dio_wr_get_block()
2216 dwc = ocfs2_dio_alloc_write_ctx(bh_result, &first_get_block); in ocfs2_dio_wr_get_block()
2273 map_bh(bh_result, inode->i_sb, p_blkno); in ocfs2_dio_wr_get_block()
2274 bh_result->b_size = len; in ocfs2_dio_wr_get_block()
2276 set_buffer_new(bh_result); in ocfs2_dio_wr_get_block()
2279 set_buffer_new(bh_result); in ocfs2_dio_wr_get_block()
2283 set_buffer_defer_completion(bh_result); in ocfs2_dio_wr_get_block()