/Linux-v5.10/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() 141 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep) in cgroup_rstat_flush_locked() 191 void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush() 206 void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp) in cgroup_rstat_flush_irqsafe() 224 void cgroup_rstat_flush_hold(struct cgroup *cgrp) in cgroup_rstat_flush_hold() 241 int cgroup_rstat_init(struct cgroup *cgrp) in cgroup_rstat_init() 263 void cgroup_rstat_exit(struct cgroup *cgrp) in cgroup_rstat_exit() 312 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush() 341 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() 260 void cgroup_freeze(struct cgroup *cgrp, bool freeze) in cgroup_freeze()
|
D | cgroup.c | 291 bool cgroup_on_dfl(const struct cgroup *cgrp) in cgroup_on_dfl() 327 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks() 332 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded() 338 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable() 349 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root() 371 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root() 393 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain() 411 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control() 432 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask() 459 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css() [all …]
|
D | cgroup-v1.c | 195 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() 276 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find() 297 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create() 325 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load() 396 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local 490 struct cgroup *cgrp; in __cgroup1_procs_write() local 544 struct cgroup *cgrp; in cgroup_release_agent_write() local 561 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local 689 struct cgroup *cgrp; in cgroupstats_build() local 741 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.10/include/linux/ |
D | cgroup.h | 310 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() 420 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() 425 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() 430 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() 553 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() 571 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() 590 static inline struct cgroup *cgroup_ancestor(struct cgroup *cgrp, in cgroup_ancestor() 618 static inline bool cgroup_is_populated(struct cgroup *cgrp) in cgroup_is_populated() 625 static inline ino_t cgroup_ino(struct cgroup *cgrp) in cgroup_ino() 654 static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_name() [all …]
|
D | psi.h | 50 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc() 54 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free()
|
D | bpf-cgroup.h | 385 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() 386 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline()
|
/Linux-v5.10/kernel/bpf/ |
D | cgroup.c | 25 void cgroup_bpf_offline(struct cgroup *cgrp) in cgroup_bpf_offline() 43 struct cgroup *cgrp) in bpf_cgroup_storages_alloc() 83 struct cgroup *cgrp, in bpf_cgroup_storages_link() 110 struct cgroup *p, *cgrp = container_of(work, struct cgroup, in cgroup_bpf_release() local 160 struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); in cgroup_bpf_release_fn() local 198 static bool hierarchy_allows_attach(struct cgroup *cgrp, in hierarchy_allows_attach() 227 static int compute_effective_progs(struct cgroup *cgrp, in compute_effective_progs() 271 static void activate_effective_progs(struct cgroup *cgrp, in activate_effective_progs() 287 int cgroup_bpf_inherit(struct cgroup *cgrp) in cgroup_bpf_inherit() 330 static int update_effective_progs(struct cgroup *cgrp, in update_effective_progs() [all …]
|
D | helpers.c | 344 struct cgroup *cgrp = task_dfl_cgroup(current); in BPF_CALL_0() local 357 struct cgroup *cgrp = task_dfl_cgroup(current); in BPF_CALL_1() local
|
/Linux-v5.10/tools/perf/util/ |
D | cgroup.c | 93 struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); in add_cgroup() local 124 void cgroup__put(struct cgroup *cgrp) in cgroup__put() 157 struct cgroup *cgrp = NULL; in parse_cgroups() local 210 struct cgroup *cgrp = NULL; in evlist__expand_cgroup() local 306 struct cgroup *cgrp; in __cgroup__findnew() local 347 struct cgroup *cgrp; in cgroup__findnew() local 357 struct cgroup *cgrp; in cgroup__find() local 368 struct cgroup *cgrp; in perf_env__purge_cgroups() local
|
D | evsel.h | 66 struct cgroup *cgrp; member
|
D | metricgroup.c | 1162 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events()
|
D | python.c | 75 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events()
|
/Linux-v5.10/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 1322 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() 1355 static void test_exec(int cgrp, struct sockmap_options *opt) in test_exec() 1373 static void test_send_one(struct sockmap_options *opt, int cgrp) in test_send_one() 1392 static void test_send_many(struct sockmap_options *opt, int cgrp) in test_send_many() 1405 static void test_send_large(struct sockmap_options *opt, int cgrp) in test_send_large() 1413 static void test_send(struct sockmap_options *opt, int cgrp) in test_send() 1421 static void test_txmsg_pass(int cgrp, struct sockmap_options *opt) in test_txmsg_pass() 1428 static void test_txmsg_redir(int cgrp, struct sockmap_options *opt) in test_txmsg_redir() 1434 static void test_txmsg_drop(int cgrp, struct sockmap_options *opt) in test_txmsg_drop() 1440 static void test_txmsg_ingress_redir(int cgrp, struct sockmap_options *opt) in test_txmsg_ingress_redir() [all …]
|
/Linux-v5.10/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.10/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.10/include/linux/sched/ |
D | task.h | 34 struct cgroup *cgrp; member
|
/Linux-v5.10/kernel/events/ |
D | core.c | 720 static inline void __update_cgrp_time(struct perf_cgroup *cgrp) in __update_cgrp_time() 735 struct perf_cgroup *cgrp = cpuctx->cgrp; in update_cgrp_time_from_cpuctx() local 748 struct perf_cgroup *cgrp; in update_cgrp_time_from_event() local 769 struct perf_cgroup *cgrp; in perf_cgroup_set_timestamp() local 946 struct perf_cgroup *cgrp; in perf_cgroup_connect() local 1011 struct perf_cgroup *cgrp = perf_cgroup_from_task(current, ctx); in perf_cgroup_event_enable() local 1717 struct cgroup *cgrp) in perf_event_groups_first() 2796 struct perf_cgroup *cgrp = perf_cgroup_from_task(current, ctx); in __perf_install_in_context() local 7137 struct cgroup *cgrp; in perf_prepare_sample() local 7873 static void perf_event_cgroup(struct cgroup *cgrp) in perf_event_cgroup()
|