picker            106 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 					struct mlxsw_afk_picker *picker,
picker            120 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				__set_bit(element, picker->hits[i].element);
picker            121 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				picker->hits[i].total++;
picker            128 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 					   struct mlxsw_afk_picker *picker,
picker            135 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	memcpy(&hits_element, &picker->hits[block_index].element,
picker            140 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 			if (__test_and_clear_bit(j, picker->hits[i].element))
picker            141 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 				picker->hits[i].total--;
picker            147 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 					  struct mlxsw_afk_picker *picker)
picker            154 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		if (picker->hits[i].total > most_hits) {
picker            155 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 			most_hits = picker->hits[i].total;
picker            163 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 					 struct mlxsw_afk_picker *picker,
picker            172 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	for_each_set_bit(element, picker->hits[block_index].element,
picker            188 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	struct mlxsw_afk_picker *picker;
picker            193 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	alloc_size = sizeof(picker->hits[0]) * mlxsw_afk->blocks_count;
picker            194 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	picker = kzalloc(alloc_size, GFP_KERNEL);
picker            195 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	if (!picker)
picker            212 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		mlxsw_afk_picker_count_hits(mlxsw_afk, picker, element);
picker            217 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		block_index = mlxsw_afk_picker_most_hits_get(mlxsw_afk, picker);
picker            222 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		err = mlxsw_afk_picker_key_info_add(mlxsw_afk, picker,
picker            226 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 		mlxsw_afk_picker_subtract_hits(mlxsw_afk, picker, block_index);
picker            231 drivers/net/ethernet/mellanox/mlxsw/core_acl_flex_keys.c 	kfree(picker);