Lines Matching refs:bh_result
43 struct buffer_head *bh_result, int create)
55 (unsigned long long)iblock, bh_result, create);
82 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) {
98 kaddr = kmap_atomic(bh_result->b_page);
103 memcpy(kaddr + (bh_result->b_size * iblock),
105 bh_result->b_size);
107 set_buffer_uptodate(bh_result);
112 map_bh(bh_result, inode->i_sb,
124 struct buffer_head *bh_result, int create)
130 ret = ocfs2_get_block(inode, iblock, bh_result, create);
137 struct buffer_head *bh_result, int create)
141 u64 max_blocks = bh_result->b_size >> inode->i_blkbits;
146 (unsigned long long)iblock, bh_result, create);
154 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create);
182 clear_buffer_dirty(bh_result);
183 clear_buffer_uptodate(bh_result);
189 map_bh(bh_result, inode->i_sb, p_blkno);
191 bh_result->b_size = count << inode->i_blkbits;
212 set_buffer_new(bh_result);
2146 struct buffer_head *bh_result, int create)
2158 unsigned len, total_len = bh_result->b_size;
2165 * bh_result->b_size is count in get_more_blocks according to write
2190 ret = ocfs2_lock_get_block(inode, iblock, bh_result, create);
2191 if (buffer_mapped(bh_result) &&
2192 !buffer_new(bh_result) &&
2197 bh_result->b_state = 0;
2200 dwc = ocfs2_dio_alloc_write_ctx(bh_result, &first_get_block);
2257 map_bh(bh_result, inode->i_sb, p_blkno);
2258 bh_result->b_size = len;
2260 set_buffer_new(bh_result);
2263 set_buffer_new(bh_result);
2267 set_buffer_defer_completion(bh_result);