Lines Matching refs:journal_buffer
145 char *journal_buffer = zalloc(fs->blksz); in delete_single_indirect_block() local
146 if (!journal_buffer) { in delete_single_indirect_block()
171 0, fs->blksz, journal_buffer); in delete_single_indirect_block()
174 if (ext4fs_log_journal(journal_buffer, b_bitmap_blk)) in delete_single_indirect_block()
180 free(journal_buffer); in delete_single_indirect_block()
196 char *journal_buffer = zalloc(fs->blksz); in delete_double_indirect_block() local
197 if (!journal_buffer) { in delete_double_indirect_block()
237 journal_buffer); in delete_double_indirect_block()
241 if (ext4fs_log_journal(journal_buffer, in delete_double_indirect_block()
265 0, fs->blksz, journal_buffer); in delete_double_indirect_block()
269 if (ext4fs_log_journal(journal_buffer, b_bitmap_blk)) in delete_double_indirect_block()
277 free(journal_buffer); in delete_double_indirect_block()
295 char *journal_buffer = zalloc(fs->blksz); in delete_triple_indirect_block() local
296 if (!journal_buffer) { in delete_triple_indirect_block()
351 journal_buffer); in delete_triple_indirect_block()
355 if (ext4fs_log_journal(journal_buffer, in delete_triple_indirect_block()
386 memset(journal_buffer, '\0', fs->blksz); in delete_triple_indirect_block()
390 journal_buffer); in delete_triple_indirect_block()
394 if (ext4fs_log_journal(journal_buffer, in delete_triple_indirect_block()
418 0, fs->blksz, journal_buffer); in delete_triple_indirect_block()
422 if (ext4fs_log_journal(journal_buffer, b_bitmap_blk)) in delete_triple_indirect_block()
431 free(journal_buffer); in delete_triple_indirect_block()
456 char *journal_buffer = zalloc(fs->blksz); in ext4fs_delete_file() local
457 if (!journal_buffer) in ext4fs_delete_file()
506 journal_buffer); in ext4fs_delete_file()
509 if (ext4fs_log_journal(journal_buffer, b_bitmap_blk)) in ext4fs_delete_file()
557 memset(journal_buffer, '\0', fs->blksz); in ext4fs_delete_file()
559 fs->sect_perblk, 0, fs->blksz, journal_buffer); in ext4fs_delete_file()
562 if (ext4fs_log_journal(journal_buffer, ext4fs_bg_get_inode_id(bgd, fs))) in ext4fs_delete_file()
575 free(journal_buffer); in ext4fs_delete_file()
580 free(journal_buffer); in ext4fs_delete_file()