Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/perf/
Dqcom_l2_pmu.c140 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c60 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()
Dspectrum_acl_tcam.h17 unsigned long *used_groups; /* bit array */ member