Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c950 struct mlxsw_afa_policer_ref *policer_ref) in mlxsw_afa_policer_ref_destroy() argument
952 mlxsw_afa_resource_del(&policer_ref->resource); in mlxsw_afa_policer_ref_destroy()
953 mlxsw_afa_policer_put(block->afa, policer_ref->policer); in mlxsw_afa_policer_ref_destroy()
954 kfree(policer_ref); in mlxsw_afa_policer_ref_destroy()
961 struct mlxsw_afa_policer_ref *policer_ref; in mlxsw_afa_policer_ref_destructor() local
963 policer_ref = container_of(resource, struct mlxsw_afa_policer_ref, in mlxsw_afa_policer_ref_destructor()
965 mlxsw_afa_policer_ref_destroy(block, policer_ref); in mlxsw_afa_policer_ref_destructor()
973 struct mlxsw_afa_policer_ref *policer_ref; in mlxsw_afa_policer_ref_create() local
977 policer_ref = kzalloc(sizeof(*policer_ref), GFP_KERNEL); in mlxsw_afa_policer_ref_create()
978 if (!policer_ref) in mlxsw_afa_policer_ref_create()
[all …]