Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c51 unsigned long *used_lkey_id; member
133 region_12kb->used_lkey_id = bitmap_zalloc(max_lkey_id, GFP_KERNEL); in mlxsw_sp_acl_atcam_region_12kb_init()
134 if (!region_12kb->used_lkey_id) { in mlxsw_sp_acl_atcam_region_12kb_init()
150 bitmap_free(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_init()
162 bitmap_free(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_fini()
175 id = find_first_zero_bit(region_12kb->used_lkey_id, in mlxsw_sp_acl_atcam_lkey_id_create()
178 __set_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
203 __clear_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
217 __clear_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_destroy()