Lines Matching refs:cache_entry
390 struct bnxt_ulp_mapper_cache_entry *cache_entry; in ulp_mapper_cache_entry_free() local
402 cache_entry = ulp_mapper_cache_entry_get(ulp, table_id, in ulp_mapper_cache_entry_free()
404 if (!cache_entry || !cache_entry->ref_count) { in ulp_mapper_cache_entry_free()
415 cache_entry->ref_count--; in ulp_mapper_cache_entry_free()
416 if (cache_entry->ref_count) in ulp_mapper_cache_entry_free()
426 tcam_parms.idx = cache_entry->tcam_idx; in ulp_mapper_cache_entry_free()
439 if (cache_entry->idents[i] == ULP_IDENTS_INVALID) in ulp_mapper_cache_entry_free()
443 ident_parms.ident_type = cache_entry->ident_types[i]; in ulp_mapper_cache_entry_free()
444 ident_parms.id = cache_entry->idents[i]; in ulp_mapper_cache_entry_free()
2157 struct bnxt_ulp_mapper_cache_entry *cache_entry; in ulp_mapper_cache_tbl_process() local
2206 cache_entry = ulp_mapper_cache_entry_get(parms->ulp_ctx, in ulp_mapper_cache_tbl_process()
2217 if (!cache_entry->ref_count) { in ulp_mapper_cache_tbl_process()
2219 cache_entry->tcam_idx = 0; in ulp_mapper_cache_tbl_process()
2220 cache_entry->ref_count = 0; in ulp_mapper_cache_tbl_process()
2222 cache_entry->idents[i] = ULP_IDENTS_INVALID; in ulp_mapper_cache_tbl_process()
2236 cache_entry->ident_types[i] = idents[i].ident_type; in ulp_mapper_cache_tbl_process()
2237 cache_entry->idents[i] = tmp_ident; in ulp_mapper_cache_tbl_process()
2243 parms->cache_ptr = cache_entry; in ulp_mapper_cache_tbl_process()
2247 regval = (uint64_t)cache_entry->idents[i]; in ulp_mapper_cache_tbl_process()
2264 cache_entry->ref_count++; in ulp_mapper_cache_tbl_process()
2296 if (cache_entry->idents[i] == ULP_IDENTS_INVALID) in ulp_mapper_cache_tbl_process()
2301 fparms.id = cache_entry->idents[i]; in ulp_mapper_cache_tbl_process()