Home
last modified time | relevance | path

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

/mm/damon/
Ddbgfs.c368 unsigned long *targets; in dbgfs_target_ids_write() local
383 targets = str_to_target_ids(kbuf, count, &nr_targets); in dbgfs_target_ids_write()
384 if (!targets) { in dbgfs_target_ids_write()
391 targets[i] = (unsigned long)find_get_pid( in dbgfs_target_ids_write()
392 (int)targets[i]); in dbgfs_target_ids_write()
393 if (!targets[i]) { in dbgfs_target_ids_write()
394 dbgfs_put_pids(targets, i); in dbgfs_target_ids_write()
404 dbgfs_put_pids(targets, nr_targets); in dbgfs_target_ids_write()
422 ret = damon_set_targets(ctx, targets, nr_targets); in dbgfs_target_ids_write()
425 dbgfs_put_pids(targets, nr_targets); in dbgfs_target_ids_write()
[all …]
/mm/
Dvmscan.c2534 unsigned long targets[NR_LRU_LISTS]; in shrink_lruvec() local
2545 memcpy(targets, nr, sizeof(nr)); in shrink_lruvec()
2602 unsigned long scan_target = targets[LRU_INACTIVE_ANON] + in shrink_lruvec()
2603 targets[LRU_ACTIVE_ANON] + 1; in shrink_lruvec()
2607 unsigned long scan_target = targets[LRU_INACTIVE_FILE] + in shrink_lruvec()
2608 targets[LRU_ACTIVE_FILE] + 1; in shrink_lruvec()
2622 nr_scanned = targets[lru] - nr[lru]; in shrink_lruvec()
2623 nr[lru] = targets[lru] * (100 - percentage) / 100; in shrink_lruvec()
2627 nr_scanned = targets[lru] - nr[lru]; in shrink_lruvec()
2628 nr[lru] = targets[lru] * (100 - percentage) / 100; in shrink_lruvec()
Dmemcontrol.c965 next = __this_cpu_read(memcg->vmstats_percpu->targets[target]); in mem_cgroup_event_ratelimit()
978 __this_cpu_write(memcg->vmstats_percpu->targets[target], next); in mem_cgroup_event_ratelimit()