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