Home
last modified time | relevance | path

Searched defs:cgrp (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/kernel/cgroup/
Drstat.c15 static struct cgroup_rstat_cpu *cgroup_rstat_cpu(struct cgroup *cgrp, int cpu) in cgroup_rstat_cpu()
29 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, bool may_sleep) in cgroup_rstat_flush_locked()
234 void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush()
249 void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp) in cgroup_rstat_flush_irqsafe()
267 void cgroup_rstat_flush_hold(struct cgroup *cgrp) in cgroup_rstat_flush_hold()
284 int cgroup_rstat_init(struct cgroup *cgrp) in cgroup_rstat_init()
306 void cgroup_rstat_exit(struct cgroup *cgrp) in cgroup_rstat_exit()
359 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush()
[all …]
Dfreezer.c14 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()
Dcgroup.c312 bool cgroup_on_dfl(const struct cgroup *cgrp) in cgroup_on_dfl()
348 static bool cgroup_has_tasks(struct cgroup *cgrp) in cgroup_has_tasks()
353 bool cgroup_is_threaded(struct cgroup *cgrp) in cgroup_is_threaded()
359 static bool cgroup_is_mixable(struct cgroup *cgrp) in cgroup_is_mixable()
370 static bool cgroup_can_be_thread_root(struct cgroup *cgrp) in cgroup_can_be_thread_root()
392 bool cgroup_is_thread_root(struct cgroup *cgrp) in cgroup_is_thread_root()
414 static bool cgroup_is_valid_domain(struct cgroup *cgrp) in cgroup_is_valid_domain()
432 static u16 cgroup_control(struct cgroup *cgrp) in cgroup_control()
453 static u16 cgroup_ss_mask(struct cgroup *cgrp) in cgroup_ss_mask()
480 static struct cgroup_subsys_state *cgroup_css(struct cgroup *cgrp, in cgroup_css()
[all …]
Dcgroup-v1.c196 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()
398 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local
493 struct cgroup *cgrp; in __cgroup1_procs_write() local
548 struct cgroup *cgrp; in cgroup_release_agent_write() local
575 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local
702 struct cgroup *cgrp; in cgroupstats_build() local
751 void cgroup1_check_for_release(struct cgroup *cgrp) in cgroup1_check_for_release()
[all …]
Dcgroup-internal.h27 #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()
Ddebug.c206 struct cgroup *cgrp; in cgroup_subsys_states_read() local
258 struct cgroup *cgrp; in cgroup_masks_read() local
/linux-6.1.9/include/linux/
Dcgroup.h313 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id()
423 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get()
428 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget()
433 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put()
568 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent()
586 static inline bool cgroup_is_descendant(struct cgroup *cgrp, in cgroup_is_descendant()
605 static inline struct cgroup *cgroup_ancestor(struct cgroup *cgrp, in cgroup_ancestor()
631 static inline bool cgroup_is_populated(struct cgroup *cgrp) in cgroup_is_populated()
638 static inline ino_t cgroup_ino(struct cgroup *cgrp) in cgroup_ino()
667 static inline int cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) in cgroup_name()
[all …]
Dpsi.h34 static inline struct psi_group *cgroup_psi(struct cgroup *cgrp) in cgroup_psi()
53 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc()
57 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free()
Dbpf-cgroup.h180 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in cgroup_bpf_sock_enabled() local
424 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit()
425 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline()
/linux-6.1.9/kernel/bpf/
Dcgroup.c31 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 …]
Dcgroup_iter.c165 struct cgroup *cgrp = aux->cgroup.start; in BTF_ID_LIST_SINGLE() local
201 struct cgroup *cgrp; in bpf_iter_attach_cgroup() local
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_sockmap.c1376 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.1.9/tools/perf/util/
Dcgroup.c51 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
517 struct cgroup *cgrp; in __cgroup__findnew() local
558 struct cgroup *cgrp; in cgroup__findnew() local
568 struct cgroup *cgrp; in cgroup__find() local
579 struct cgroup *cgrp; in perf_env__purge_cgroups() local
Dbpf_counter_cgroup.c48 struct cgroup *cgrp, *leader_cgrp; in bperf_load_program() local
/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dcgroup_iter.c12 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id()
21 struct cgroup *cgrp = ctx->cgroup; in cgroup_id_printer() local
Dcgroup_hierarchical_stats.c43 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()
Dbtf_type_tag_percpu.c46 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.1.9/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c65 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.1.9/net/netfilter/
Dxt_cgroup.c39 struct cgroup *cgrp; in cgroup_mt_check_v1() local
71 struct cgroup *cgrp; in cgroup_mt_check_v2() local
/linux-6.1.9/block/
Dblk-cgroup-fc-appid.c13 struct cgroup *cgrp; in blkcg_set_fc_appid() local
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dgk110.c33 gk110_fifo_runlist_cgrp(struct nvkm_fifo_cgrp *cgrp, in gk110_fifo_runlist_cgrp()
Dgv100.c46 gv100_fifo_runlist_cgrp(struct nvkm_fifo_cgrp *cgrp, in gv100_fifo_runlist_cgrp()
Dgk104.c172 struct nvkm_fifo_cgrp *cgrp; in gk104_fifo_runlist_update() local
199 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_runlist_remove() local
212 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_runlist_insert() local
347 struct nvkm_fifo_cgrp *cgrp; in gk104_fifo_recover_chid() local
Dchangk104.h13 struct nvkm_fifo_cgrp *cgrp; member
Dgk104.h35 struct list_head cgrp; member
69 void (*cgrp)(struct nvkm_fifo_cgrp *, member

12