Searched refs:cgs (Results 1 - 6 of 6) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcgroup_link.c32 } cgs[] = { local
38 int last_cg = ARRAY_SIZE(cgs) - 1, cg_nr = ARRAY_SIZE(cgs);
40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link;
41 __u32 prog_ids[ARRAY_SIZE(cgs)], prog_cnt = 0, attach_flags, prog_id;
56 cgs[i].fd = create_and_get_cgroup(cgs[i].path);
57 if (!ASSERT_GE(cgs[i].fd, 0, "cg_create"))
61 err = join_cgroup(cgs[last_cg].path);
67 cgs[
[all...]
H A Diters.c250 } cgs[] = { local
256 int err, cg_nr = ARRAY_SIZE(cgs);
263 cgs[i].fd = create_and_get_cgroup(cgs[i].path);
264 if (!ASSERT_GE(cgs[i].fd, 0, "create_and_get_cgroup"))
273 skel->bss->root_cg_id = get_cgroup_id(cgs[0].path);
274 skel->bss->leaf_cg_id = get_cgroup_id(cgs[cg_nr - 1].path);
282 ASSERT_EQ(skel->bss->first_cg_id, get_cgroup_id(cgs[0].path), "first_cg_id");
285 ASSERT_EQ(skel->bss->last_cg_id, get_cgroup_id(cgs[0].path), "last_cg_id");
/linux-master/drivers/scsi/lpfc/
H A Dlpfc_scsi.c3744 struct lpfc_cgn_stat *cgs; local
3753 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id());
3754 atomic64_add(size, &cgs->rcv_bytes);
3755 atomic64_add(time, &cgs->rx_latency);
3756 atomic_inc(&cgs->rx_io_cnt);
3773 struct lpfc_cgn_stat *cgs; local
3781 cgs = per_cpu_ptr(phba->cmf_stat, cpu);
3782 total += atomic64_read(&cgs->total_bytes);
3797 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id());
3798 atomic64_add(size, &cgs
[all...]
H A Dlpfc_init.c3193 struct lpfc_cgn_stat *cgs; local
3209 cgs = per_cpu_ptr(phba->cmf_stat, cpu);
3210 atomic64_set(&cgs->total_bytes, 0);
3211 atomic64_set(&cgs->rcv_bytes, 0);
3212 atomic_set(&cgs->rx_io_cnt, 0);
3213 atomic64_set(&cgs->rx_latency, 0);
3256 struct lpfc_cgn_stat *cgs; local
3274 cgs = per_cpu_ptr(phba->cmf_stat, cpu);
3275 atomic64_set(&cgs->total_bytes, 0);
3276 atomic64_set(&cgs
5967 struct lpfc_cgn_stat *cgs; local
[all...]
H A Dlpfc_attr.c125 struct lpfc_cgn_stat *cgs; local
260 cgs = per_cpu_ptr(phba->cmf_stat, cpu);
261 total += atomic64_read(&cgs->total_bytes);
262 rcv += atomic64_read(&cgs->rcv_bytes);
/linux-master/include/linux/mlx5/
H A Dmlx5_ifc.h3424 u8 cgs[0x1]; member in struct:mlx5_ifc_qpc_bits

Completed in 257 milliseconds