Lines Matching refs:memcg_path
43 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; \
160 memcg_path = get_mm_memcg_path(mm); \
162 memcg_path != NULL ? memcg_path : "", \
164 if (likely(memcg_path != NULL)) \