Lines Matching refs:free_bytes
191 int *free_bytes) in xlog_grant_head_wake() argument
221 if (*free_bytes < need_bytes) { in xlog_grant_head_wake()
227 *free_bytes -= need_bytes; in xlog_grant_head_wake()
296 int free_bytes; in xlog_grant_head_check() local
308 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
311 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
312 free_bytes < *need_bytes) { in xlog_grant_head_check()
317 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
999 int free_bytes; in xfs_log_space_wake() local
1008 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1009 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1017 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1018 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1139 int free_bytes; in xlog_space_left() local
1149 free_bytes = log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()
1154 free_bytes = tail_bytes - head_bytes; in xlog_space_left()
1169 free_bytes = log->l_logsize; in xlog_space_left()
1171 return free_bytes; in xlog_space_left()
1492 int free_bytes; in xlog_grant_push_threshold() local
1499 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
1500 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_threshold()