/Linux-v5.4/kernel/cgroup/ |
D | rstat.c | 11 static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu) in cgroup_rstat_cpu() 25 void cgroup_rstat_updated(struct cgroup *cgrp, int cpu) in cgroup_rstat_updated() 152 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep) in cgroup_rstat_flush_locked() 202 void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush() 217 void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp) in cgroup_rstat_flush_irqsafe() 235 void cgroup_rstat_flush_hold(struct cgroup *cgrp) in cgroup_rstat_flush_hold() 252 int cgroup_rstat_init(struct cgroup *cgrp) in cgroup_rstat_init() 274 void cgroup_rstat_exit(struct cgroup *cgrp) in cgroup_rstat_exit() 315 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush() 348 cgroup_base_stat_cputime_account_begin(struct cgroup *cgrp) in cgroup_base_stat_cputime_account_begin() [all …]
|
D | freezer.c | 14 static void cgroup_propagate_frozen(struct cgroup *cgrp, bool frozen) in cgroup_propagate_frozen() 52 void cgroup_update_frozen(struct cgroup *cgrp) in cgroup_update_frozen() 89 static void cgroup_inc_frozen_cnt(struct cgroup *cgrp) in cgroup_inc_frozen_cnt() 97 static void cgroup_dec_frozen_cnt(struct cgroup *cgrp) in cgroup_dec_frozen_cnt() 109 struct cgroup *cgrp; in cgroup_enter_frozen() local 133 struct cgroup *cgrp; in cgroup_leave_frozen() local 177 static void cgroup_do_freeze(struct cgroup *cgrp, bool freeze) in cgroup_do_freeze() 251 void cgroup_freeze(struct cgroup *cgrp, bool freeze) in cgroup_freeze()
|
D | cgroup.c | 298 bool cgroup_on_dfl(const struct cgroup *cgrp) in cgroup_on_dfl() 334 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks() 339 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded() 345 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable() 356 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root() 378 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root() 400 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain() 418 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control() 439 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask() 466 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css() [all …]
|
D | cgroup-v1.c | 200 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() 281 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find() 302 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create() 330 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load() 401 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local 494 struct cgroup *cgrp; in __cgroup1_procs_write() local 547 struct cgroup *cgrp; in cgroup_release_agent_write() local 564 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local 692 struct cgroup *cgrp; in cgroupstats_build() local 744 void cgroup1_check_for_release(struct cgroup *cgrp) in cgroup1_check_for_release() [all …]
|
D | cgroup-internal.h | 28 #define TRACE_CGROUP_PATH(type, cgrp, ...) \ argument 78 struct cgroup *cgrp; member 168 static inline bool cgroup_is_dead(const struct cgroup *cgrp) in cgroup_is_dead() 173 static inline bool notify_on_release(const struct cgroup *cgrp) in notify_on_release()
|
D | debug.c | 206 struct cgroup *cgrp; in cgroup_subsys_states_read() local 258 struct cgroup *cgrp; in cgroup_masks_read() local
|
/Linux-v5.4/include/linux/ |
D | cgroup.h | 413 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() 418 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() 423 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() 546 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() 564 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() 583 static inline struct cgroup *cgroup_ancestor(struct cgroup *cgrp, in cgroup_ancestor() 611 static inline bool cgroup_is_populated(struct cgroup *cgrp) in cgroup_is_populated() 618 static inline ino_t cgroup_ino(struct cgroup *cgrp) in cgroup_ino() 647 static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_name() 652 static inline int cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_path() [all …]
|
D | psi.h | 48 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc() 52 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free()
|
D | bpf-cgroup.h | 339 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() 340 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline()
|
D | perf_event.h | 721 struct perf_cgroup *cgrp; /* cgroup event is attach to */ member 817 struct perf_cgroup *cgrp; member
|
D | cgroup-defs.h | 509 struct cgroup cgrp; member
|
/Linux-v5.4/kernel/bpf/ |
D | cgroup.c | 25 void cgroup_bpf_offline(struct cgroup *cgrp) in cgroup_bpf_offline() 38 struct cgroup *cgrp = container_of(work, struct cgroup, in cgroup_bpf_release() local 79 struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); in cgroup_bpf_release_fn() local 105 static bool hierarchy_allows_attach(struct cgroup *cgrp, in hierarchy_allows_attach() 135 static int compute_effective_progs(struct cgroup *cgrp, in compute_effective_progs() 179 static void activate_effective_progs(struct cgroup *cgrp, in activate_effective_progs() 195 int cgroup_bpf_inherit(struct cgroup *cgrp) in cgroup_bpf_inherit() 229 static int update_effective_progs(struct cgroup *cgrp, in update_effective_progs() 291 int __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_attach() 420 int __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, in __cgroup_bpf_detach() [all …]
|
D | helpers.c | 318 struct cgroup *cgrp = task_dfl_cgroup(current); in BPF_CALL_0() local
|
/Linux-v5.4/tools/perf/util/ |
D | cgroup.c | 144 struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); in add_cgroup() local 174 void cgroup__put(struct cgroup *cgrp) in cgroup__put() 207 struct cgroup *cgrp = NULL; in parse_cgroups() local
|
D | evsel.h | 60 struct cgroup *cgrp; member
|
/Linux-v5.4/net/netfilter/ |
D | xt_cgroup.c | 39 struct cgroup *cgrp; in cgroup_mt_check_v1() local 71 struct cgroup *cgrp; in cgroup_mt_check_v2() local
|
/Linux-v5.4/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 1150 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() 1180 static int test_exec(int cgrp, struct sockmap_options *opt) in test_exec() 1192 static int test_loop(int cgrp) in test_loop() 1223 static int test_txmsg(int cgrp) in test_txmsg() 1263 static int test_send(struct sockmap_options *opt, int cgrp) in test_send() 1313 static int test_mixed(int cgrp) in test_mixed() 1432 static int test_start_end(int cgrp) in test_start_end()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gk110.c | 33 gk110_fifo_runlist_cgrp(struct nvkm_fifo_cgrp *cgrp, in gk110_fifo_runlist_cgrp()
|
D | gv100.c | 46 gv100_fifo_runlist_cgrp(struct nvkm_fifo_cgrp *cgrp, in gv100_fifo_runlist_cgrp()
|
D | changk104.h | 13 struct nvkm_fifo_cgrp *cgrp; member
|
D | gk104.h | 35 struct list_head cgrp; member 68 void (*cgrp)(struct nvkm_fifo_cgrp *, member
|
D | gk104.c | 185 struct nvkm_fifo_cgrp *cgrp; in gk104_fifo_runlist_update() local 212 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_runlist_remove() local 225 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_runlist_insert() local 333 struct nvkm_fifo_cgrp *cgrp; in gk104_fifo_recover_chid() local
|
D | gpfifogk104.c | 44 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_gpfifo_kick_locked() local
|
/Linux-v5.4/kernel/events/ |
D | core.c | 713 static inline void __update_cgrp_time(struct perf_cgroup *cgrp) in __update_cgrp_time() 728 struct perf_cgroup *cgrp = cpuctx->cgrp; in update_cgrp_time_from_cpuctx() local 741 struct perf_cgroup *cgrp; in update_cgrp_time_from_event() local 762 struct perf_cgroup *cgrp; in perf_cgroup_set_timestamp() local 898 struct perf_cgroup *cgrp; in perf_cgroup_connect() local 965 struct perf_cgroup *cgrp = perf_cgroup_from_task(current, ctx); in list_update_cgroup_event() local 2621 struct perf_cgroup *cgrp = perf_cgroup_from_task(current, ctx); in __perf_install_in_context() local
|
/Linux-v5.4/kernel/trace/ |
D | bpf_trace.c | 568 struct cgroup *cgrp; in BPF_CALL_2() local
|