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()
1150 int free_bytes; in xfs_log_space_wake() local
1159 free_bytes = xlog_space_left(log, &log->l_write_head.grant); in xfs_log_space_wake()
1160 xlog_grant_head_wake(log, &log->l_write_head, &free_bytes); in xfs_log_space_wake()
1168 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xfs_log_space_wake()
1169 xlog_grant_head_wake(log, &log->l_reserve_head, &free_bytes); in xfs_log_space_wake()
1696 int free_bytes; in xlog_grant_push_threshold() local
1703 free_bytes = xlog_space_left(log, &log->l_reserve_head.grant); in xlog_grant_push_threshold()
1704 free_blocks = BTOBBT(free_bytes); in xlog_grant_push_threshold()