Home
last modified time | relevance | path

Searched refs:persistent_gnt_c (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/block/xen-blkback/
H A Dblkback.c175 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()
[all …]
H A Dcommon.h275 unsigned int persistent_gnt_c; member
H A Dxenbus.c326 BUG_ON(ring->persistent_gnt_c != 0); in xen_blkif_disconnect()