Searched refs:metarray_runtime (Results 1 – 2 of 2) sorted by relevance
1051 struct metarray_runtime { struct1579 struct metarray_runtime *metarray_runtime; member4033 struct metarray_runtime *r = &p->metarray_runtime[ip->meter.metarray_id]; in instr_meter_idx_hbo()4049 struct metarray_runtime *r = &p->metarray_runtime[ip->meter.metarray_id]; in instr_meter_idx_nbo()4068 struct metarray_runtime *r = &p->metarray_runtime[ip->meter.metarray_id]; in instr_meter_idx_imm()
10144 p->metarray_runtime = calloc(p->n_metarrays, sizeof(struct metarray_runtime)); in metarray_build()10145 CHECK(p->metarray_runtime, ENOMEM); in metarray_build()10148 struct metarray_runtime *r = &p->metarray_runtime[m->id]; in metarray_build()10170 if (!p->metarray_runtime) in metarray_build_free()10175 struct metarray_runtime *r = &p->metarray_runtime[i]; in metarray_build_free()10180 free(p->metarray_runtime); in metarray_build_free()10181 p->metarray_runtime = NULL; in metarray_build_free()11370 struct metarray_runtime *metarray_runtime; in rte_swx_ctl_meter_reset() local11380 metarray_runtime = &p->metarray_runtime[metarray->id]; in rte_swx_ctl_meter_reset()11381 m = &metarray_runtime->metarray[metarray_index]; in rte_swx_ctl_meter_reset()[all …]