Lines Matching refs:debit
496 balloon_dec_reservation(ulong_t debit) in balloon_dec_reservation() argument
506 if (debit > FRAME_ARRAY_SIZE) { in balloon_dec_reservation()
507 debit = FRAME_ARRAY_SIZE; in balloon_dec_reservation()
509 request = debit; in balloon_dec_reservation()
524 for (i = 0; i < debit; i++) { in balloon_dec_reservation()
536 debit = i; in balloon_dec_reservation()
547 if (debit == 0) { in balloon_dec_reservation()
558 for (i = 0; i < debit; i++) { in balloon_dec_reservation()
566 locked = balloon_lock_contig_pfnlist(debit); in balloon_dec_reservation()
567 for (i = 0; i < debit; i++) { in balloon_dec_reservation()
573 rv = balloon_free_pages(debit, mfn_frames, NULL, NULL); in balloon_dec_reservation()
577 "failed - up to %lu pages lost (error = %ld)", debit, rv); in balloon_dec_reservation()
579 } else if (rv != debit) { in balloon_dec_reservation()
585 if (debit != request) in balloon_dec_reservation()
586 page_unresv(request - debit); in balloon_dec_reservation()