Searched refs:cgs (Results 1 – 5 of 5) sorted by relevance
/linux/tools/testing/selftests/bpf/prog_tests/ |
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() 122 cgs[last_cg].fd); in serial_test_cgroup_link() 165 cgs[last_cg].fd); in serial_test_cgroup_link() 212 if (cgs[i].fd > 0) { in serial_test_cgroup_link() 213 close(cgs[i].fd); in serial_test_cgroup_link() 214 cgs[i].fd = -1; in serial_test_cgroup_link() 254 if (cgs[i].fd > 0) in serial_test_cgroup_link() [all …]
|
/linux/drivers/scsi/lpfc/ |
A D | lpfc_scsi.c | 3930 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmpl() local 3939 cgs = this_cpu_ptr(phba->cmf_stat); in lpfc_update_cmf_cmpl() 3940 atomic64_add(size, &cgs->rcv_bytes); in lpfc_update_cmf_cmpl() 3941 atomic64_add(time, &cgs->rx_latency); in lpfc_update_cmf_cmpl() 3942 atomic_inc(&cgs->rx_io_cnt); in lpfc_update_cmf_cmpl() 3959 struct lpfc_cgn_stat *cgs; in lpfc_update_cmf_cmd() local 3967 cgs = per_cpu_ptr(phba->cmf_stat, cpu); in lpfc_update_cmf_cmd() 3968 total += atomic64_read(&cgs->total_bytes); in lpfc_update_cmf_cmd() 3983 cgs = this_cpu_ptr(phba->cmf_stat); in lpfc_update_cmf_cmd() 3984 atomic64_add(size, &cgs->total_bytes); in lpfc_update_cmf_cmd()
|
A D | lpfc_init.c | 3085 struct lpfc_cgn_stat *cgs; in lpfc_cmf_stop() local 3101 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_stop() 3102 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_stop() 3103 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_stop() 3104 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_stop() 3147 struct lpfc_cgn_stat *cgs; in lpfc_cmf_start() local 3166 atomic64_set(&cgs->total_bytes, 0); in lpfc_cmf_start() 3167 atomic64_set(&cgs->rcv_bytes, 0); in lpfc_cmf_start() 3168 atomic_set(&cgs->rx_io_cnt, 0); in lpfc_cmf_start() 3169 atomic64_set(&cgs->rx_latency, 0); in lpfc_cmf_start() [all …]
|
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/include/linux/mlx5/ |
A D | mlx5_ifc.h | 3175 u8 cgs[0x1]; member
|
Completed in 110 milliseconds