Home
last modified time | relevance | path

Searched refs:parman_item (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/lib/
Dparman.c45 struct parman_item *item);
47 struct parman_item *item);
92 static struct parman_item *parman_prio_first_item(struct parman_prio *prio) in parman_prio_first_item()
95 typeof(struct parman_item), list); in parman_prio_first_item()
103 static struct parman_item *parman_prio_last_item(struct parman_prio *prio) in parman_prio_last_item()
106 typeof(struct parman_item), list); in parman_prio_last_item()
126 struct parman_item *item, unsigned long to_index, in __parman_prio_move()
135 struct parman_item *item; in parman_prio_shift_down()
150 struct parman_item *item; in parman_prio_shift_up()
164 struct parman_item *item) in parman_prio_item_remove()
[all …]
Dtest_parman.c72 struct parman_item parman_item; member
213 &item->parman_item); in test_parman_items_fini()
283 &item->parman_item); in test_parman_run()
286 test_parman->prio_array[item->parman_item.index] = item; in test_parman_run()
289 test_parman->prio_array[item->parman_item.index] = NULL; in test_parman_run()
292 &item->parman_item); in test_parman_run()
336 if (item->parman_item.index != i) { in test_parman_check_array()
338 item->parman_item.index, i); in test_parman_check_array()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_mr_tcam.c24 struct parman_item parman_item; member
29 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_replace() argument
37 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace()
47 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, true, parman_item->index, in mlxsw_sp1_mr_tcam_route_replace()
61 struct parman_item *parman_item, in mlxsw_sp1_mr_tcam_route_remove() argument
69 mlxsw_reg_rmft2_ipv4_pack(rmft2_pl, false, parman_item->index, in mlxsw_sp1_mr_tcam_route_remove()
73 mlxsw_reg_rmft2_ipv6_pack(rmft2_pl, false, parman_item->index, in mlxsw_sp1_mr_tcam_route_remove()
101 &route->parman_item); in mlxsw_sp1_mr_tcam_route_parman_item_add()
118 route->parman_prio, &route->parman_item); in mlxsw_sp1_mr_tcam_route_parman_item_remove()
137 err = mlxsw_sp1_mr_tcam_route_replace(mlxsw_sp, &route->parman_item, in mlxsw_sp1_mr_tcam_route_create()
[all …]
Dspectrum_acl_ctcam.c62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert()
95 centry->parman_item.index, 0); in mlxsw_sp_acl_ctcam_region_entry_remove()
112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace()
198 &centry->parman_item); in mlxsw_sp_acl_ctcam_entry_add()
210 &centry->parman_item); in mlxsw_sp_acl_ctcam_entry_add()
221 &centry->parman_item); in mlxsw_sp_acl_ctcam_entry_del()
Dspectrum_acl_tcam.h100 struct parman_item parman_item; member
138 return centry->parman_item.index; in mlxsw_sp_acl_ctcam_entry_offset()
/linux-6.6.21/include/linux/
Dparman.h44 struct parman_item { struct
72 struct parman_item *item);
74 struct parman_item *item);