Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c75 struct mlxsw_sp_acl_atcam_region_generic *region_generic; in mlxsw_sp_acl_atcam_region_generic_init() local
77 region_generic = kzalloc(sizeof(*region_generic), GFP_KERNEL); in mlxsw_sp_acl_atcam_region_generic_init()
78 if (!region_generic) in mlxsw_sp_acl_atcam_region_generic_init()
81 refcount_set(&region_generic->dummy_lkey_id.refcnt, 1); in mlxsw_sp_acl_atcam_region_generic_init()
82 aregion->priv = region_generic; in mlxsw_sp_acl_atcam_region_generic_init()
97 struct mlxsw_sp_acl_atcam_region_generic *region_generic; in mlxsw_sp_acl_atcam_generic_lkey_id_get() local
99 region_generic = aregion->priv; in mlxsw_sp_acl_atcam_generic_lkey_id_get()
100 return &region_generic->dummy_lkey_id; in mlxsw_sp_acl_atcam_generic_lkey_id_get()