Lines Matching refs:handle
3991 handle_t *handle, unsigned int reserv_clstrs) in ext4_mb_mark_diskspace_used() argument
4013 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_mb_mark_diskspace_used()
4027 err = ext4_journal_get_write_access(handle, sb, gdp_bh, EXT4_JTR_NONE); in ext4_mb_mark_diskspace_used()
4045 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_mb_mark_diskspace_used()
4093 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_mb_mark_diskspace_used()
4096 err = ext4_handle_dirty_metadata(handle, NULL, gdp_bh); in ext4_mb_mark_diskspace_used()
6157 ext4_fsblk_t ext4_mb_new_blocks(handle_t *handle, in ext4_mb_new_blocks() argument
6256 *errp = ext4_mb_mark_diskspace_used(ac, handle, reserv_clstrs); in ext4_mb_new_blocks()
6329 ext4_mb_free_metadata(handle_t *handle, struct ext4_buddy *e4b, in ext4_mb_free_metadata() argument
6342 BUG_ON(!ext4_handle_valid(handle)); in ext4_mb_free_metadata()
6450 static void ext4_mb_clear_bb(handle_t *handle, struct inode *inode, in ext4_mb_clear_bb() argument
6520 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_mb_clear_bb()
6531 err = ext4_journal_get_write_access(handle, sb, gd_bh, EXT4_JTR_NONE); in ext4_mb_clear_bb()
6555 if (ext4_handle_valid(handle) && in ext4_mb_clear_bb()
6568 new_entry->efd_tid = handle->h_transaction->t_tid; in ext4_mb_clear_bb()
6572 ext4_mb_free_metadata(handle, &e4b, new_entry); in ext4_mb_clear_bb()
6624 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_mb_clear_bb()
6628 ret = ext4_handle_dirty_metadata(handle, NULL, gd_bh); in ext4_mb_clear_bb()
6654 void ext4_free_blocks(handle_t *handle, struct inode *inode, in ext4_free_blocks() argument
6692 ext4_forget(handle, flags & EXT4_FREE_BLOCKS_METADATA, in ext4_free_blocks()
6740 ext4_forget(handle, is_metadata, inode, bh, block + i); in ext4_free_blocks()
6744 ext4_mb_clear_bb(handle, inode, block, count, flags); in ext4_free_blocks()
6756 int ext4_group_add_blocks(handle_t *handle, struct super_block *sb, in ext4_group_add_blocks() argument
6812 err = ext4_journal_get_write_access(handle, sb, bitmap_bh, in ext4_group_add_blocks()
6823 err = ext4_journal_get_write_access(handle, sb, gd_bh, EXT4_JTR_NONE); in ext4_group_add_blocks()
6870 err = ext4_handle_dirty_metadata(handle, NULL, bitmap_bh); in ext4_group_add_blocks()
6874 ret = ext4_handle_dirty_metadata(handle, NULL, gd_bh); in ext4_group_add_blocks()