Searched refs:region_12kb (Results 1 – 1 of 1) sorted by relevance
121 struct mlxsw_sp_acl_atcam_region_12kb *region_12kb; in mlxsw_sp_acl_atcam_region_12kb_init() local130 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(®ion_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 …]