Lines Matching refs:free_bytes
213 int *free_bytes) in xlog_grant_head_wake() argument
243 if (*free_bytes < need_bytes) { in xlog_grant_head_wake()
249 *free_bytes -= need_bytes; in xlog_grant_head_wake()
318 int free_bytes; in xlog_grant_head_check() local
330 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
333 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
334 free_bytes < *need_bytes) { in xlog_grant_head_check()
339 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1052 int free_bytes; in xfs_log_space_wake() local
1061 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1062 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1070 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1071 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1192 int free_bytes; in xlog_space_left() local
1202 free_bytes = log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()
1207 free_bytes = tail_bytes - head_bytes; in xlog_space_left()
1222 free_bytes = log->l_logsize; in xlog_space_left()
1224 return free_bytes; in xlog_space_left()
1552 int free_bytes; in xlog_grant_push_ail() local
1559 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_ail()
1560 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_ail()