/linux-6.6.21/tools/testing/selftests/bpf/progs/ |
D | cgrp_kfunc_failure.c | 20 static struct __cgrps_kfunc_map_value *insert_lookup_cgrp(struct cgroup *cgrp) in insert_lookup_cgrp() 33 int BPF_PROG(cgrp_kfunc_acquire_untrusted, struct cgroup *cgrp, const char *path) in BPF_PROG() 52 int BPF_PROG(cgrp_kfunc_acquire_no_null_check, struct cgroup *cgrp, const char *path) in BPF_PROG() 68 int BPF_PROG(cgrp_kfunc_acquire_fp, struct cgroup *cgrp, const char *path) in BPF_PROG() 82 int BPF_PROG(cgrp_kfunc_acquire_unsafe_kretprobe, struct cgroup *cgrp) in BPF_PROG() 96 int BPF_PROG(cgrp_kfunc_acquire_trusted_walked, struct cgroup *cgrp, const char *path) in BPF_PROG() 110 int BPF_PROG(cgrp_kfunc_acquire_null, struct cgroup *cgrp, const char *path) in BPF_PROG() 124 int BPF_PROG(cgrp_kfunc_acquire_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() 138 int BPF_PROG(cgrp_kfunc_xchg_unreleased, struct cgroup *cgrp, const char *path) in BPF_PROG() 158 int BPF_PROG(cgrp_kfunc_rcu_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() [all …]
|
D | cgrp_kfunc_success.c | 33 int BPF_PROG(test_cgrp_acquire_release_argument, struct cgroup *cgrp, const char *path) in BPF_PROG() 50 int BPF_PROG(test_cgrp_acquire_leave_in_map, struct cgroup *cgrp, const char *path) in BPF_PROG() 65 int BPF_PROG(test_cgrp_xchg_release, struct cgroup *cgrp, const char *path) in BPF_PROG() 108 int BPF_PROG(test_cgrp_get_release, struct cgroup *cgrp, const char *path) in BPF_PROG() 139 int BPF_PROG(test_cgrp_get_ancestors, struct cgroup *cgrp, const char *path) in BPF_PROG() 184 int BPF_PROG(test_cgrp_from_id, struct cgroup *cgrp, const char *path) in BPF_PROG()
|
D | cgrp_kfunc_common.h | 13 struct cgroup __kptr * cgrp; member 30 static inline struct __cgrps_kfunc_map_value *cgrps_kfunc_map_value_lookup(struct cgroup *cgrp) in cgrps_kfunc_map_value_lookup() 42 static inline int cgrps_kfunc_map_insert(struct cgroup *cgrp) in cgrps_kfunc_map_insert()
|
D | cgrp_ls_sleepable.c | 27 struct cgroup *cgrp = ctx->cgroup; in cgroup_iter() local 44 struct cgroup *cgrp; in no_rcu_lock() local 64 struct cgroup *cgrp; in yes_rcu_lock() local
|
D | cgroup_iter.c | 12 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() 21 struct cgroup *cgrp = ctx->cgroup; in cgroup_id_printer() local
|
D | cgroup_hierarchical_stats.c | 43 static uint64_t cgroup_id(struct cgroup *cgrp) in cgroup_id() 83 int BPF_PROG(flusher, struct cgroup *cgrp, struct cgroup *parent, int cpu) in BPF_PROG() 133 int BPF_PROG(dumper, struct bpf_iter_meta *meta, struct cgroup *cgrp) in BPF_PROG()
|
D | btf_type_tag_percpu.c | 46 int BPF_PROG(test_percpu_load, struct cgroup *cgrp, const char *path) in BPF_PROG() 53 int BPF_PROG(test_percpu_helper, struct cgroup *cgrp, const char *path) in BPF_PROG()
|
/linux-6.6.21/kernel/cgroup/ |
D | rstat.c | 15 static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu) in cgroup_rstat_cpu() 29 __bpf_kfunc void cgroup_rstat_updated(struct cgroup *cgrp, int cpu) in cgroup_rstat_updated() 166 __weak noinline void bpf_rstat_flush(struct cgroup *cgrp, in bpf_rstat_flush() 174 static void cgroup_rstat_flush_locked(struct cgroup *cgrp) in cgroup_rstat_flush_locked() 233 __bpf_kfunc void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush() 251 void cgroup_rstat_flush_hold(struct cgroup *cgrp) in cgroup_rstat_flush_hold() 268 int cgroup_rstat_init(struct cgroup *cgrp) in cgroup_rstat_init() 290 void cgroup_rstat_exit(struct cgroup *cgrp) in cgroup_rstat_exit() 343 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush() 383 cgroup_base_stat_cputime_account_begin(struct cgroup *cgrp, unsigned long *flags) 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 | 317 bool cgroup_on_dfl(const struct cgroup *cgrp) in cgroup_on_dfl() 353 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks() 358 static bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded() 364 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable() 375 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root() 397 static bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root() 419 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain() 437 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control() 458 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask() 485 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css() [all …]
|
D | cgroup-v1.c | 196 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() 277 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find() 298 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create() 326 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load() 397 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local 492 struct cgroup *cgrp; in __cgroup1_procs_write() local 547 struct cgroup *cgrp; in cgroup_release_agent_write() local 574 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local 701 struct cgroup *cgrp; in cgroupstats_build() local 750 void cgroup1_check_for_release(struct cgroup *cgrp) in cgroup1_check_for_release() [all …]
|
D | cgroup-internal.h | 27 #define TRACE_CGROUP_PATH(type, cgrp, ...) \ argument 96 struct cgroup *cgrp; member 184 static inline bool cgroup_is_dead(const struct cgroup *cgrp) in cgroup_is_dead() 189 static inline bool notify_on_release(const struct cgroup *cgrp) in notify_on_release()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | cgrp.c | 32 nvkm_cgrp_ectx_put(struct nvkm_cgrp *cgrp, struct nvkm_ectx **pectx) in nvkm_cgrp_ectx_put() 51 nvkm_cgrp_ectx_get(struct nvkm_cgrp *cgrp, struct nvkm_engn *engn, struct nvkm_ectx **pectx, in nvkm_cgrp_ectx_get() 93 nvkm_cgrp_vctx_put(struct nvkm_cgrp *cgrp, struct nvkm_vctx **pvctx) in nvkm_cgrp_vctx_put() 119 nvkm_cgrp_vctx_get(struct nvkm_cgrp *cgrp, struct nvkm_engn *engn, struct nvkm_chan *chan, in nvkm_cgrp_vctx_get() 174 struct nvkm_cgrp *cgrp = container_of(kref, typeof(*cgrp), kref); in nvkm_cgrp_del() local 188 struct nvkm_cgrp *cgrp = *pcgrp; in nvkm_cgrp_unref() local 198 nvkm_cgrp_ref(struct nvkm_cgrp *cgrp) in nvkm_cgrp_ref() 209 struct nvkm_cgrp *cgrp = *pcgrp; in nvkm_cgrp_put() local 222 struct nvkm_cgrp *cgrp; in nvkm_cgrp_new() local
|
D | gk110.c | 38 struct nvkm_cgrp *cgrp = chan->cgrp; in gk110_chan_preempt() local 61 gk110_cgrp_preempt(struct nvkm_cgrp *cgrp) in gk110_cgrp_preempt() 72 gk110_runl_insert_cgrp(struct nvkm_cgrp *cgrp, struct nvkm_memory *memory, u64 offset) in gk110_runl_insert_cgrp()
|
D | chan.c | 44 struct nvkm_cgrp *cgrp = chan->cgrp; in nvkm_chan_cctx_bind() local 96 struct nvkm_cgrp *cgrp = chan->cgrp; in nvkm_chan_cctx_get() local 166 struct nvkm_cgrp *cgrp = chan->cgrp; in nvkm_chan_remove_locked() local 198 struct nvkm_cgrp *cgrp = chan->cgrp; in nvkm_chan_insert() local 347 struct nvkm_cgrp *cgrp, const char *name, bool priv, u32 devm, struct nvkm_vmm *vmm, in nvkm_chan_new_()
|
D | runl.c | 36 struct nvkm_cgrp *cgrp = NULL; in nvkm_engn_cgrp_get() local 61 struct nvkm_cgrp *cgrp, *gtmp; in nvkm_runl_rc() local 145 nvkm_runl_rc_cgrp(struct nvkm_cgrp *cgrp) in nvkm_runl_rc_cgrp() 157 struct nvkm_cgrp *cgrp; in nvkm_runl_rc_engn() local 231 struct nvkm_cgrp *cgrp; in nvkm_runl_cgrp_get_cgid() local
|
D | ucgrp.c | 33 struct nvkm_cgrp *cgrp; member 40 struct nvkm_cgrp *cgrp = nvkm_ucgrp(oclass->parent)->cgrp; in nvkm_ucgrp_chan_new() local 48 struct nvkm_cgrp *cgrp = nvkm_ucgrp(object)->cgrp; in nvkm_ucgrp_sclass() local
|
/linux-6.6.21/include/linux/ |
D | cgroup.h | 325 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id() 350 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() 355 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() 360 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() 495 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() 513 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant() 532 static inline struct cgroup *cgroup_ancestor(struct cgroup *cgrp, in cgroup_ancestor() 558 static inline bool cgroup_is_populated(struct cgroup *cgrp) in cgroup_is_populated() 565 static inline ino_t cgroup_ino(struct cgroup *cgrp) in cgroup_ino() 594 static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_name() [all …]
|
D | psi.h | 35 static inline struct psi_group *cgroup_psi(struct cgroup *cgrp) in cgroup_psi() 54 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc() 58 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free()
|
/linux-6.6.21/kernel/bpf/ |
D | cgroup.c | 31 bpf_prog_run_array_cg(const struct cgroup_bpf *cgrp, in bpf_prog_run_array_cg() 71 struct cgroup *cgrp; in __cgroup_bpf_run_lsm_sock() local 93 struct cgroup *cgrp; in __cgroup_bpf_run_lsm_socket() local 114 struct cgroup *cgrp; in __cgroup_bpf_run_lsm_current() local 192 void cgroup_bpf_offline(struct cgroup *cgrp) in cgroup_bpf_offline() 210 struct cgroup *cgrp) in bpf_cgroup_storages_alloc() 250 struct cgroup *cgrp, in bpf_cgroup_storages_link() 277 struct cgroup *p, *cgrp = container_of(work, struct cgroup, in cgroup_bpf_release() local 334 struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); in cgroup_bpf_release_fn() local 372 static bool hierarchy_allows_attach(struct cgroup *cgrp, in hierarchy_allows_attach() [all …]
|
D | cgroup_iter.c | 165 struct cgroup *cgrp = aux->cgroup.start; in BTF_ID_LIST_GLOBAL_SINGLE() local 201 struct cgroup *cgrp; in bpf_iter_attach_cgroup() local
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_sockmap.c | 1376 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() 1409 static void test_exec(int cgrp, struct sockmap_options *opt) in test_exec() 1427 static void test_send_one(struct sockmap_options *opt, int cgrp) in test_send_one() 1446 static void test_send_many(struct sockmap_options *opt, int cgrp) in test_send_many() 1459 static void test_send_large(struct sockmap_options *opt, int cgrp) in test_send_large() 1467 static void test_send(struct sockmap_options *opt, int cgrp) in test_send() 1475 static void test_txmsg_pass(int cgrp, struct sockmap_options *opt) in test_txmsg_pass() 1482 static void test_txmsg_redir(int cgrp, struct sockmap_options *opt) in test_txmsg_redir() 1488 static void test_txmsg_redir_wait_sndmem(int cgrp, struct sockmap_options *opt) in test_txmsg_redir_wait_sndmem() 1496 static void test_txmsg_drop(int cgrp, struct sockmap_options *opt) in test_txmsg_drop() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | cgroup.c | 51 int read_cgroup_id(struct cgroup *cgrp) in read_cgroup_id() 148 struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); in add_cgroup() local 179 void cgroup__put(struct cgroup *cgrp) in cgroup__put() 356 struct cgroup *cgrp = NULL; in parse_cgroups() local 414 struct cgroup *cgrp = NULL; in evlist__expand_cgroup() local 516 struct cgroup *cgrp; in __cgroup__findnew() local 557 struct cgroup *cgrp; in cgroup__findnew() local 567 struct cgroup *cgrp; in cgroup__find() local 578 struct cgroup *cgrp; in perf_env__purge_cgroups() local
|
/linux-6.6.21/tools/perf/util/bpf_skel/ |
D | bperf_cgroup.bpf.c | 65 static inline __u64 get_cgroup_v1_ancestor_id(struct cgroup *cgrp, int level) in get_cgroup_v1_ancestor_id() 83 struct cgroup *cgrp; in get_cgroup_v1_idx() local 153 __u32 key, cgrp; in bperf_cgroup_count() local
|
/linux-6.6.21/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
|