Home
last modified time | relevance | path

Searched refs:memcg_path (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/include/trace/events/
Dmmap_lock.h18 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write),
20 TP_ARGS(mm, memcg_path, write),
24 __string(memcg_path, memcg_path)
30 __assign_str(memcg_path, memcg_path);
37 __get_str(memcg_path),
44 TP_PROTO(struct mm_struct *mm, const char *memcg_path, \
46 TP_ARGS(mm, memcg_path, write), \
54 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write,
57 TP_ARGS(mm, memcg_path, write, success),
61 __string(memcg_path, memcg_path)
[all …]
/linux-6.6.21/mm/
Dmmap_lock.c43 struct memcg_path { struct
48 static DEFINE_PER_CPU(struct memcg_path, memcg_paths) = { argument
58 struct memcg_path *memcg_path; in free_memcg_path_bufs() local
63 memcg_path = per_cpu_ptr(&memcg_paths, cpu); in free_memcg_path_bufs()
64 *(old++) = rcu_dereference_protected(memcg_path->buf, in free_memcg_path_bufs()
66 rcu_assign_pointer(memcg_path->buf, NULL); in free_memcg_path_bufs()
135 struct memcg_path *memcg_path = this_cpu_ptr(&memcg_paths); in get_memcg_path_buf() local
140 buf = rcu_dereference(memcg_path->buf); in get_memcg_path_buf()
145 idx = local_add_return(MEMCG_PATH_BUF_SIZE, &memcg_path->buf_idx) - in get_memcg_path_buf()
158 const char *memcg_path; \
[all …]
/linux-6.6.21/mm/damon/
Dsysfs-schemes.c287 char *memcg_path; member
365 filter->memcg_path ? filter->memcg_path : ""); in memcg_path_show()
379 filter->memcg_path = path; in memcg_path_store()
445 kfree(filter->memcg_path); in damon_sysfs_scheme_filter_release()
456 __ATTR_RW_MODE(memcg_path, 0600);
1507 static int damon_sysfs_memcg_path_to_id(char *memcg_path, unsigned short *id) in damon_sysfs_memcg_path_to_id() argument
1513 if (!memcg_path) in damon_sysfs_memcg_path_to_id()
1525 if (damon_sysfs_memcg_path_eq(memcg, path, memcg_path)) { in damon_sysfs_memcg_path_to_id()
1557 sysfs_filter->memcg_path, in damon_sysfs_set_scheme_filters()
/linux-6.6.21/Documentation/admin-guide/mm/
Dmultigen_lru.rst111 memcg memcg_id memcg_path
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-kernel-mm-damon279 What: /sys/kernel/mm/damon/admin/kdamonds/<K>/contexts/<C>/schemes/<S>/filters/<F>/memcg_path
311 pages that do or do not match to the 'type' and 'memcg_path',
/linux-6.6.21/Documentation/admin-guide/mm/damon/
Dusage.rst367 ``memcg_path``, ``addr_start``, ``addr_end``, and ``target_idx``. To ``type``
373 cgroups mount point to ``memcg_path`` file. In case of the address range
391 echo /having_care_already > 1/memcg_path