Lines Matching refs:free_bytes
235 int *free_bytes) in xlog_grant_head_wake() argument
242 if (*free_bytes < need_bytes) in xlog_grant_head_wake()
245 *free_bytes -= need_bytes; in xlog_grant_head_wake()
313 int free_bytes; in xlog_grant_head_check() local
325 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
328 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
329 free_bytes < *need_bytes) { in xlog_grant_head_check()
334 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1001 int free_bytes; in xfs_log_space_wake() local
1010 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1011 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1019 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1020 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1141 int free_bytes; in xlog_space_left() local
1151 free_bytes = log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()
1156 free_bytes = tail_bytes - head_bytes; in xlog_space_left()
1171 free_bytes = log->l_logsize; in xlog_space_left()
1173 return free_bytes; in xlog_space_left()
1562 int free_bytes; in xlog_grant_push_ail() local
1569 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_ail()
1570 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_ail()