Lines Matching refs:free_bytes
224 int *free_bytes) in xlog_grant_head_wake() argument
231 if (*free_bytes < need_bytes) in xlog_grant_head_wake()
234 *free_bytes -= need_bytes; in xlog_grant_head_wake()
302 int free_bytes; in xlog_grant_head_check() local
314 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
317 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
318 free_bytes < *need_bytes) { in xlog_grant_head_check()
323 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1070 int free_bytes; in xfs_log_space_wake() local
1079 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1080 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1088 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1089 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1210 int free_bytes; in xlog_space_left() local
1220 free_bytes = log->l_logsize - (head_bytes - tail_bytes); in xlog_space_left()
1225 free_bytes = tail_bytes - head_bytes; in xlog_space_left()
1240 free_bytes = log->l_logsize; in xlog_space_left()
1242 return free_bytes; in xlog_space_left()
1637 int free_bytes; in xlog_grant_push_ail() local
1644 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_ail()
1645 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_ail()