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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/linux-2.6/
H A Dxfs_sync.h53 int flags, int tag, int write_lock, int *nr_to_scan);
H A Dxfs_sync.c89 int *nr_to_scan)
128 } while ((*nr_to_scan)--);
180 int *nr_to_scan)
188 nr = nr_to_scan ? *nr_to_scan : INT_MAX;
202 if (nr_to_scan)
203 *nr_to_scan = nr;
886 int nr_to_scan,
895 if (nr_to_scan) {
900 XFS_ICI_RECLAIM_TAG, 1, &nr_to_scan);
81 xfs_inode_ag_walk( struct xfs_mount *mp, struct xfs_perag *pag, int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, int flags), int flags, int tag, int exclusive, int *nr_to_scan) argument
173 xfs_inode_ag_iterator( struct xfs_mount *mp, int (*execute)(struct xfs_inode *ip, struct xfs_perag *pag, int flags), int flags, int tag, int exclusive, int *nr_to_scan) argument
884 xfs_reclaim_inode_shrink( struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/
H A Dvmscan.c929 * @nr_to_scan: The number of pages to look through on the list.
939 static unsigned long isolate_lru_pages(unsigned long nr_to_scan, argument
949 for (scan = 0; scan < nr_to_scan && !list_empty(src); scan++) {
1039 nr_to_scan, scan,
1282 shrink_inactive_list(unsigned long nr_to_scan, struct zone *zone, argument
1306 nr_taken = isolate_pages_global(nr_to_scan,
1319 nr_taken = mem_cgroup_isolate_pages(nr_to_scan,
1586 static unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, argument
1593 shrink_active_list(nr_to_scan, zone, sc, priority, file);
1597 return shrink_inactive_list(nr_to_scan, zon
1604 nr_scan_try_batch(unsigned long nr_to_scan, unsigned long *nr_saved_scan) argument
1746 unsigned long nr_to_scan; local
2927 unsigned long nr_to_scan = zone_page_state(zone, NR_UNEVICTABLE); local
[all...]
H A Dmemcontrol.c965 unsigned long mem_cgroup_isolate_pages(unsigned long nr_to_scan, argument
990 if (scan >= nr_to_scan)
1018 trace_mm_vmscan_memcg_isolate(0, nr_to_scan, scan, nr_taken,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/
H A Dmbcache.c105 static int mb_cache_shrink_fn(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask);
171 * @nr_to_scan: Number of objects to scan
177 mb_cache_shrink_fn(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
184 mb_debug("trying to free %d entries", nr_to_scan);
186 while (nr_to_scan-- && !list_empty(&mb_cache_lru_list)) {
H A Dinode.c440 static void prune_icache(int nr_to_scan) argument
449 for (nr_scanned = 0; nr_scanned < nr_to_scan; nr_scanned++) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sunrpc/
H A Dauth.c290 rpcauth_prune_expired(struct list_head *free, int nr_to_scan) argument
298 if (nr_to_scan-- == 0)
329 rpcauth_cache_shrinker(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
335 return (nr_to_scan == 0) ? 0 : -1;
339 res = rpcauth_prune_expired(&free, nr_to_scan);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/nfs/
H A Dinternal.h203 int nr_to_scan, gfp_t gfp_mask);
H A Ddir.c1687 int nfs_access_cache_shrinker(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
1694 return (nr_to_scan == 0) ? 0 : -1;
1700 if (nr_to_scan-- == 0)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dmemcontrol.h28 extern unsigned long mem_cgroup_isolate_pages(unsigned long nr_to_scan,
H A Dmm.h996 * 'shrink' is passed a count 'nr_to_scan' and a 'gfpmask'. It should
997 * look through the least-recently-used 'nr_to_scan' entries and
1005 * Note that 'shrink' will be passed nr_to_scan == 0 when the VM is
1009 int (*shrink)(struct shrinker *, int nr_to_scan, gfp_t gfp_mask);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/i915/
H A Di915_gem.c4900 i915_gem_shrink(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
4908 if (nr_to_scan == 0) {
4945 if (--nr_to_scan <= 0)
4955 if (nr_to_scan <= 0)
4972 if (nr_to_scan > 0) {
4974 nr_to_scan--;
4985 if (nr_to_scan) {
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/
H A Dubifs.h1578 int ubifs_shrinker(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/x86/kvm/
H A Dmmu.c3115 static int mmu_shrink(struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument
3132 if (!kvm_freed && nr_to_scan > 0 && npages > 0) {
3138 nr_to_scan--;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/quota/
H A Dxfs_qm.c2110 int nr_to_scan,
2108 xfs_qm_shake( struct shrinker *shrink, int nr_to_scan, gfp_t gfp_mask) argument

Completed in 161 milliseconds