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()
986 int free_bytes; in xfs_log_space_wake() local
995 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
996 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1004 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1005 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1126 int free_bytes; in xlog_space_left() local
1136 free_bytes = log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()
1141 free_bytes = tail_bytes - head_bytes; in xlog_space_left()
1154 free_bytes = log->l_logsize; in xlog_space_left()
1156 return free_bytes; in xlog_space_left()
1545 int free_bytes; in xlog_grant_push_ail() local
1552 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_ail()
1553 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_ail()