| /kernel/linux/linux-5.10/kernel/cgroup/ |
| H A D | cgroup-v1.c | 197 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() argument 278 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find() argument 299 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create() argument 327 pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, struct cgroup_pidlist **lp) pidlist_array_load() argument 398 struct cgroup *cgrp = seq_css(s)->cgroup; cgroup_pidlist_start() local 493 struct cgroup *cgrp; __cgroup1_procs_write() local [all...] |
| /kernel/linux/linux-5.10/include/linux/ |
| H A D | bpf-cgroup.h | 391 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() argument 392 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline() argument [all...] |
| H A D | cgroup.h | 311 static inline u64 cgroup_id(struct cgroup *cgrp) in cgroup_id() argument 421 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() argument 426 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() argument 431 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() argument 555 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() argument 573 cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) cgroup_is_descendant() argument 592 cgroup_ancestor(struct cgroup *cgrp, int ancestor_level) cgroup_ancestor() argument 620 cgroup_is_populated(struct cgroup *cgrp) cgroup_is_populated() argument 627 cgroup_ino(struct cgroup *cgrp) cgroup_ino() argument 656 cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) cgroup_name() argument 661 cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) cgroup_path() argument 666 pr_cont_cgroup_name(struct cgroup *cgrp) pr_cont_cgroup_name() argument 671 pr_cont_cgroup_path(struct cgroup *cgrp) pr_cont_cgroup_path() argument 676 cgroup_psi(struct cgroup *cgrp) cgroup_psi() argument 706 cgroup_id(struct cgroup *cgrp) cgroup_id() argument 730 cgroup_parent(struct cgroup *cgrp) cgroup_parent() argument 735 cgroup_psi(struct cgroup *cgrp) cgroup_psi() argument 779 struct cgroup *cgrp; cgroup_account_cputime() local 792 struct cgroup *cgrp; cgroup_account_cputime_field() local 925 cgroup_bpf_get(struct cgroup *cgrp) cgroup_bpf_get() argument 930 cgroup_bpf_put(struct cgroup *cgrp) cgroup_bpf_put() argument 937 cgroup_bpf_get(struct cgroup *cgrp) cgroup_bpf_get() argument 938 cgroup_bpf_put(struct cgroup *cgrp) cgroup_bpf_put() argument [all...] |
| H A D | cgroup-defs.h | 505 struct cgroup cgrp; member
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | bpf-cgroup.h | 181 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); in cgroup_bpf_sock_enabled() local 425 static inline int cgroup_bpf_inherit(struct cgroup *cgrp) { return 0; } in cgroup_bpf_inherit() argument 426 static inline void cgroup_bpf_offline(struct cgroup *cgrp) {} in cgroup_bpf_offline() argument
|
| H A D | cgroup.h | 325 static inline u64 cgroup_id(const struct cgroup *cgrp) in cgroup_id() argument 350 static inline void cgroup_get(struct cgroup *cgrp) in cgroup_get() argument 355 static inline bool cgroup_tryget(struct cgroup *cgrp) in cgroup_tryget() argument 360 static inline void cgroup_put(struct cgroup *cgrp) in cgroup_put() argument 495 static inline struct cgroup *cgroup_parent(struct cgroup *cgrp) in cgroup_parent() argument 513 cgroup_is_descendant(struct cgroup *cgrp, struct cgroup *ancestor) cgroup_is_descendant() argument 532 cgroup_ancestor(struct cgroup *cgrp, int ancestor_level) cgroup_ancestor() argument 558 cgroup_is_populated(struct cgroup *cgrp) cgroup_is_populated() argument 565 cgroup_ino(struct cgroup *cgrp) cgroup_ino() argument 594 cgroup_name(struct cgroup *cgrp, char *buf, size_t buflen) cgroup_name() argument 599 cgroup_path(struct cgroup *cgrp, char *buf, size_t buflen) cgroup_path() argument 604 pr_cont_cgroup_name(struct cgroup *cgrp) pr_cont_cgroup_name() argument 609 pr_cont_cgroup_path(struct cgroup *cgrp) pr_cont_cgroup_path() argument 642 cgroup_id(const struct cgroup *cgrp) cgroup_id() argument 668 cgroup_parent(struct cgroup *cgrp) cgroup_parent() argument 716 struct cgroup *cgrp; cgroup_account_cputime() local 729 struct cgroup *cgrp; cgroup_account_cputime_field() local 841 cgroup_bpf_get(struct cgroup *cgrp) cgroup_bpf_get() argument 846 cgroup_bpf_put(struct cgroup *cgrp) cgroup_bpf_put() argument 853 cgroup_bpf_get(struct cgroup *cgrp) cgroup_bpf_get() argument 854 cgroup_bpf_put(struct cgroup *cgrp) cgroup_bpf_put() argument [all...] |
| H A D | cgroup-defs.h | 551 struct cgroup cgrp; member
|
| /kernel/linux/linux-6.6/kernel/cgroup/ |
| H A D | cgroup-v1.c | 196 void cgroup1_pidlist_destroy_all(struct cgroup *cgrp) in cgroup1_pidlist_destroy_all() argument 277 static struct cgroup_pidlist *cgroup_pidlist_find(struct cgroup *cgrp, in cgroup_pidlist_find() argument 298 static struct cgroup_pidlist *cgroup_pidlist_find_create(struct cgroup *cgrp, in cgroup_pidlist_find_create() argument 326 pidlist_array_load(struct cgroup *cgrp, enum cgroup_filetype type, struct cgroup_pidlist **lp) pidlist_array_load() argument 397 struct cgroup *cgrp = seq_css(s)->cgroup; cgroup_pidlist_start() local 492 struct cgroup *cgrp; __cgroup1_procs_write() local [all...] |
| /kernel/linux/linux-6.6/tools/perf/util/ |
| H A D | cgroup.c | 51 int read_cgroup_id(struct cgroup *cgrp) in read_cgroup_id() argument 148 struct cgroup *cgrp = evlist__findnew_cgroup(evlist, str); in add_cgroup() local 179 cgroup__put(struct cgroup *cgrp) cgroup__put() argument 356 struct cgroup *cgrp = NULL; parse_cgroups() local 414 struct cgroup *cgrp = NULL; evlist__expand_cgroup() local 516 struct cgroup *cgrp; __cgroup__findnew() local 557 struct cgroup *cgrp; cgroup__findnew() local 567 struct cgroup *cgrp; cgroup__find() local 578 struct cgroup *cgrp; perf_env__purge_cgroups() local [all...] |
| H A D | evsel.h | 84 struct cgroup *cgrp; member
|
| H A D | metricgroup.c | 1778 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events() argument
|
| H A D | python.c | 124 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events() argument
|
| H A D | stat-display.c | 175 static void print_cgroup(struct perf_stat_config *config, struct cgroup *cgrp) in print_cgroup() argument 357 struct cgroup *cgrp; member [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A 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; gk104_fifo_runlist_insert() local 333 struct nvkm_fifo_cgrp *cgrp; gk104_fifo_recover_chid() local [all...] |
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | ga100.c | 109 ga100_cgrp_preempt(struct nvkm_cgrp *cgrp) in ga100_cgrp_preempt() argument [all...] |
| /kernel/linux/linux-5.10/tools/perf/util/ |
| H A D | evsel.h | 66 struct cgroup *cgrp; member
|
| H A D | metricgroup.c | 1162 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events() argument
|
| H A D | python.c | 75 int metricgroup__copy_metric_events(struct evlist *evlist, struct cgroup *cgrp, in metricgroup__copy_metric_events() argument
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 1332 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() argument 1365 static void test_exec(int cgrp, struct sockmap_options *opt) in test_exec() argument 1383 static void test_send_one(struct sockmap_options *opt, int cgrp) in test_send_one() argument 1402 static void test_send_many(struct sockmap_options *opt, int cgrp) in test_send_many() argument 1415 test_send_large(struct sockmap_options *opt, int cgrp) test_send_large() argument 1423 test_send(struct sockmap_options *opt, int cgrp) test_send() argument 1431 test_txmsg_pass(int cgrp, struct sockmap_options *opt) test_txmsg_pass() argument 1438 test_txmsg_redir(int cgrp, struct sockmap_options *opt) test_txmsg_redir() argument 1444 test_txmsg_drop(int cgrp, struct sockmap_options *opt) test_txmsg_drop() argument 1450 test_txmsg_ingress_redir(int cgrp, struct sockmap_options *opt) test_txmsg_ingress_redir() argument 1457 test_txmsg_skb(int cgrp, struct sockmap_options *opt) test_txmsg_skb() argument 1515 test_txmsg_cork_hangs(int cgrp, struct sockmap_options *opt) test_txmsg_cork_hangs() argument 1536 test_txmsg_pull(int cgrp, struct sockmap_options *opt) test_txmsg_pull() argument 1569 test_txmsg_pop(int cgrp, struct sockmap_options *opt) test_txmsg_pop() argument 1602 test_txmsg_push(int cgrp, struct sockmap_options *opt) test_txmsg_push() argument 1628 test_txmsg_push_pop(int cgrp, struct sockmap_options *opt) test_txmsg_push_pop() argument 1637 test_txmsg_apply(int cgrp, struct sockmap_options *opt) test_txmsg_apply() argument 1664 test_txmsg_cork(int cgrp, struct sockmap_options *opt) test_txmsg_cork() argument 1679 test_txmsg_ingress_parser(int cgrp, struct sockmap_options *opt) test_txmsg_ingress_parser() argument [all...] |
| /kernel/linux/linux-5.10/kernel/bpf/ |
| H A D | cgroup.c | 25 void cgroup_bpf_offline(struct cgroup *cgrp) in cgroup_bpf_offline() argument 110 struct cgroup *p, *cgrp = container_of(work, struct cgroup, in cgroup_bpf_release() local 39 bpf_cgroup_storages_alloc(struct bpf_cgroup_storage *storages[], struct bpf_cgroup_storage *new_storages[], enum bpf_attach_type type, struct bpf_prog *prog, struct cgroup *cgrp) bpf_cgroup_storages_alloc() argument 82 bpf_cgroup_storages_link(struct bpf_cgroup_storage *storages[], struct cgroup *cgrp, enum bpf_attach_type attach_type) bpf_cgroup_storages_link() argument 160 struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); cgroup_bpf_release_fn() local 198 hierarchy_allows_attach(struct cgroup *cgrp, enum bpf_attach_type type) hierarchy_allows_attach() argument 227 compute_effective_progs(struct cgroup *cgrp, enum bpf_attach_type type, struct bpf_prog_array **array) compute_effective_progs() argument 271 activate_effective_progs(struct cgroup *cgrp, enum bpf_attach_type type, struct bpf_prog_array *old_array) activate_effective_progs() argument 287 cgroup_bpf_inherit(struct cgroup *cgrp) cgroup_bpf_inherit() argument 330 update_effective_progs(struct cgroup *cgrp, enum bpf_attach_type type) update_effective_progs() argument 433 __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_prog *replace_prog, struct bpf_cgroup_link *link, enum bpf_attach_type type, u32 flags) __cgroup_bpf_attach() argument 522 replace_effective_prog(struct cgroup *cgrp, enum bpf_attach_type type, struct bpf_cgroup_link *link) replace_effective_prog() argument 573 __cgroup_bpf_replace(struct cgroup *cgrp, struct bpf_cgroup_link *link, struct bpf_prog *new_prog) __cgroup_bpf_replace() argument 666 purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_cgroup_link *link, enum bpf_attach_type type) purge_effective_progs() argument 723 __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_cgroup_link *link, enum bpf_attach_type type) __cgroup_bpf_detach() argument 764 __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, union bpf_attr __user *uattr) __cgroup_bpf_query() argument 818 struct cgroup *cgrp; cgroup_bpf_prog_attach() local 846 struct cgroup *cgrp; cgroup_bpf_prog_detach() local 960 struct cgroup *cgrp; cgroup_bpf_link_attach() local 1003 struct cgroup *cgrp; cgroup_bpf_prog_query() local 1046 struct cgroup *cgrp; __cgroup_bpf_run_filter_skb() local 1095 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_sk() local 1127 struct cgroup *cgrp; __cgroup_bpf_run_filter_sock_addr() local 1168 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_sock_ops() local 1180 struct cgroup *cgrp; __cgroup_bpf_check_dev_permission() local 1295 struct cgroup *cgrp; __cgroup_bpf_run_filter_sysctl() local 1339 __cgroup_bpf_prog_array_is_empty(struct cgroup *cgrp, enum bpf_attach_type attach_type) __cgroup_bpf_prog_array_is_empty() argument 1383 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_setsockopt() local 1461 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_getsockopt() local 1554 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_getsockopt_kern() local [all...] |
| /kernel/linux/linux-5.10/kernel/trace/ |
| H A D | bpf_trace.c | 1027 struct cgroup *cgrp; in BPF_CALL_2() local
|
| /kernel/linux/linux-6.6/kernel/bpf/ |
| H A D | cgroup.c | 31 bpf_prog_run_array_cg(const struct cgroup_bpf *cgrp, in bpf_prog_run_array_cg() argument 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; __cgroup_bpf_run_lsm_current() local 192 cgroup_bpf_offline(struct cgroup *cgrp) cgroup_bpf_offline() argument 206 bpf_cgroup_storages_alloc(struct bpf_cgroup_storage *storages[], struct bpf_cgroup_storage *new_storages[], enum bpf_attach_type type, struct bpf_prog *prog, struct cgroup *cgrp) bpf_cgroup_storages_alloc() argument 249 bpf_cgroup_storages_link(struct bpf_cgroup_storage *storages[], struct cgroup *cgrp, enum bpf_attach_type attach_type) bpf_cgroup_storages_link() argument 277 struct cgroup *p, *cgrp = container_of(work, struct cgroup, cgroup_bpf_release() local 334 struct cgroup *cgrp = container_of(ref, struct cgroup, bpf.refcnt); cgroup_bpf_release_fn() local 372 hierarchy_allows_attach(struct cgroup *cgrp, enum cgroup_bpf_attach_type atype) hierarchy_allows_attach() argument 401 compute_effective_progs(struct cgroup *cgrp, enum cgroup_bpf_attach_type atype, struct bpf_prog_array **array) compute_effective_progs() argument 445 activate_effective_progs(struct cgroup *cgrp, enum cgroup_bpf_attach_type atype, struct bpf_prog_array *old_array) activate_effective_progs() argument 461 cgroup_bpf_inherit(struct cgroup *cgrp) cgroup_bpf_inherit() argument 504 update_effective_progs(struct cgroup *cgrp, enum cgroup_bpf_attach_type atype) update_effective_progs() argument 607 __cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_prog *replace_prog, struct bpf_cgroup_link *link, enum bpf_attach_type type, u32 flags) __cgroup_bpf_attach() argument 724 cgroup_bpf_attach(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_prog *replace_prog, struct bpf_cgroup_link *link, enum bpf_attach_type type, u32 flags) cgroup_bpf_attach() argument 741 replace_effective_prog(struct cgroup *cgrp, enum cgroup_bpf_attach_type atype, struct bpf_cgroup_link *link) replace_effective_prog() argument 793 __cgroup_bpf_replace(struct cgroup *cgrp, struct bpf_cgroup_link *link, struct bpf_prog *new_prog) __cgroup_bpf_replace() argument 893 purge_effective_progs(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_cgroup_link *link, enum cgroup_bpf_attach_type atype) purge_effective_progs() argument 950 __cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, struct bpf_cgroup_link *link, enum bpf_attach_type type) __cgroup_bpf_detach() argument 1008 cgroup_bpf_detach(struct cgroup *cgrp, struct bpf_prog *prog, enum bpf_attach_type type) cgroup_bpf_detach() argument 1020 __cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, union bpf_attr __user *uattr) __cgroup_bpf_query() argument 1119 cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, union bpf_attr __user *uattr) cgroup_bpf_query() argument 1134 struct cgroup *cgrp; cgroup_bpf_prog_attach() local 1162 struct cgroup *cgrp; cgroup_bpf_prog_detach() local 1278 struct cgroup *cgrp; cgroup_bpf_link_attach() local 1321 struct cgroup *cgrp; cgroup_bpf_prog_query() local 1364 struct cgroup *cgrp; __cgroup_bpf_run_filter_skb() local 1441 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_sk() local 1479 struct cgroup *cgrp; __cgroup_bpf_run_filter_sock_addr() local 1527 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_sock_ops() local 1537 struct cgroup *cgrp; __cgroup_bpf_check_dev_permission() local 1711 struct cgroup *cgrp; __cgroup_bpf_run_filter_sysctl() local 1805 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_setsockopt() local 1896 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_getsockopt() local 1978 struct cgroup *cgrp = sock_cgroup_ptr(&sk->sk_cgrp_data); __cgroup_bpf_run_filter_getsockopt_kern() local [all...] |
| H A D | helpers.c | 403 struct cgroup *cgrp; in BPF_CALL_0() local 422 struct cgroup *cgrp; in BPF_CALL_1() local 2146 __bpf_kfunc struct cgroup *bpf_cgroup_acquire(struct cgroup *cgrp) in bpf_cgroup_acquire() argument 2158 bpf_cgroup_release(struct cgroup *cgrp) bpf_cgroup_release() argument 2170 bpf_cgroup_ancestor(struct cgroup *cgrp, int level) bpf_cgroup_ancestor() argument 2192 struct cgroup *cgrp; bpf_cgroup_from_id() local [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
| H A D | test_sockmap.c | 1376 static int __test_exec(int cgrp, int test, struct sockmap_options *opt) in __test_exec() argument 1409 static void test_exec(int cgrp, struct sockmap_options *opt) in test_exec() argument 1427 static void test_send_one(struct sockmap_options *opt, int cgrp) in test_send_one() argument 1446 static void test_send_many(struct sockmap_options *opt, int cgrp) in test_send_many() argument 1459 test_send_large(struct sockmap_options *opt, int cgrp) test_send_large() argument 1467 test_send(struct sockmap_options *opt, int cgrp) test_send() argument 1475 test_txmsg_pass(int cgrp, struct sockmap_options *opt) test_txmsg_pass() argument 1482 test_txmsg_redir(int cgrp, struct sockmap_options *opt) test_txmsg_redir() argument 1488 test_txmsg_redir_wait_sndmem(int cgrp, struct sockmap_options *opt) test_txmsg_redir_wait_sndmem() argument 1496 test_txmsg_drop(int cgrp, struct sockmap_options *opt) test_txmsg_drop() argument 1502 test_txmsg_ingress_redir(int cgrp, struct sockmap_options *opt) test_txmsg_ingress_redir() argument 1509 test_txmsg_skb(int cgrp, struct sockmap_options *opt) test_txmsg_skb() argument 1567 test_txmsg_cork_hangs(int cgrp, struct sockmap_options *opt) test_txmsg_cork_hangs() argument 1588 test_txmsg_pull(int cgrp, struct sockmap_options *opt) test_txmsg_pull() argument 1621 test_txmsg_pop(int cgrp, struct sockmap_options *opt) test_txmsg_pop() argument 1654 test_txmsg_push(int cgrp, struct sockmap_options *opt) test_txmsg_push() argument 1680 test_txmsg_push_pop(int cgrp, struct sockmap_options *opt) test_txmsg_push_pop() argument 1689 test_txmsg_apply(int cgrp, struct sockmap_options *opt) test_txmsg_apply() argument 1734 test_txmsg_cork(int cgrp, struct sockmap_options *opt) test_txmsg_cork() argument 1749 test_txmsg_ingress_parser(int cgrp, struct sockmap_options *opt) test_txmsg_ingress_parser() argument 1761 test_txmsg_ingress_parser2(int cgrp, struct sockmap_options *opt) test_txmsg_ingress_parser2() argument [all...] |
| /device/soc/rockchip/common/sdk_linux/kernel/cgroup/ |
| H A D | cpuset.c | 3659 struct cgroup *cgrp; in cpuset_print_current_mems_allowed() local
|