Searched refs:cgs (Results 1 – 6 of 6) sorted by relevance
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | cgroup_link.c | 32 } cgs[] = { in serial_test_cgroup_link() local 38 int last_cg = ARRAY_SIZE(cgs) - 1, cg_nr = ARRAY_SIZE(cgs); in serial_test_cgroup_link() 56 cgs[i].fd = create_and_get_cgroup(cgs[i].path); in serial_test_cgroup_link() 67 cgs[i].fd); in serial_test_cgroup_link() 119 cgs[last_cg].fd); in serial_test_cgroup_link() 162 cgs[last_cg].fd); in serial_test_cgroup_link() 209 if (cgs[i].fd > 0) { in serial_test_cgroup_link() 210 close(cgs[i].fd); in serial_test_cgroup_link() 211 cgs[i].fd = -1; in serial_test_cgroup_link() 251 if (cgs[i].fd > 0) in serial_test_cgroup_link() [all …]
|
| H A D | iters.c | 251 } cgs[] = { in subtest_css_iters() local 257 int err, cg_nr = ARRAY_SIZE(cgs); in subtest_css_iters() 264 cgs[i].fd = create_and_get_cgroup(cgs[i].path); in subtest_css_iters() 265 if (!ASSERT_GE(cgs[i].fd, 0, "create_and_get_cgroup")) in subtest_css_iters() 274 skel->bss->root_cg_id = get_cgroup_id(cgs[0].path); in subtest_css_iters() 275 skel->bss->leaf_cg_id = get_cgroup_id(cgs[cg_nr - 1].path); in subtest_css_iters() 283 ASSERT_EQ(skel->bss->first_cg_id, get_cgroup_id(cgs[0].path), "first_cg_id"); in subtest_css_iters() 286 ASSERT_EQ(skel->bss->last_cg_id, get_cgroup_id(cgs[0].path), "last_cg_id"); in subtest_css_iters()
|
| /linux-6.15/drivers/scsi/lpfc/ |
| H A D | lpfc_scsi.c | 3752 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmpl() local 3761 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id()); in lpfc_update_cmf_cmpl() 3762 atomic64_add(size, &cgs->rcv_bytes); in lpfc_update_cmf_cmpl() 3763 atomic64_add(time, &cgs->rx_latency); in lpfc_update_cmf_cmpl() 3764 atomic_inc(&cgs->rx_io_cnt); in lpfc_update_cmf_cmpl() 3781 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmd() local 3789 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_update_cmf_cmd() 3790 total += atomic64_read(&cgs->total_bytes); in lpfc_update_cmf_cmd() 3805 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id()); in lpfc_update_cmf_cmd() 3806 atomic64_add(size, &cgs->total_bytes); in lpfc_update_cmf_cmd()
|
| H A D | lpfc_init.c | 3182 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local 3199 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop() 3200 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop() 3201 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop() 3202 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop() 3245 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local 3264 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start() 3265 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start() 3266 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_start() 3267 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_start() [all …]
|
| H A D | lpfc_attr.c | 125 struct lpfc_cgn_stat *cgs; in lpfc_cmf_info_show() local 260 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_info_show() 261 total += atomic64_read(&cgs->total_bytes); in lpfc_cmf_info_show() 262 rcv += atomic64_read(&cgs->rcv_bytes); in lpfc_cmf_info_show()
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | mlx5_ifc.h | 3684 u8 cgs[0x1]; member
|