Searched refs:cgs (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
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() 40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link; in serial_test_cgroup_link() 41 __u32 prog_ids[ARRAY_SIZE(cgs)], prog_cnt = 0, attach_flags, prog_id; in serial_test_cgroup_link() 56 cgs[i].fd = create_and_get_cgroup(cgs[i].path); in serial_test_cgroup_link() 57 if (!ASSERT_GE(cgs[i].fd, 0, "cg_create")) in serial_test_cgroup_link() 61 err = join_cgroup(cgs[last_cg].path); in serial_test_cgroup_link() 67 cgs[i].fd); in serial_test_cgroup_link() 75 err = bpf_prog_query(cgs[0].fd, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_link() 84 err = bpf_prog_query(cgs[last_cg].fd, BPF_CGROUP_INET_EGRESS, in serial_test_cgroup_link() [all …]
|
/linux-5.19.10/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 3821 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmpl() local 3830 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id()); in lpfc_update_cmf_cmpl() 3831 atomic64_add(size, &cgs->rcv_bytes); in lpfc_update_cmf_cmpl() 3832 atomic64_add(time, &cgs->rx_latency); in lpfc_update_cmf_cmpl() 3833 atomic_inc(&cgs->rx_io_cnt); in lpfc_update_cmf_cmpl() 3850 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmd() local 3858 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_update_cmf_cmd() 3859 total += atomic64_read(&cgs->total_bytes); in lpfc_update_cmf_cmd() 3874 cgs = per_cpu_ptr(phba->cmf_stat, raw_smp_processor_id()); in lpfc_update_cmf_cmd() 3875 atomic64_add(size, &cgs->total_bytes); in lpfc_update_cmf_cmd()
|
D | lpfc_init.c | 3188 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local 3203 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_stop() 3204 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop() 3205 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop() 3206 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop() 3207 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop() 3250 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local 3268 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_start() 3269 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start() 3270 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start() [all …]
|
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-5.19.10/include/linux/mlx5/ |
D | mlx5_ifc.h | 3208 u8 cgs[0x1]; member
|