Searched refs:sr_entry (Results 1 – 2 of 2) sorted by relevance
460 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[idx]; in tf_shadow_tcam_bind_index()473 sr_entry->key_size = parms->key_size; in tf_shadow_tcam_bind_index()474 sr_entry->hb_handle = parms->hb_handle; in tf_shadow_tcam_bind_index()475 sr_entry->refcnt = 1; in tf_shadow_tcam_bind_index()526 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[idx]; in tf_shadow_tcam_remove()527 if (sr_entry->refcnt <= 1) { in tf_shadow_tcam_remove()528 hb_handle = sr_entry->hb_handle; in tf_shadow_tcam_remove()532 sr_entry->refcnt--; in tf_shadow_tcam_remove()533 fparms->ref_cnt = sr_entry->refcnt; in tf_shadow_tcam_remove()722 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[idx]; in tf_shadow_tcam_insert()[all …]
391 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[sh_idx]; in tf_shadow_tbl_clear_sh_entry()448 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[idx]; in tf_shadow_tbl_bind_index()454 sr_entry->key_size = len; in tf_shadow_tbl_bind_index()455 sr_entry->hb_handle = parms->hb_handle; in tf_shadow_tbl_bind_index()456 sr_entry->refcnt = 1; in tf_shadow_tbl_bind_index()508 sr_entry = &ctxt->shadow_ctxt.sh_res_tbl[idx]; in tf_shadow_tbl_remove()509 if (sr_entry->refcnt <= 1) { in tf_shadow_tbl_remove()510 hb_handle = sr_entry->hb_handle; in tf_shadow_tbl_remove()514 sr_entry->refcnt--; in tf_shadow_tbl_remove()515 fparms->ref_cnt = sr_entry->refcnt; in tf_shadow_tbl_remove()[all …]