Lines Matching refs:free_bytes
241 int *free_bytes) in xlog_grant_head_wake() argument
271 if (*free_bytes < need_bytes) { in xlog_grant_head_wake()
277 *free_bytes -= need_bytes; in xlog_grant_head_wake()
346 int free_bytes; in xlog_grant_head_check() local
358 free_bytes = xlog_space_left(log, &head->grant); in xlog_grant_head_check()
361 if (!xlog_grant_head_wake(log, head, &free_bytes) || in xlog_grant_head_check()
362 free_bytes < *need_bytes) { in xlog_grant_head_check()
367 } else if (free_bytes < *need_bytes) { in xlog_grant_head_check()
1143 int free_bytes; in xfs_log_space_wake() local
1152 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1153 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1161 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1162 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1689 int free_bytes; in xlog_grant_push_threshold() local
1696 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
1697 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_threshold()