Lines Matching refs:need_bytes
60 int need_bytes);
194 int need_bytes;
220 need_bytes = xlog_ticket_reservation(log, head, tic);
221 if (*free_bytes < need_bytes) {
223 xlog_grant_push_ail(log, need_bytes);
227 *free_bytes -= need_bytes;
241 int need_bytes) __releases(&head->lock)
249 xlog_grant_push_ail(log, need_bytes);
263 } while (xlog_space_left(log, &head->grant) < need_bytes);
294 int *need_bytes)
307 *need_bytes = xlog_ticket_reservation(log, head, tic);
312 free_bytes < *need_bytes) {
314 *need_bytes);
317 } else if (free_bytes < *need_bytes) {
319 error = xlog_grant_head_wait(log, head, tic, *need_bytes);
378 int need_bytes;
405 &need_bytes);
409 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
444 int need_bytes;
464 &need_bytes);
468 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes);
469 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
1502 int need_bytes)
1512 ASSERT(BTOBB(need_bytes) < log->l_logBBsize);
1522 free_threshold = BTOBB(need_bytes);
1559 int need_bytes)
1563 threshold_lsn = xlog_grant_push_threshold(log, need_bytes);