Searched refs:aparms (Results 1 – 8 of 8) sorted by relevance
248 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_alloc()254 rc = tf_rm_allocate(&aparms); in tf_tcam_alloc()331 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_free()398 aparms.index += i; in tf_tcam_free()530 memset(&aparms, 0, sizeof(aparms)); in tf_tcam_alloc_search()531 aparms.dir = parms->dir; in tf_tcam_alloc_search()532 aparms.type = parms->type; in tf_tcam_alloc_search()547 bparms.idx = aparms.idx; in tf_tcam_alloc_search()563 fparms.idx = aparms.idx; in tf_tcam_alloc_search()570 parms->idx = aparms.idx; in tf_tcam_alloc_search()[all …]
164 aparms.db_index = parms->type; in tf_ident_alloc()165 aparms.index = &id; in tf_ident_alloc()166 aparms.base_index = &base_id; in tf_ident_alloc()167 rc = tf_rm_allocate(&aparms); in tf_ident_alloc()218 aparms.db_index = parms->type; in tf_ident_free()219 aparms.index = parms->id; in tf_ident_free()220 aparms.base_index = &base_id; in tf_ident_free()221 aparms.allocated = &allocated; in tf_ident_free()301 aparms.db_index = parms->type; in tf_ident_search()303 aparms.base_index = &base_id; in tf_ident_search()[all …]
210 aparms.db_index = parms->type; in tf_tbl_alloc()211 aparms.index = &idx; in tf_tbl_alloc()212 rc = tf_rm_allocate(&aparms); in tf_tbl_alloc()247 aparms.db_index = parms->type; in tf_tbl_free()248 aparms.index = parms->idx; in tf_tbl_free()375 memset(&aparms, 0, sizeof(aparms)); in tf_tbl_alloc_search()376 aparms.dir = parms->dir; in tf_tbl_alloc_search()377 aparms.type = parms->type; in tf_tbl_alloc_search()379 aparms.idx = &idx; in tf_tbl_alloc_search()453 aparms.index = parms->idx; in tf_tbl_set()[all …]
377 struct tf_rm_allocate_parms aparms = { 0 }; in tf_em_ext_alloc() local381 aparms.rm_db = eem_db[TF_DIR_RX]; in tf_em_ext_alloc()382 aparms.db_index = TF_EM_TBL_TYPE_TBL_SCOPE; in tf_em_ext_alloc()383 aparms.index = (uint32_t *)&parms->tbl_scope_id; in tf_em_ext_alloc()384 rc = tf_rm_allocate(&aparms); in tf_em_ext_alloc()504 struct tf_rm_free_parms aparms = { 0 }; in tf_em_ext_free() local514 aparms.rm_db = eem_db[TF_DIR_RX]; in tf_em_ext_free()515 aparms.db_index = TF_EM_TBL_TYPE_TBL_SCOPE; in tf_em_ext_free()516 aparms.index = parms->tbl_scope_id; in tf_em_ext_free()517 rc = tf_rm_free(&aparms); in tf_em_ext_free()
135 aparms.attach_cfg = parms; in tf_attach_session()137 &aparms); in tf_attach_session()462 aparms.dir = parms->dir; in tf_alloc_identifier()463 aparms.type = parms->ident_type; in tf_alloc_identifier()464 aparms.id = &id; in tf_alloc_identifier()713 aparms.dir = parms->dir; in tf_alloc_tcam_entry()726 parms->idx = aparms.idx; in tf_alloc_tcam_entry()867 struct tf_tbl_alloc_parms aparms; in tf_alloc_tbl_entry() local895 aparms.dir = parms->dir; in tf_alloc_tbl_entry()896 aparms.type = parms->type; in tf_alloc_tbl_entry()[all …]
1057 struct tfp_calloc_parms aparms; in tf_em_ext_map_tbl_scope() local1088 aparms.nitems = 2; in tf_em_ext_map_tbl_scope()1089 aparms.size = sizeof(uint32_t); in tf_em_ext_map_tbl_scope()1090 aparms.alignment = 0; in tf_em_ext_map_tbl_scope()1092 if (tfp_calloc(&aparms) != 0) { in tf_em_ext_map_tbl_scope()1097 data = aparms.mem_va; in tf_em_ext_map_tbl_scope()1099 if (tfp_calloc(&aparms) != 0) { in tf_em_ext_map_tbl_scope()1105 mask = aparms.mem_va; in tf_em_ext_map_tbl_scope()
277 struct tf_rm_get_alloc_info_parms aparms; in tf_rm_check_residuals() local325 aparms.rm_db = rm_db; in tf_rm_check_residuals()331 aparms.db_index = i; in tf_rm_check_residuals()332 aparms.info = &info; in tf_rm_check_residuals()333 rc = tf_rm_get_info(&aparms); in tf_rm_check_residuals()
155 aparms.dir = glb_res->direction; in ulp_mapper_resource_index_tbl_alloc()157 aparms.tbl_scope_id = tbl_scope_id; in ulp_mapper_resource_index_tbl_alloc()164 aparms.type); in ulp_mapper_resource_index_tbl_alloc()175 free_parms.dir = aparms.dir; in ulp_mapper_resource_index_tbl_alloc()176 free_parms.type = aparms.type; in ulp_mapper_resource_index_tbl_alloc()177 free_parms.idx = aparms.idx; in ulp_mapper_resource_index_tbl_alloc()1611 aparms.dir = tbl->direction; in ulp_mapper_tcam_tbl_process()1641 idx = aparms.idx; in ulp_mapper_tcam_tbl_process()1642 hit = aparms.hit; in ulp_mapper_tcam_tbl_process()2051 aparms.dir = tbl->direction; in ulp_mapper_index_tbl_process()[all …]