Lines Matching refs:need_bytes
56 int need_bytes);
244 int need_bytes;
270 need_bytes = xlog_ticket_reservation(log, head, tic);
271 if (*free_bytes < need_bytes) {
273 xlog_grant_push_ail(log, need_bytes);
277 *free_bytes -= need_bytes;
291 int need_bytes) __releases(&head->lock)
299 xlog_grant_push_ail(log, need_bytes);
313 } while (xlog_space_left(log, &head->grant) < need_bytes);
344 int *need_bytes)
357 *need_bytes = xlog_ticket_reservation(log, head, tic);
362 free_bytes < *need_bytes) {
364 *need_bytes);
367 } else if (free_bytes < *need_bytes) {
369 error = xlog_grant_head_wait(log, head, tic, *need_bytes);
406 int need_bytes;
431 &need_bytes);
435 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
469 int need_bytes;
487 &need_bytes);
491 xlog_grant_add_space(log, &log->l_reserve_head.grant, need_bytes);
492 xlog_grant_add_space(log, &log->l_write_head.grant, need_bytes);
1684 int need_bytes)
1694 ASSERT(BTOBB(need_bytes) < log->l_logBBsize);
1704 free_threshold = BTOBB(need_bytes);
1741 int need_bytes)
1745 threshold_lsn = xlog_grant_push_threshold(log, need_bytes);