Lines Matching refs:grant
153 xlog_assign_grant_head(&head->grant, 1, 0);
215 * the grant head, we need to push the AIL again to ensure the
263 } while (xlog_space_left(log, &head->grant) < need_bytes);
308 free_bytes = xlog_space_left(log, &head->grant);
370 * Replenish the byte reservation required by moving the grant write head.
409 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
468 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes);
469 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
682 * space grant counters are, we can initialise the permanent ticket
1023 free_bytes = xlog_space_left(log, &log->l_write_head.grant);
1032 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant);
1514 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant);
1857 /* move grant heads by roundoff in sync */
1858 xlog_grant_add_space(log, &log->l_reserve_head.grant, roundoff);
1859 xlog_grant_add_space(log, &log->l_write_head.grant, roundoff);
2631 * the reservation grant head pushing. This is due to the fact that the push
2636 * should push the AIL to ensure the push target (and hence the grant head) is
2979 * grant write head because the permanent reservation has reserved cnt times the
2981 * current reservation to be one units worth. Also move grant reservation head
2994 xlog_grant_sub_space(log, &log->l_reserve_head.grant,
2996 xlog_grant_sub_space(log, &log->l_write_head.grant,
3005 xlog_grant_add_space(log, &log->l_reserve_head.grant,
3054 xlog_grant_sub_space(log, &log->l_reserve_head.grant, bytes);
3055 xlog_grant_sub_space(log, &log->l_write_head.grant, bytes);
3496 * Check to make sure the grant write head didn't just over lap the tail. If
3513 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &space);
3769 * action is protected by the grant locks.