Searched refs:nr_to_scan (Results 1 - 7 of 7) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/mm/
H A Dvmscan.c611 * @nr_to_scan: The number of pages to look through on the list.
618 static unsigned long isolate_lru_pages(unsigned long nr_to_scan, argument
626 for (scan = 0; scan < nr_to_scan && !list_empty(src); scan++) {
909 unsigned long nr_to_scan; local
915 * Add one to `nr_to_scan' just to make sure that the kernel will
936 nr_to_scan = min(nr_active,
938 nr_active -= nr_to_scan;
939 shrink_active_list(nr_to_scan, zone, sc, priority);
943 nr_to_scan = min(nr_inactive,
945 nr_inactive -= nr_to_scan;
1383 unsigned long nr_to_scan, ret = 0; local
1483 unsigned long nr_to_scan = nr_pages - ret; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/
H A Dmbcache.c119 static int mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask);
191 * @nr_to_scan: Number of objects to scan
197 mb_cache_shrink_fn(int nr_to_scan, gfp_t gfp_mask) argument
211 mb_debug("trying to free %d entries", nr_to_scan);
212 if (nr_to_scan == 0) {
216 while (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {
H A Dinode.c382 static void prune_icache(int nr_to_scan) argument
391 for (nr_scanned = 0; nr_scanned < nr_to_scan; nr_scanned++) {
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/nfs/
H A Dinternal.h107 extern int nfs_access_cache_shrinker(int nr_to_scan, gfp_t gfp_mask);
H A Ddir.c1717 int nfs_access_cache_shrinker(int nr_to_scan, gfp_t gfp_mask) argument
1728 if (nr_to_scan-- == 0)
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dmm.h813 * These functions are passed a count `nr_to_scan' and a gfpmask. They should
814 * scan `nr_to_scan' objects, attempting to free them.
818 * The callback will be passed nr_to_scan == 0 when the VM is querying the
821 typedef int (*shrinker_t)(int nr_to_scan, gfp_t gfp_mask);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_qm.c2196 xfs_qm_shake(int nr_to_scan, gfp_t gfp_mask) argument

Completed in 107 milliseconds