Searched refs:nr_to_scan (Results 1 – 1 of 1) sorted by relevance
427 rpcauth_prune_expired(struct list_head *free, int nr_to_scan) in rpcauth_prune_expired() argument435 if (nr_to_scan-- == 0) in rpcauth_prune_expired()458 rpcauth_cache_do_shrink(int nr_to_scan) in rpcauth_cache_do_shrink() argument464 freed = rpcauth_prune_expired(&free, nr_to_scan); in rpcauth_cache_do_shrink()485 return rpcauth_cache_do_shrink(sc->nr_to_scan); in rpcauth_cache_shrink_scan()499 unsigned int nr_to_scan; in rpcauth_cache_enforce_limit() local504 nr_to_scan = 100; in rpcauth_cache_enforce_limit()505 if (diff < nr_to_scan) in rpcauth_cache_enforce_limit()506 nr_to_scan = diff; in rpcauth_cache_enforce_limit()507 rpcauth_cache_do_shrink(nr_to_scan); in rpcauth_cache_enforce_limit()