Searched refs:cgs (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | cgroup_link.c | 32 } cgs[] = { in test_cgroup_link() local 38 int last_cg = ARRAY_SIZE(cgs) - 1, cg_nr = ARRAY_SIZE(cgs); in test_cgroup_link() 40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link; in test_cgroup_link() 41 __u32 prog_ids[ARRAY_SIZE(cgs)], prog_cnt = 0, attach_flags, prog_id; in test_cgroup_link() 56 cgs[i].fd = create_and_get_cgroup(cgs[i].path); in test_cgroup_link() 57 if (!ASSERT_GE(cgs[i].fd, 0, "cg_create")) in test_cgroup_link() 61 err = join_cgroup(cgs[last_cg].path); in test_cgroup_link() 67 cgs[i].fd); in test_cgroup_link() 75 err = bpf_prog_query(cgs[0].fd, BPF_CGROUP_INET_EGRESS, in test_cgroup_link() 84 err = bpf_prog_query(cgs[last_cg].fd, BPF_CGROUP_INET_EGRESS, in test_cgroup_link() [all …]
|
/Linux-v5.15/drivers/scsi/lpfc/ |
D | lpfc_scsi.c | 3911 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmpl() local 3920 cgs = this_cpu_ptr(phba->cmf_stat); in lpfc_update_cmf_cmpl() 3921 atomic64_add(size, &cgs->rcv_bytes); in lpfc_update_cmf_cmpl() 3922 atomic64_add(time, &cgs->rx_latency); in lpfc_update_cmf_cmpl() 3923 atomic_inc(&cgs->rx_io_cnt); in lpfc_update_cmf_cmpl() 3940 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmd() local 3947 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_update_cmf_cmd() 3948 total += atomic64_read(&cgs->total_bytes); in lpfc_update_cmf_cmd() 3963 cgs = this_cpu_ptr(phba->cmf_stat); in lpfc_update_cmf_cmd() 3964 atomic64_add(size, &cgs->total_bytes); in lpfc_update_cmf_cmd()
|
D | lpfc_init.c | 3036 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local 3051 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_stop() 3052 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop() 3053 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop() 3054 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop() 3055 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop() 3098 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local 3116 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_cmf_start() 3117 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start() 3118 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-v5.15/include/linux/mlx5/ |
D | mlx5_ifc.h | 3092 u8 cgs[0x1]; member
|