Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_atcam.c129 region_12kb = kzalloc(sizeof(*region_12kb), GFP_KERNEL); in mlxsw_sp_acl_atcam_region_12kb_init()
130 if (!region_12kb) in mlxsw_sp_acl_atcam_region_12kb_init()
134 if (!region_12kb->used_lkey_id) { in mlxsw_sp_acl_atcam_region_12kb_init()
144 region_12kb->max_lkey_id = max_lkey_id; in mlxsw_sp_acl_atcam_region_12kb_init()
145 aregion->priv = region_12kb; in mlxsw_sp_acl_atcam_region_12kb_init()
150 bitmap_free(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_init()
152 kfree(region_12kb); in mlxsw_sp_acl_atcam_region_12kb_init()
162 bitmap_free(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_fini()
163 kfree(region_12kb); in mlxsw_sp_acl_atcam_region_12kb_fini()
176 region_12kb->max_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
[all …]