Lines Matching refs:dfc_held
995 error = xfs_defer_save_resources(&dfc->dfc_held, tp); in xfs_defer_ops_capture()
1010 for (i = 0; i < dfc->dfc_held.dr_inos; i++) { in xfs_defer_ops_capture()
1011 xfs_assert_ilocked(dfc->dfc_held.dr_ip[i], XFS_ILOCK_EXCL); in xfs_defer_ops_capture()
1012 ihold(VFS_I(dfc->dfc_held.dr_ip[i])); in xfs_defer_ops_capture()
1015 for (i = 0; i < dfc->dfc_held.dr_bufs; i++) in xfs_defer_ops_capture()
1016 xfs_buf_hold(dfc->dfc_held.dr_bp[i]); in xfs_defer_ops_capture()
1032 for (i = 0; i < dfc->dfc_held.dr_bufs; i++) in xfs_defer_ops_capture_abort()
1033 xfs_buf_relse(dfc->dfc_held.dr_bp[i]); in xfs_defer_ops_capture_abort()
1035 for (i = 0; i < dfc->dfc_held.dr_inos; i++) in xfs_defer_ops_capture_abort()
1036 xfs_irele(dfc->dfc_held.dr_ip[i]); in xfs_defer_ops_capture_abort()
1096 if (dfc->dfc_held.dr_inos > 2) { in xfs_defer_ops_continue()
1097 xfs_sort_inodes(dfc->dfc_held.dr_ip, dfc->dfc_held.dr_inos); in xfs_defer_ops_continue()
1098 xfs_lock_inodes(dfc->dfc_held.dr_ip, dfc->dfc_held.dr_inos, in xfs_defer_ops_continue()
1100 } else if (dfc->dfc_held.dr_inos == 2) in xfs_defer_ops_continue()
1101 xfs_lock_two_inodes(dfc->dfc_held.dr_ip[0], XFS_ILOCK_EXCL, in xfs_defer_ops_continue()
1102 dfc->dfc_held.dr_ip[1], XFS_ILOCK_EXCL); in xfs_defer_ops_continue()
1103 else if (dfc->dfc_held.dr_inos == 1) in xfs_defer_ops_continue()
1104 xfs_ilock(dfc->dfc_held.dr_ip[0], XFS_ILOCK_EXCL); in xfs_defer_ops_continue()
1106 for (i = 0; i < dfc->dfc_held.dr_bufs; i++) in xfs_defer_ops_continue()
1107 xfs_buf_lock(dfc->dfc_held.dr_bp[i]); in xfs_defer_ops_continue()
1110 xfs_defer_restore_resources(tp, &dfc->dfc_held); in xfs_defer_ops_continue()
1111 memcpy(dres, &dfc->dfc_held, sizeof(struct xfs_defer_resources)); in xfs_defer_ops_continue()