Home
last modified time | relevance | path

Searched refs:res_cnt (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/tools/testing/selftests/bpf/
Dbench.c50 void false_hits_report_final(struct bench_res res[], int res_cnt) in false_hits_report_final() argument
55 for (i = 0; i < res_cnt; i++) { in false_hits_report_final()
85 grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_latency_basic_stats() argument
91 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
92 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats()
95 if (res_cnt > 1) { in grace_period_latency_basic_stats()
96 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats()
97 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats()
104 grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_ticks_basic_stats() argument
109 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats()
[all …]
Dbench.h60 void (*report_final)(struct bench_res res[], int res_cnt);
72 void hits_drops_report_final(struct bench_res res[], int res_cnt);
74 void false_hits_report_final(struct bench_res res[], int res_cnt);
76 void ops_report_final(struct bench_res res[], int res_cnt);
79 void local_storage_report_final(struct bench_res res[], int res_cnt);
80 void grace_period_latency_basic_stats(struct bench_res res[], int res_cnt,
82 void grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt,
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_htab_mem.c309 static void htab_mem_report_final(struct bench_res res[], int res_cnt) in htab_mem_report_final() argument
316 for (i = 0; i < res_cnt; i++) { in htab_mem_report_final()
317 loop_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in htab_mem_report_final()
318 mem_mean += res[i].gp_ct / 1048576.0 / (0.0 + res_cnt); in htab_mem_report_final()
320 if (res_cnt > 1) { in htab_mem_report_final()
321 for (i = 0; i < res_cnt; i++) { in htab_mem_report_final()
324 (res_cnt - 1.0); in htab_mem_report_final()
327 (res_cnt - 1.0); in htab_mem_report_final()
Dbench_local_storage_create.c218 static void report_final(struct bench_res res[], int res_cnt) in report_final() argument
224 for (i = 0; i < res_cnt; i++) { in report_final()
225 creates_mean += res[i].hits / 1000.0 / (0.0 + res_cnt); in report_final()
230 if (res_cnt > 1) { in report_final()
231 for (i = 0; i < res_cnt; i++) in report_final()
234 (res_cnt - 1.0); in report_final()
Dbench_local_storage_rcu_tasks_trace.c224 static void report_final(struct bench_res res[], int res_cnt) in report_final() argument
228 grace_period_latency_basic_stats(res, res_cnt, &gp_stat); in report_final()
231 grace_period_ticks_basic_stats(res, res_cnt, &gp_stat); in report_final()
Dbench_bpf_hashmap_full_update.c65 static void hashmap_report_final(struct bench_res res[], int res_cnt) in hashmap_report_final() argument
Dbench_bpf_hashmap_lookup.c240 static void hashmap_report_final(struct bench_res res[], int res_cnt) in hashmap_report_final() argument
/linux-6.12.1/drivers/infiniband/hw/usnic/
Dusnic_vnic.c182 int res_cnt; in usnic_vnic_spec_dump() local
188 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_spec_dump()
192 res_cnt); in usnic_vnic_spec_dump()
203 int res_cnt; in usnic_vnic_check_room() local
207 res_cnt = res_spec->resources[i].cnt; in usnic_vnic_check_room()
212 if (res_cnt > usnic_vnic_res_free_cnt(vnic, res_type)) in usnic_vnic_check_room()
Dusnic_ib_qp_grp.c537 int err, i, res_cnt, res_lst_sz; in alloc_res_chunk_list() local
553 res_cnt = res_spec->resources[i].cnt; in alloc_res_chunk_list()
556 res_cnt, owner_obj); in alloc_res_chunk_list()
/linux-6.12.1/drivers/pnp/pnpacpi/
Drsparser.c599 int *res_cnt = data; in pnpacpi_count_resources() local
602 (*res_cnt)++; in pnpacpi_count_resources()
628 int res_cnt = 0; in pnpacpi_build_resource_template() local
632 pnpacpi_count_resources, &res_cnt); in pnpacpi_build_resource_template()
637 if (!res_cnt) in pnpacpi_build_resource_template()
639 buffer->length = sizeof(struct acpi_resource) * (res_cnt + 1) + 1; in pnpacpi_build_resource_template()
881 int res_cnt = (buffer->length - 1) / sizeof(struct acpi_resource) - 1; in pnpacpi_encode_resources() local
885 pnp_dbg(&dev->dev, "encode %d resources\n", res_cnt); in pnpacpi_encode_resources()
886 while (i < res_cnt) { in pnpacpi_encode_resources()
/linux-6.12.1/drivers/scsi/be2iscsi/
Dbe_cmds.h1035 u32 res_cnt; member
Dbe_main.c1135 resid = csol_cqe->res_cnt; in be_complete_io()
1294 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe, in adapter_get_sol_cqe()
1313 csol_cqe->res_cnt = AMAP_GET_BITS(struct amap_sol_cqe_v2, in adapter_get_sol_cqe()