Lines Matching defs:handle

342  * This is used only for read-ahead. Failures or difficult to handle
413 int walk_page_buffers( handle_t *handle,
418 int (*fn)( handle_t *handle,
438 err = (*fn)(handle, bh);
1147 * If need be, we could handle -EAGAIN for a
1479 handle_t *handle;
1482 handle = ocfs2_start_trans(osb, OCFS2_INODE_UPDATE_CREDITS);
1483 if (IS_ERR(handle)) {
1484 ret = PTR_ERR(handle);
1491 ocfs2_commit_trans(osb, handle);
1503 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh,
1506 ocfs2_commit_trans(osb, handle);
1518 ocfs2_commit_trans(osb, handle);
1524 wc->w_handle = handle;
1602 * handle sparse files.
1659 handle_t *handle;
1771 handle = ocfs2_start_trans(osb, credits);
1772 if (IS_ERR(handle)) {
1773 ret = PTR_ERR(handle);
1778 wc->w_handle = handle;
1787 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), wc->w_di_bh,
1840 ocfs2_commit_trans(osb, handle);
1959 handle_t *handle = wc->w_handle;
1964 if (handle) {
1965 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode),
2029 if (handle && ocfs2_should_order_data(inode)) {
2034 ocfs2_jbd2_inode_add_write(handle, inode,
2054 if (handle)
2055 ocfs2_update_inode_fsync_trans(handle, inode, 1);
2057 if (handle)
2058 ocfs2_journal_dirty(handle, wc->w_di_bh);
2068 if (handle)
2069 ocfs2_commit_trans(osb, handle);
2307 handle_t *handle = NULL;
2359 handle = ocfs2_start_trans(osb, credits);
2360 if (IS_ERR(handle)) {
2361 ret = PTR_ERR(handle);
2365 ret = ocfs2_journal_access_di(handle, INODE_CACHE(inode), di_bh,
2373 ret = ocfs2_mark_extent_written(inode, &et, handle,
2384 ret = ocfs2_set_inode_size(handle, inode, di_bh, end);
2389 ocfs2_commit_trans(osb, handle);