Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_atcam.c51 unsigned long *used_lkey_id; member
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()
152 kfree(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_init()
164 kfree(region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_region_12kb_fini()
177 id = find_first_zero_bit(region_12kb->used_lkey_id, in mlxsw_sp_acl_atcam_lkey_id_create()
180 __set_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
205 __clear_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_create()
219 __clear_bit(id, region_12kb->used_lkey_id); in mlxsw_sp_acl_atcam_lkey_id_destroy()