Searched refs:used_regions (Results 1 – 2 of 2) sorted by relevance
62 id = find_first_zero_bit(tcam->used_regions, tcam->max_regions); in mlxsw_sp_acl_tcam_region_id_get()64 __set_bit(id, tcam->used_regions); in mlxsw_sp_acl_tcam_region_id_get()74 __clear_bit(id, tcam->used_regions); in mlxsw_sp_acl_tcam_region_id_put()1551 tcam->used_regions = bitmap_zalloc(max_regions, GFP_KERNEL); in mlxsw_sp_acl_tcam_init()1552 if (!tcam->used_regions) { in mlxsw_sp_acl_tcam_init()1577 bitmap_free(tcam->used_regions); in mlxsw_sp_acl_tcam_init()1592 bitmap_free(tcam->used_regions); in mlxsw_sp_acl_tcam_fini()
15 unsigned long *used_regions; /* bit array */ member