Searched refs:res_cnt (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/ |
D | bench.c | 48 void false_hits_report_final(struct bench_res res[], int res_cnt) in false_hits_report_final() argument 53 for (i = 0; i < res_cnt; i++) { in false_hits_report_final() 83 grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_latency_basic_stats() argument 89 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats() 90 gp_stat->mean += res[i].gp_ns / 1000.0 / (double)res[i].gp_ct / (0.0 + res_cnt); in grace_period_latency_basic_stats() 93 if (res_cnt > 1) { in grace_period_latency_basic_stats() 94 for (i = 0; i < res_cnt; i++) in grace_period_latency_basic_stats() 95 gp_stat->stddev += (IT_MEAN_DIFF * IT_MEAN_DIFF) / (res_cnt - 1.0); in grace_period_latency_basic_stats() 102 grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt, struct basic_stats *gp_stat) in grace_period_ticks_basic_stats() argument 107 for (i = 0; i < res_cnt; i++) in grace_period_ticks_basic_stats() [all …]
|
D | bench.h | 56 void (*report_final)(struct bench_res res[], int res_cnt); 68 void hits_drops_report_final(struct bench_res res[], int res_cnt); 70 void false_hits_report_final(struct bench_res res[], int res_cnt); 72 void ops_report_final(struct bench_res res[], int res_cnt); 75 void local_storage_report_final(struct bench_res res[], int res_cnt); 76 void grace_period_latency_basic_stats(struct bench_res res[], int res_cnt, 78 void grace_period_ticks_basic_stats(struct bench_res res[], int res_cnt,
|
/linux-6.1.9/drivers/infiniband/hw/usnic/ |
D | usnic_vnic.c | 182 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()
|
D | usnic_ib_qp_grp.c | 537 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.1.9/tools/testing/selftests/bpf/benchs/ |
D | bench_local_storage_rcu_tasks_trace.c | 242 static void report_final(struct bench_res res[], int res_cnt) in report_final() argument 246 grace_period_latency_basic_stats(res, res_cnt, &gp_stat); in report_final() 249 grace_period_ticks_basic_stats(res, res_cnt, &gp_stat); in report_final()
|
D | bench_bpf_hashmap_full_update.c | 71 void hashmap_report_final(struct bench_res res[], int res_cnt) in hashmap_report_final() argument
|
/linux-6.1.9/drivers/pnp/pnpacpi/ |
D | rsparser.c | 599 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.1.9/drivers/scsi/be2iscsi/ |
D | be_cmds.h | 1035 u32 res_cnt; member
|
D | be_main.c | 1135 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()
|