Lines Matching refs:l_write_head
209 if (head == &log->l_write_head) { in xlog_ticket_reservation()
391 error = xlog_grant_head_check(log, &log->l_write_head, tic, in xfs_log_regrant()
396 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_regrant()
460 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes); in xfs_log_reserve()
1075 if (!list_empty_careful(&log->l_write_head.waiters)) { in xfs_log_space_wake()
1078 spin_lock(&log->l_write_head.lock); in xfs_log_space_wake()
1079 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1080 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1081 spin_unlock(&log->l_write_head.lock); in xfs_log_space_wake()
1451 xlog_grant_head_init(&log->l_write_head); in xlog_alloc_log()
1869 xlog_grant_add_space(log, &log->l_write_head.grant, roundoff); in xlog_sync()
3117 xlog_grant_sub_space(log, &log->l_write_head.grant, in xlog_regrant_reserve_log_space()
3176 xlog_grant_sub_space(log, &log->l_write_head.grant, bytes); in xlog_ungrant_log_space()
3759 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &space); in xlog_verify_grant_tail()
4019 xlog_grant_head_wake_all(&log->l_write_head); in xfs_log_force_umount()