Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_port_range.c19 struct xarray prr_xa; member
62 err = xa_alloc(&pr_core->prr_xa, &prr->index, prr, pr_core->prr_ids, in mlxsw_sp_port_range_reg_create()
81 xa_erase(&pr_core->prr_xa, prr->index); in mlxsw_sp_port_range_reg_create()
93 xa_erase(&pr_core->prr_xa, prr->index); in mlxsw_sp_port_range_reg_destroy()
105 xa_for_each(&pr_core->prr_xa, index, prr) { in mlxsw_sp_port_range_reg_find()
143 prr = xa_load(&pr_core->prr_xa, prr_index); in mlxsw_sp_port_range_reg_put()
181 xa_init_flags(&pr_core->prr_xa, XA_FLAGS_ALLOC); in mlxsw_sp_port_range_init()
197 WARN_ON(!xa_empty(&pr_core->prr_xa)); in mlxsw_sp_port_range_fini()
198 xa_destroy(&pr_core->prr_xa); in mlxsw_sp_port_range_fini()