Home
last modified time | relevance | path

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

12

/Linux-v5.15/kernel/cgroup/
Drstat.c11 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()
148 static void cgroup_rstat_flush_locked(struct cgroup *cgrp, bool may_sleep) in cgroup_rstat_flush_locked()
198 void cgroup_rstat_flush(struct cgroup *cgrp) in cgroup_rstat_flush()
213 void cgroup_rstat_flush_irqsafe(struct cgroup *cgrp) in cgroup_rstat_flush_irqsafe()
231 void cgroup_rstat_flush_hold(struct cgroup *cgrp) in cgroup_rstat_flush_hold()
248 int cgroup_rstat_init(struct cgroup *cgrp) in cgroup_rstat_init()
270 void cgroup_rstat_exit(struct cgroup *cgrp) in cgroup_rstat_exit()
317 static void cgroup_base_stat_flush(struct cgroup *cgrp, int cpu) in cgroup_base_stat_flush()
350 cgroup_base_stat_cputime_account_begin(struct cgroup *cgrp, unsigned long *flags) in cgroup_base_stat_cputime_account_begin()
[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.c199 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all()
280 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find()
301 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create()
329 static int pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, in pidlist_array_load()
400 struct cgroup *cgrp = seq_css(s)->cgroup; in cgroup_pidlist_start() local
494 struct cgroup *cgrp; in __cgroup1_procs_write() local
548 struct cgroup *cgrp; in cgroup_release_agent_write() local
565 struct cgroup *cgrp = seq_css(seq)->cgroup; in cgroup_release_agent_show() local
695 struct cgroup *cgrp; in cgroupstats_build() local
747 void cgroup1_check_for_release(struct cgroup *cgrp) in cgroup1_check_for_release()
[all …]
Dcgroup-internal.h28 #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()
Ddebug.c206 struct cgroup *cgrp; in cgroup_subsys_states_read() local
258 struct cgroup *cgrp; in cgroup_masks_read() local
/Linux-v5.15/include/linux/
Dcgroup.h310 static inline u64 cgroup_id(const 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 …]
Dpsi.h49 static inline int psi_cgroup_alloc(struct cgroup *cgrp) in psi_cgroup_alloc()
53 static inline void psi_cgroup_free(struct cgroup *cgrp) in psi_cgroup_free()
Dbpf-cgroup.h475 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit()
476 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline()
/Linux-v5.15/kernel/bpf/
Dcgroup.c25 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 …]
/Linux-v5.15/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()
343 struct cgroup *cgrp = NULL; in parse_cgroups() local
401 struct cgroup *cgrp = NULL; in evlist__expand_cgroup() local
504 struct cgroup *cgrp; in __cgroup__findnew() local
545 struct cgroup *cgrp; in cgroup__findnew() local
555 struct cgroup *cgrp; in cgroup__find() local
566 struct cgroup *cgrp; in perf_env__purge_cgroups() local
Dbpf_counter_cgroup.c48 struct cgroup *cgrp, *leader_cgrp; in bperf_load_program() local
Dstat-shadow.c34 struct cgroup *cgrp; member
111 struct cgroup *cgrp) in saved_value_lookup()
209 struct cgroup *cgrp; member
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_sockmap.c1332 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec()
1365 static void test_exec(int cgrp, struct sockmap_options *opt) in test_exec()
1383 static void test_send_one(struct sockmap_options *opt, int cgrp) in test_send_one()
1402 static void test_send_many(struct sockmap_options *opt, int cgrp) in test_send_many()
1415 static void test_send_large(struct sockmap_options *opt, int cgrp) in test_send_large()
1423 static void test_send(struct sockmap_options *opt, int cgrp) in test_send()
1431 static void test_txmsg_pass(int cgrp, struct sockmap_options *opt) in test_txmsg_pass()
1438 static void test_txmsg_redir(int cgrp, struct sockmap_options *opt) in test_txmsg_redir()
1444 static void test_txmsg_drop(int cgrp, struct sockmap_options *opt) in test_txmsg_drop()
1450 static void test_txmsg_ingress_redir(int cgrp, struct sockmap_options *opt) in test_txmsg_ingress_redir()
[all …]
/Linux-v5.15/net/netfilter/
Dxt_cgroup.c39 struct cgroup *cgrp; in cgroup_mt_check_v1() local
71 struct cgroup *cgrp; in cgroup_mt_check_v2() local
Dnft_socket.c42 struct cgroup *cgrp; in nft_sock_get_eval_cgroupv2() local
/Linux-v5.15/tools/perf/util/bpf_skel/
Dbperf_cgroup.bpf.c55 struct cgroup *cgrp; in get_cgroup_v1_idx() local
117 __u32 key, cgrp; in bperf_cgroup_count() local
/Linux-v5.15/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()
Dchangk104.h13 struct nvkm_fifo_cgrp *cgrp; member
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
Dgk104.h35 struct list_head cgrp; member
69 void (*cgrp)(struct nvkm_fifo_cgrp *, member
Dgpfifogk104.c44 struct nvkm_fifo_cgrp *cgrp = chan->cgrp; in gk104_fifo_gpfifo_kick_locked() local
Dtu102.c176 struct nvkm_fifo_cgrp *cgrp; in tu102_fifo_recover_chid() local
/Linux-v5.15/include/linux/sched/
Dtask.h35 struct cgroup *cgrp; member

12