Lines Matching refs:real_blocks
2132 struct buffer_head **real_blocks = NULL; in journal_read_transaction() local
2199 real_blocks = kmalloc_array(get_desc_trans_len(desc), in journal_read_transaction()
2202 if (!log_blocks || !real_blocks) { in journal_read_transaction()
2206 kfree(real_blocks); in journal_read_transaction()
2220 real_blocks[i] = in journal_read_transaction()
2224 real_blocks[i] = in journal_read_transaction()
2229 if (real_blocks[i]->b_blocknr > SB_BLOCK_COUNT(sb)) { in journal_read_transaction()
2238 (sb, real_blocks[i]->b_blocknr)) { in journal_read_transaction()
2244 brelse_array(real_blocks, i); in journal_read_transaction()
2248 kfree(real_blocks); in journal_read_transaction()
2263 brelse_array(real_blocks, get_desc_trans_len(desc)); in journal_read_transaction()
2267 kfree(real_blocks); in journal_read_transaction()
2270 memcpy(real_blocks[i]->b_data, log_blocks[i]->b_data, in journal_read_transaction()
2271 real_blocks[i]->b_size); in journal_read_transaction()
2272 set_buffer_uptodate(real_blocks[i]); in journal_read_transaction()
2277 set_buffer_dirty(real_blocks[i]); in journal_read_transaction()
2278 write_dirty_buffer(real_blocks[i], 0); in journal_read_transaction()
2281 wait_on_buffer(real_blocks[i]); in journal_read_transaction()
2282 if (!buffer_uptodate(real_blocks[i])) { in journal_read_transaction()
2286 brelse_array(real_blocks + i, in journal_read_transaction()
2291 kfree(real_blocks); in journal_read_transaction()
2294 brelse(real_blocks[i]); in journal_read_transaction()
2317 kfree(real_blocks); in journal_read_transaction()