Home
last modified time | relevance | path

Searched refs:memcg_id (Results 1 – 4 of 4) sorted by relevance

/linux/mm/
H A Dswap_state.c152 * @memcg_id: Returns the memory cgroup id, NULL to ignore cgroup check
155 * Retrieves the shadow if there is one. If @memcg_id is not NULL, also
165 unsigned short *memcg_id) in __swap_cache_add_check()
188 if (memcg_id) in __swap_cache_add_check()
189 *memcg_id = __swap_cgroup_get(ci, ci_off); in __swap_cache_add_check()
202 (memcg_id && *memcg_id != __swap_cgroup_get(ci, ci_off))))
418 unsigned short memcg_id; in __swap_cache_alloc()
450 err = __swap_cache_add_check(ci, targ_entry, nr_pages, &shadow, &memcg_id); in __swap_cache_alloc()
462 if (mem_cgroup_swapin_charge_folio(folio, memcg_id, in __swap_cache_alloc()
159 __swap_cache_add_check(struct swap_cluster_info * ci,swp_entry_t targ_entry,unsigned long nr,void ** shadowp,unsigned short * memcg_id) __swap_cache_add_check() argument
412 unsigned short memcg_id; __swap_cache_alloc() local
[all...]
/linux/Documentation/admin-guide/mm/
H A Dmultigen_lru.rst111 memcg memcg_id memcg_path
125 ``+ memcg_id node_id max_gen_nr [can_swap [force_scan]]``
149 ``- memcg_id node_id min_gen_nr [swappiness [nr_to_reclaim]]``
/linux/tools/testing/selftests/damon/
H A Ddrgn_dump_damon_status.py159 dict_['memcg_id'] = int(damos_filter.memcg_id)
/linux/fs/
H A Dfs-writeback.c1162 int cgroup_writeback_by_id(u64 bdi_id, int memcg_id, in cgroup_writeback_by_id() argument
1178 memcg_css = css_from_id(memcg_id, &memory_cgrp_subsys); in cgroup_writeback_by_id()