Searched refs:used_groups (Results 1 – 3 of 3) sorted by relevance
140 DECLARE_BITMAP(used_groups, L2_EVT_GROUP_MAX + 1);365 if (test_bit(group, cluster->used_groups)) in l2_cache_get_event_idx()369 set_bit(group, cluster->used_groups); in l2_cache_get_event_idx()382 clear_bit(L2_EVT_GROUP(hwc->config_base), cluster->used_groups); in l2_cache_clear_event_idx()
60 tcam->used_groups = bitmap_zalloc(max_groups, GFP_KERNEL); in mlxsw_sp_acl_tcam_init()61 if (!tcam->used_groups) { in mlxsw_sp_acl_tcam_init()76 bitmap_free(tcam->used_groups); in mlxsw_sp_acl_tcam_init()89 bitmap_free(tcam->used_groups); in mlxsw_sp_acl_tcam_fini()142 id = find_first_zero_bit(tcam->used_groups, tcam->max_groups); in mlxsw_sp_acl_tcam_group_id_get()144 __set_bit(id, tcam->used_groups); in mlxsw_sp_acl_tcam_group_id_get()154 __clear_bit(id, tcam->used_groups); in mlxsw_sp_acl_tcam_group_id_put()
17 unsigned long *used_groups; /* bit array */ member