Lines Matching refs:handle

760 	handle_t *handle;  in update_super_work()  local
774 handle = jbd2_journal_start(journal, 1); in update_super_work()
775 if (IS_ERR(handle)) in update_super_work()
777 if (jbd2_journal_get_write_access(handle, sbh)) { in update_super_work()
778 jbd2_journal_stop(handle); in update_super_work()
793 if (jbd2_journal_dirty_metadata(handle, sbh)) { in update_super_work()
794 jbd2_journal_stop(handle); in update_super_work()
797 jbd2_journal_stop(handle); in update_super_work()
6873 handle_t *handle; in ext4_write_dquot() local
6877 handle = ext4_journal_start(inode, EXT4_HT_QUOTA, in ext4_write_dquot()
6879 if (IS_ERR(handle)) in ext4_write_dquot()
6880 return PTR_ERR(handle); in ext4_write_dquot()
6886 err = ext4_journal_stop(handle); in ext4_write_dquot()
6895 handle_t *handle; in ext4_acquire_dquot() local
6897 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_acquire_dquot()
6899 if (IS_ERR(handle)) in ext4_acquire_dquot()
6900 return PTR_ERR(handle); in ext4_acquire_dquot()
6906 err = ext4_journal_stop(handle); in ext4_acquire_dquot()
6915 handle_t *handle; in ext4_release_dquot() local
6917 handle = ext4_journal_start(dquot_to_inode(dquot), EXT4_HT_QUOTA, in ext4_release_dquot()
6919 if (IS_ERR(handle)) { in ext4_release_dquot()
6922 return PTR_ERR(handle); in ext4_release_dquot()
6929 err = ext4_journal_stop(handle); in ext4_release_dquot()
6950 handle_t *handle; in ext4_write_info() local
6953 handle = ext4_journal_start_sb(sb, EXT4_HT_QUOTA, 2); in ext4_write_info()
6954 if (IS_ERR(handle)) in ext4_write_info()
6955 return PTR_ERR(handle); in ext4_write_info()
6957 err = ext4_journal_stop(handle); in ext4_write_info()
7016 handle_t *handle; in ext4_quota_on() local
7024 handle = ext4_journal_start(inode, EXT4_HT_QUOTA, 1); in ext4_quota_on()
7025 if (IS_ERR(handle)) in ext4_quota_on()
7030 err = ext4_mark_inode_dirty(handle, inode); in ext4_quota_on()
7031 ext4_journal_stop(handle); in ext4_quota_on()
7136 handle_t *handle; in ext4_quota_off() local
7164 handle = ext4_journal_start(inode, EXT4_HT_QUOTA, 1); in ext4_quota_off()
7165 if (IS_ERR(handle)) { in ext4_quota_off()
7166 err = PTR_ERR(handle); in ext4_quota_off()
7172 err = ext4_mark_inode_dirty(handle, inode); in ext4_quota_off()
7173 ext4_journal_stop(handle); in ext4_quota_off()
7232 handle_t *handle = journal_current_handle(); in ext4_quota_write() local
7234 if (!handle) { in ext4_quota_write()
7252 bh = ext4_bread(handle, inode, blk, in ext4_quota_write()
7262 err = ext4_journal_get_write_access(handle, sb, bh, EXT4_JTR_NONE); in ext4_quota_write()
7271 err = ext4_handle_dirty_metadata(handle, NULL, bh); in ext4_quota_write()
7277 err2 = ext4_mark_inode_dirty(handle, inode); in ext4_quota_write()