Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_common/
Dadf_dev_mgr.c400 int vfs = 0; in adf_get_num_dettached_vfs() local
407 vfs++; in adf_get_num_dettached_vfs()
410 return vfs; in adf_get_num_dettached_vfs()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.h317 struct bnx2x_virtf *vfs; member
318 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \
319 &((bp)->vfdb->vfs[idx]) : NULL)
320 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var)
Dbnx2x_sriov.c1114 kfree(bp->vfdb->vfs); in __bnx2x_iov_free_vfdb()
1254 bp->vfdb->vfs = kzalloc(sizeof(struct bnx2x_virtf) * in bnx2x_iov_init_one()
1256 if (!bp->vfdb->vfs) { in bnx2x_iov_init_one()
/drivers/net/ethernet/mellanox/mlx4/
Dport.c1094 int vfs; in mlx4_get_slave_num_gids() local
1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids()
1123 if (slave_gid <= ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) % vfs)) in mlx4_get_slave_num_gids()
1124 return ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs) + 1; in mlx4_get_slave_num_gids()
1125 return (MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs; in mlx4_get_slave_num_gids()
1133 int vfs; in mlx4_get_base_gid_ix() local
1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix()
1161 if (slave_gid <= gids % vfs) in mlx4_get_base_gid_ix()
1162 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1); in mlx4_get_base_gid_ix()
1164 return MLX4_ROCE_PF_GIDS + (gids % vfs) + in mlx4_get_base_gid_ix()
[all …]
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c1263 struct i40e_vf *vfs; in i40e_alloc_vfs() local
1279 vfs = kcalloc(num_alloc_vfs, sizeof(struct i40e_vf), GFP_KERNEL); in i40e_alloc_vfs()
1280 if (!vfs) { in i40e_alloc_vfs()
1284 pf->vf = vfs; in i40e_alloc_vfs()
1288 vfs[i].pf = pf; in i40e_alloc_vfs()
1289 vfs[i].parent_type = I40E_SWITCH_ELEMENT_TYPE_VEB; in i40e_alloc_vfs()
1290 vfs[i].vf_id = i; in i40e_alloc_vfs()
1293 set_bit(I40E_VIRTCHNL_VF_CAP_L2, &vfs[i].vf_caps); in i40e_alloc_vfs()
1294 vfs[i].spoofchk = true; in i40e_alloc_vfs()
1296 set_bit(I40E_VF_STATE_PRE_ENABLE, &vfs[i].vf_states); in i40e_alloc_vfs()
Di40e_ethtool.c1850 struct i40e_vf *vfs = pf->vf; in i40e_active_vfs() local
1854 if (test_bit(I40E_VF_STATE_ACTIVE, &vfs[i].vf_states)) in i40e_active_vfs()
/drivers/net/ethernet/qlogic/qed/
Dqed_int.c1883 u16 vfs = p_hwfn->cdev->p_iov_info->total_vfs; in qed_int_igu_reset_cam() local
1885 if (vfs != p_info->usage.iov_cnt) in qed_int_igu_reset_cam()
1889 p_info->usage.iov_cnt, vfs); in qed_int_igu_reset_cam()
1895 if (vfs > p_info->usage.free_cnt + in qed_int_igu_reset_cam()
1901 p_info->usage.cnt, vfs); in qed_int_igu_reset_cam()
1908 p_info->usage.iov_cnt = vfs; in qed_int_igu_reset_cam()
/drivers/net/ethernet/cavium/thunder/
Dnic_main.c110 #define INTR_MASK(vfs) ((vfs < 64) ? (BIT_ULL(vfs) - 1) : (~0ull)) in nic_enable_mbx_intr() argument
/drivers/staging/lustre/
Dsysfs-fs-lustre235 Limit Lustre vfs operations gathering to just a single pid.
242 Limit Lustre vfs operations gathering to just a single ppid.
249 Limit Lustre vfs operations gathering to just a single gid.