Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c121 struct mlxsw_sp_acl_atcam_region_12kb *region_12kb; in mlxsw_sp_acl_atcam_region_12kb_init() local
130 region_12kb = kzalloc(sizeof(*region_12kb), GFP_KERNEL); in mlxsw_sp_acl_atcam_region_12kb_init()
131 if (!region_12kb) in mlxsw_sp_acl_atcam_region_12kb_init()
135 region_12kb->used_lkey_id = kzalloc(alloc_size, GFP_KERNEL); in mlxsw_sp_acl_atcam_region_12kb_init()
136 if (!region_12kb->used_lkey_id) { in mlxsw_sp_acl_atcam_region_12kb_init()
141 err = rhashtable_init(&region_12kb->lkey_ht, in mlxsw_sp_acl_atcam_region_12kb_init()
146 region_12kb->max_lkey_id = max_lkey_id; in mlxsw_sp_acl_atcam_region_12kb_init()
147 aregion->priv = region_12kb; in mlxsw_sp_acl_atcam_region_12kb_init()
152 kfree(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_init()
154 kfree(region_12kb); in mlxsw_sp_acl_atcam_region_12kb_init()
[all …]