Lines Matching refs:bh_result
41 struct buffer_head *bh_result, int create)
53 (unsigned long long)iblock, bh_result, create);
80 if (!buffer_uptodate(bh_result) && ocfs2_inode_is_new(inode)) {
96 kaddr = kmap_atomic(bh_result->b_page);
101 memcpy(kaddr + (bh_result->b_size * iblock),
103 bh_result->b_size);
105 set_buffer_uptodate(bh_result);
110 map_bh(bh_result, inode->i_sb,
122 struct buffer_head *bh_result, int create)
128 ret = ocfs2_get_block(inode, iblock, bh_result, create);
135 struct buffer_head *bh_result, int create)
139 u64 max_blocks = bh_result->b_size >> inode->i_blkbits;
144 (unsigned long long)iblock, bh_result, create);
152 err = ocfs2_symlink_get_block(inode, iblock, bh_result, create);
180 clear_buffer_dirty(bh_result);
181 clear_buffer_uptodate(bh_result);
187 map_bh(bh_result, inode->i_sb, p_blkno);
189 bh_result->b_size = count << inode->i_blkbits;
210 set_buffer_new(bh_result);
2143 struct buffer_head *bh_result, int create)
2155 unsigned len, total_len = bh_result->b_size;
2162 * bh_result->b_size is count in get_more_blocks according to write
2187 ret = ocfs2_lock_get_block(inode, iblock, bh_result, create);
2188 if (buffer_mapped(bh_result) &&
2189 !buffer_new(bh_result) &&
2194 bh_result->b_state = 0;
2197 dwc = ocfs2_dio_alloc_write_ctx(bh_result, &first_get_block);
2254 map_bh(bh_result, inode->i_sb, p_blkno);
2255 bh_result->b_size = len;
2257 set_buffer_new(bh_result);
2260 set_buffer_new(bh_result);
2264 set_buffer_defer_completion(bh_result);