Lines Matching refs:gdb
228 struct buffer_head *gdb; in setup_new_group_blocks() local
236 gdb = sb_getblk(sb, block); in setup_new_group_blocks()
237 if (!gdb) { in setup_new_group_blocks()
241 if ((err = ext3_journal_get_write_access(handle, gdb))) { in setup_new_group_blocks()
242 brelse(gdb); in setup_new_group_blocks()
245 lock_buffer(gdb); in setup_new_group_blocks()
246 memcpy(gdb->b_data, sbi->s_group_desc[i]->b_data, gdb->b_size); in setup_new_group_blocks()
247 set_buffer_uptodate(gdb); in setup_new_group_blocks()
248 unlock_buffer(gdb); in setup_new_group_blocks()
249 err = ext3_journal_dirty_metadata(handle, gdb); in setup_new_group_blocks()
251 brelse(gdb); in setup_new_group_blocks()
255 brelse(gdb); in setup_new_group_blocks()
261 struct buffer_head *gdb; in setup_new_group_blocks() local
269 if (IS_ERR(gdb = bclean(handle, sb, block))) { in setup_new_group_blocks()
270 err = PTR_ERR(gdb); in setup_new_group_blocks()
273 err = ext3_journal_dirty_metadata(handle, gdb); in setup_new_group_blocks()
275 brelse(gdb); in setup_new_group_blocks()
279 brelse(gdb); in setup_new_group_blocks()