Searched refs:ref_entry (Results 1 – 4 of 4) sorted by relevance
33 struct ref_entry { struct54 struct ref_entry ref; argument143 static int comp_refs(struct ref_entry *ref1, struct ref_entry *ref2) in comp_refs()164 static struct ref_entry *insert_ref_entry(struct rb_root *root, in insert_ref_entry()165 struct ref_entry *ref) in insert_ref_entry()169 struct ref_entry *entry; in insert_ref_entry()174 entry = rb_entry(parent_node, struct ref_entry, node); in insert_ref_entry()238 struct ref_entry *ref; in free_block_entry()249 ref = rb_entry(n, struct ref_entry, node); in free_block_entry()317 struct ref_entry *ref = NULL, *exist; in add_tree_block()[all …]
2436 *start = req->ref_entry + 1; in npc_get_mcam_search_range_priority()2439 if (req->ref_entry >= mcam->hprio_end) in npc_get_mcam_search_range_priority()2462 *end = req->ref_entry; in npc_get_mcam_search_range_priority()2464 if (req->ref_entry <= mcam->lprio_start) in npc_get_mcam_search_range_priority()2564 end = req->ref_entry; in npc_mcam_alloc_entries()2568 start = req->ref_entry; in npc_mcam_alloc_entries()2629 (start != (req->ref_entry + 1))) { in npc_mcam_alloc_entries()2630 start = req->ref_entry + 1; in npc_mcam_alloc_entries()2635 ((end - start) != req->ref_entry)) { in npc_mcam_alloc_entries()2637 end = req->ref_entry; in npc_mcam_alloc_entries()[all …]
1323 u16 ref_entry; member1416 u16 ref_entry; member
115 req->ref_entry = flow_cfg->def_ent[0]; in otx2_alloc_mcam_entries()