Lines Matching defs:vf
865 /*The function checks if there are live vf, return the num of them*/
2313 struct counter_index *vf, *tmp_vf;
2329 list_for_each_entry_safe(vf, tmp_vf,
2333 if (__mlx4_clear_if_stat(dev, vf->index))
2335 __func__, vf->index);
2336 list_del(&vf->list);
2337 kfree(vf);
2351 struct counter_index *vf, *tmp_vf;
2361 list_for_each_entry_safe(vf, tmp_vf,
2365 if (__mlx4_clear_if_stat(dev, vf->index))
2367 __func__, vf->index);
2368 if (first++ && vf->index != MLX4_SINK_COUNTER_INDEX) {
2370 , __func__, vf->index, slave, i + 1);
2371 mlx4_bitmap_free(&priv->counters_table.bitmap, vf->index, MLX4_USE_RR);
2372 list_del(&vf->list);
2373 kfree(vf);
2376 , __func__, vf->index, slave, i + 1);
2509 struct counter_index *vf, *tmp_vf;
2557 list_for_each_entry_safe(vf, tmp_vf,
2561 if (vf->index == idx) {
2563 if (__mlx4_clear_if_stat(dev, vf->index))
2565 __func__, vf->index);
2567 list_del(&vf->list);
2568 kfree(vf);
3573 * driver while there are alive vf's */