Home
last modified time | relevance | path

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

/Linux-v5.15/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),
46 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write,
49 TP_ARGS(mm, memcg_path, write, success),
53 __string(memcg_path, memcg_path)
60 __assign_str(memcg_path, memcg_path);
68 __get_str(memcg_path),
[all …]
/Linux-v5.15/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 …]