Lines Matching refs:memcg_path
43 struct memcg_path {
48 static DEFINE_PER_CPU(struct memcg_path, memcg_paths) = {
58 struct memcg_path *memcg_path;
63 memcg_path = per_cpu_ptr(&memcg_paths, cpu);
64 *(old++) = rcu_dereference_protected(memcg_path->buf,
66 rcu_assign_pointer(memcg_path->buf, NULL);
135 struct memcg_path *memcg_path = this_cpu_ptr(&memcg_paths);
140 buf = rcu_dereference(memcg_path->buf);
145 idx = local_add_return(MEMCG_PATH_BUF_SIZE, &memcg_path->buf_idx) -
158 const char *memcg_path; \
160 memcg_path = get_mm_memcg_path(mm); \
162 memcg_path != NULL ? memcg_path : "", \
164 if (likely(memcg_path != NULL)) \