Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/xen-blkback/
H A Dblkback.c81 static int max_pgrants = 1056; variable
82 module_param_named(max_persistent_grants, max_pgrants, int, 0644);
175 if (ring->persistent_gnt_c >= max_pgrants) { in add_persistent_gnt()
345 if (ring->persistent_gnt_c < max_pgrants || in purge_persistent_gnt()
346 (ring->persistent_gnt_c == max_pgrants && in purge_persistent_gnt()
350 num_clean = (max_pgrants / 100) * LRU_PERCENT_CLEAN; in purge_persistent_gnt()
351 num_clean = ring->persistent_gnt_c - max_pgrants + num_clean; 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()
871 max_pgrants); in xen_blkbk_map()