Lines Matching refs:free_bytes
190 int *free_bytes) in xlog_grant_head_wake() argument
220 if (*free_bytes < need_bytes) { in xlog_grant_head_wake()
226 *free_bytes -= need_bytes; in xlog_grant_head_wake()
295 int free_bytes; in xlog_grant_head_check() local
307 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
310 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
311 free_bytes < *need_bytes) { in xlog_grant_head_check()
316 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1125 int free_bytes; in xfs_log_space_wake() local
1134 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1135 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1143 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1144 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1674 int free_bytes; in xlog_grant_push_threshold() local
1681 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
1682 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_threshold()