Home
last modified time | relevance | path

Searched refs:cg_id (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dcgroup_hierarchical_stats.c60 return bpf_map_update_elem(&attach_counters, &cg_id, in create_attach_counter()
68 __u64 cg_id = cgroup_id(dst_cgrp); in BPF_PROG() local
71 &cg_id); in BPF_PROG()
75 else if (create_percpu_attach_counter(cg_id, 1)) in BPF_PROG()
87 __u64 cg_id = cgroup_id(cgrp); in BPF_PROG() local
94 &cg_id, cpu); in BPF_PROG()
103 if (create_attach_counter(cg_id, delta, 0)) in BPF_PROG()
137 __u64 cg_id = cgrp ? cgroup_id(cgrp) : 0; in BPF_PROG() local
140 if (!cg_id) in BPF_PROG()
149 cg_id); in BPF_PROG()
[all …]
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dcgroup_iter.c24 static unsigned long long cg_id[] = {0, 0, 0, 0}; variable
37 cg_id[i] = get_cgroup_id(cg_path[i]); in setup_cgroups()
120 linfo.cgroup.cgroup_id = (__u64)cg_id[PARENT]; in test_invalid_cgroup_spec()
134 cg_id[PARENT], cg_id[CHILD1], cg_id[CHILD2]); in test_walk_preorder()
145 cg_id[CHILD1], cg_id[CHILD2], cg_id[PARENT]); in test_walk_postorder()
155 skel->bss->terminal_cgroup = cg_id[ROOT]; in test_walk_ancestors_up()
159 cg_id[PARENT], cg_id[ROOT]); in test_walk_ancestors_up()
174 PROLOGUE "%8llu\n" EPILOGUE, cg_id[PARENT]); in test_early_termination()
186 PROLOGUE "%8llu\n" EPILOGUE, cg_id[PARENT]); in test_walk_self_only()
/linux-6.3-rc2/samples/bpf/
A Dhbm.c161 static int run_bpf_prog(char *prog, int cg_id) in run_bpf_prog() argument
170 sprintf(cg_dir, "/hbm%d", cg_id); in run_bpf_prog()
207 sprintf(cg_pin_path, "/sys/fs/bpf/hbm%d", cg_id); in run_bpf_prog()
312 sprintf(fname, "hbm.%d.in", cg_id); in run_bpf_prog()
314 sprintf(fname, "hbm.%d.out", cg_id); in run_bpf_prog()
316 fprintf(fout, "id:%d\n", cg_id); in run_bpf_prog()
341 sprintf(fname, "hbm.%d.out", cg_id); in run_bpf_prog()
343 fprintf(fout, "id:%d\n", cg_id); in run_bpf_prog()
453 int cg_id = 1; in main() local
479 cg_id = atoi(optarg); in main()
[all …]
/linux-6.3-rc2/sound/soc/mediatek/mt8195/
A Dmt8195-dai-etdm.c1411 int cg_id = -1; in mtk_dai_etdm_get_cg_id_by_dai_id() local
1436 return cg_id; in mtk_dai_etdm_get_cg_id_by_dai_id()
1528 int cg_id; in mtk_dai_etdm_startup() local
1538 if (cg_id >= 0) in mtk_dai_etdm_startup()
1546 if (cg_id >= 0) in mtk_dai_etdm_startup()
1554 if (cg_id >= 0) in mtk_dai_etdm_startup()
1567 int cg_id; in mtk_dai_etdm_shutdown() local
1575 if (cg_id >= 0) in mtk_dai_etdm_shutdown()
1589 if (cg_id >= 0) in mtk_dai_etdm_shutdown()
2196 if (cg_id >= 0) in mtk_dai_hdmitx_dptx_startup()
[all …]
/linux-6.3-rc2/sound/soc/mediatek/mt8188/
A Dmt8188-dai-etdm.c1419 int cg_id; in mtk_dai_etdm_startup() local
1429 if (cg_id >= 0) in mtk_dai_etdm_startup()
1437 if (cg_id >= 0) in mtk_dai_etdm_startup()
1439 afe_priv->clk[cg_id]); in mtk_dai_etdm_startup()
1445 if (cg_id >= 0) in mtk_dai_etdm_startup()
1460 int cg_id; in mtk_dai_etdm_shutdown() local
1505 if (cg_id >= 0) in mtk_dai_etdm_shutdown()
1512 if (cg_id >= 0) in mtk_dai_etdm_shutdown()
1519 if (cg_id >= 0) in mtk_dai_etdm_shutdown()
2161 if (cg_id >= 0) in mtk_dai_hdmitx_dptx_startup()
[all …]
/linux-6.3-rc2/kernel/bpf/
A Dcgroup.c1233 u64 cg_id = 0; in bpf_cgroup_link_show_fdinfo() local
1237 cg_id = cgroup_id(cg_link->cgroup); in bpf_cgroup_link_show_fdinfo()
1243 cg_id, in bpf_cgroup_link_show_fdinfo()
1252 u64 cg_id = 0; in bpf_cgroup_link_fill_link_info() local
1256 cg_id = cgroup_id(cg_link->cgroup); in bpf_cgroup_link_fill_link_info()
1259 info->cgroup.cgroup_id = cg_id; in bpf_cgroup_link_fill_link_info()

Completed in 23 milliseconds