Lines Matching refs:persistent_gnt_c
175 if (ring->persistent_gnt_c >= max_pgrants) { in add_persistent_gnt()
200 ring->persistent_gnt_c++; in add_persistent_gnt()
283 ring->persistent_gnt_c--; in free_persistent_gnts()
287 BUG_ON(ring->persistent_gnt_c != 0); in free_persistent_gnts()
345 if (ring->persistent_gnt_c < max_pgrants || in purge_persistent_gnt()
346 (ring->persistent_gnt_c == max_pgrants && in purge_persistent_gnt()
351 num_clean = ring->persistent_gnt_c - max_pgrants + num_clean; in purge_persistent_gnt()
352 num_clean = min(ring->persistent_gnt_c, num_clean); in purge_persistent_gnt()
399 ring->persistent_gnt_c -= total; in purge_persistent_gnt()
546 ring->persistent_gnt_c, max_pgrants); in print_stats()
844 ring->persistent_gnt_c < max_pgrants) { in xen_blkbk_map()
870 persistent_gnt->gnt, ring->persistent_gnt_c, in xen_blkbk_map()