Searched refs:item (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | vmstat.c | 40 int item, cpu; in zero_zone_numa_counters() local 42 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) { in zero_zone_numa_counters() 43 atomic_long_set(&zone->vm_numa_event[item], 0); in zero_zone_numa_counters() 45 per_cpu_ptr(zone->per_cpu_zonestats, cpu)->vm_numa_event[item] in zero_zone_numa_counters() 63 int item; in zero_global_numa_counters() local 65 for (item = 0; item < NR_VM_NUMA_EVENT_ITEMS; item++) in zero_global_numa_counters() 66 atomic_long_set(&vm_numa_event[item], 0); in zero_global_numa_counters() 314 void __mod_zone_page_state(struct zone *zone, enum zone_stat_item item, in __mod_zone_page_state() argument 318 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state() 337 zone_page_state_add(x, zone, item); in __mod_zone_page_state() [all …]
|
D | list_lru.c | 115 bool list_lru_add(struct list_lru *lru, struct list_head *item) in list_lru_add() argument 117 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() 123 if (list_empty(item)) { in list_lru_add() 124 l = list_lru_from_kmem(nlru, item, &memcg); in list_lru_add() 125 list_add_tail(item, &l->list); in list_lru_add() 139 bool list_lru_del(struct list_lru *lru, struct list_head *item) in list_lru_del() argument 141 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() 146 if (!list_empty(item)) { in list_lru_del() 147 l = list_lru_from_kmem(nlru, item, NULL); in list_lru_del() 148 list_del_init(item); in list_lru_del() [all …]
|
D | workingset.c | 624 static enum lru_status shadow_lru_isolate(struct list_head *item, in shadow_lru_isolate() argument 629 struct xa_node *node = container_of(item, struct xa_node, private_list); in shadow_lru_isolate() 654 list_lru_isolate(lru, item); in shadow_lru_isolate()
|
D | vmscan.c | 2269 enum vm_event_item item; in shrink_inactive_list() local 2294 item = current_is_kswapd() ? PGSCAN_KSWAPD : PGSCAN_DIRECT; in shrink_inactive_list() 2296 __count_vm_events(item, nr_scanned); in shrink_inactive_list() 2297 __count_memcg_events(lruvec_memcg(lruvec), item, nr_scanned); in shrink_inactive_list() 2312 item = current_is_kswapd() ? PGSTEAL_KSWAPD : PGSTEAL_DIRECT; in shrink_inactive_list() 2314 __count_vm_events(item, nr_reclaimed); in shrink_inactive_list() 2315 __count_memcg_events(lruvec_memcg(lruvec), item, nr_reclaimed); in shrink_inactive_list() 3168 static void get_item_key(void *item, int *key) in get_item_key() argument 3170 u32 hash = hash_ptr(item, BLOOM_FILTER_SHIFT * 2); in get_item_key() 3194 static void update_bloom_filter(struct lruvec *lruvec, unsigned long seq, void *item) in update_bloom_filter() argument [all …]
|
D | compaction.c | 29 static inline void count_compact_event(enum vm_event_item item) in count_compact_event() argument 31 count_vm_event(item); in count_compact_event() 34 static inline void count_compact_events(enum vm_event_item item, long delta) in count_compact_events() argument 36 count_vm_events(item, delta); in count_compact_events() 39 #define count_compact_event(item) do { } while (0) argument 40 #define count_compact_events(item, delta) do { } while (0) argument
|
D | memcontrol.c | 1471 static int memcg_page_state_unit(int item) in memcg_page_state_unit() argument 1473 switch (item) { in memcg_page_state_unit() 1493 int item) in memcg_page_state_output() argument 1495 return memcg_page_state(memcg, item) * memcg_page_state_unit(item); in memcg_page_state_output() 6489 int item) in lruvec_page_state_output() argument 6491 return lruvec_page_state(lruvec, item) * memcg_page_state_unit(item); in lruvec_page_state_output()
|
D | shmem.c | 416 void *item; in shmem_replace_entry() local 420 item = xas_load(&xas); in shmem_replace_entry() 421 if (item != expected) in shmem_replace_entry()
|