Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dmbox_init.c364 void cn20k_rvu_disable_afvf_intr(struct rvu *rvu, int vfs) in cn20k_rvu_disable_afvf_intr() argument
366 rvupf_write64(rvu, RVU_MBOX_PF_VFPF_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
367 rvupf_write64(rvu, RVU_MBOX_PF_VFPF1_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
368 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
369 rvupf_write64(rvu, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
371 if (vfs <= 64) in cn20k_rvu_disable_afvf_intr()
374 rvupf_write64(rvu, RVU_MBOX_PF_VFPF_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
375 rvupf_write64(rvu, RVU_MBOX_PF_VFPF1_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
376 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
377 rvupf_write64(rvu, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
[all …]
H A Dapi.h31 void cn20k_rvu_enable_afvf_intr(struct rvu *rvu, int vfs);
32 void cn20k_rvu_disable_afvf_intr(struct rvu *rvu, int vfs);
/linux/drivers/gpu/drm/xe/
H A Dxe_sriov_pf_service.c92 xe->sriov.pf.vfs[vfid].version.major = major; in pf_connect()
93 xe->sriov.pf.vfs[vfid].version.minor = minor; in pf_connect()
100 xe->sriov.pf.vfs[vfid].version.major = 0; in pf_disconnect()
101 xe->sriov.pf.vfs[vfid].version.minor = 0; in pf_disconnect()
121 return major == xe->sriov.pf.vfs[vfid].version.major && in xe_sriov_pf_service_is_negotiated()
122 minor <= xe->sriov.pf.vfs[vfid].version.minor; in xe_sriov_pf_service_is_negotiated()
206 version = &xe->sriov.pf.vfs[n].version; in xe_sriov_pf_service_print_versions()
H A Dxe_gt_sriov_pf_monitor.c32 gt->sriov.pf.vfs[vfid].monitor.guc.events[e] = 0; in xe_gt_sriov_pf_monitor_flr()
41 gt->sriov.pf.vfs[vfid].monitor.guc.events[e]++; in pf_update_event_counter()
129 data = &gt->sriov.pf.vfs[n].monitor; in xe_gt_sriov_pf_monitor_print_events()
H A Dxe_sriov_pf_migration.c24 return &xe->sriov.pf.vfs[vfid].migration; in pf_pick_migration()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c26 struct ice_vfs *vfs = &pf->vfs; in ice_free_vf_entries() local
35 lockdep_assert_held(&vfs->table_lock); in ice_free_vf_entries()
37 hash_for_each_safe(vfs->table, bkt, tmp, vf, entry) { in ice_free_vf_entries()
134 struct ice_vfs *vfs = &pf->vfs; in ice_free_vfs() local
154 mutex_lock(&vfs->table_lock); in ice_free_vfs()
181 vfs->num_qps_per = 0; in ice_free_vfs()
184 mutex_unlock(&vfs->table_lock); in ice_free_vfs()
377 lockdep_assert_held(&pf->vfs in ice_set_per_vf_res()
688 struct ice_vfs *vfs = &pf->vfs; ice_create_vf_entries() local
[all...]
H A Dice_vf_lib.c30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) { in ice_get_vf_by_id()
94 return !hash_empty(pf->vfs.table); in ice_has_vfs()
759 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs()
767 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
824 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
1032 struct ice_vfs *vfs; in ice_initialize_vf_entry() local
1034 vfs = &pf->vfs; in ice_initialize_vf_entry()
1042 vf->num_msix = vfs->num_msix_per; in ice_initialize_vf_entry()
1043 vf->num_vf_qs = vfs->num_qps_per; in ice_initialize_vf_entry()
H A Dice_vf_lib.h269 hash_for_each((pf)->vfs.table, (bkt), (vf), entry)
286 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c151 pdsc->vfs = kzalloc_objs(struct pdsc_vf, num_vfs); in pdsc_sriov_configure()
152 if (!pdsc->vfs) in pdsc_sriov_configure()
169 kfree(pdsc->vfs); in pdsc_sriov_configure()
170 pdsc->vfs = NULL; in pdsc_sriov_configure()
193 pf->vfs[vf->vf_id].vf = vf; in pdsc_init_vf()
195 &pf->vfs[vf->vf_id].padev); in pdsc_init_vf()
436 pdsc_auxbus_dev_del(pdsc, pf, &pf->vfs[pdsc->vf_id].padev); in pdsc_remove()
437 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove()
511 &pf->vfs[pdsc->vf_id].padev); in pdsc_reset_prepare()
566 &pf->vfs[pdsc->vf_id].padev); in pdsc_reset_done()
H A Ddevlink.c58 struct pdsc *vf = pdsc->vfs[vf_id].vf; in pdsc_dl_enable_set()
62 &pdsc->vfs[vf_id].padev); in pdsc_dl_enable_set()
64 pdsc_auxbus_dev_del(vf, pdsc, &pdsc->vfs[vf_id].padev); in pdsc_dl_enable_set()
/linux/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh200 vfs=0
226 vfs="$((vfs + 1))"
230 test "$vfs" != 0
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_bus_pci.c118 if (!ionic->vfs) in ionic_vf_dealloc_locked()
122 v = &ionic->vfs[i]; in ionic_vf_dealloc_locked()
133 kfree(ionic->vfs); in ionic_vf_dealloc_locked()
134 ionic->vfs = NULL; in ionic_vf_dealloc_locked()
154 ionic->vfs = kzalloc_objs(struct ionic_vf, num_vfs); in ionic_vf_alloc()
155 if (!ionic->vfs) { in ionic_vf_alloc()
161 v = &ionic->vfs[i]; in ionic_vf_alloc()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c2802 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local
2809 if (vfs > 64) { in rvu_mbox_intr_handler()
2813 rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr); in rvu_mbox_intr_handler()
2814 vfs = 64; in rvu_mbox_intr_handler()
2822 rvu_queue_work(&rvu->afvf_wq_info, 0, vfs, intr); in rvu_mbox_intr_handler()
3026 if (rvu->vfs > 64) in rvu_flr_intr_handler()
3027 rvu_afvf_queue_flr_work(rvu, 64, rvu->vfs - 64); in rvu_flr_intr_handler()
3398 int vfs = rvu->vfs; in rvu_disable_afvf_intr() local
3401 return cn20k_rvu_disable_afvf_intr(rvu, vfs); in rvu_disable_afvf_intr()
3403 rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr()
[all …]
H A Drvu_cn10k.c28 int pfs, vfs; in lmtst_map_table_ops() local
32 vfs = 1 << (cfg & 0xF); in lmtst_map_table_ops()
35 lmt_map_base = ioremap_wc(tbl_base, pfs * vfs * LMT_MAPTBL_ENTRY_SIZE); in lmtst_map_table_ops()
/linux/scripts/gdb/linux/
H A Dproc.py20 from linux import vfs
184 pathname = vfs.dentry_name(mntpoint) + pathname
/linux/scripts/gdb/
H A Dvmlinux-gdb.py43 import linux.vfs
/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.h320 struct bnx2x_virtf *vfs; member
321 #define BP_VF(bp, idx) ((BP_VFDB(bp) && (bp)->vfdb->vfs) ? \
322 &((bp)->vfdb->vfs[idx]) : NULL)
323 #define bnx2x_vf(bp, idx, var) ((bp)->vfdb->vfs[idx].var)
/linux/tools/testing/ktest/examples/bootconfigs/
H A Dboottrace.bconf58 ftrace_filter = "vfs*"
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c1074 int vfs; in mlx4_get_slave_num_gids() local
1102 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids()
1103 if (slave_gid <= ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) % vfs)) in mlx4_get_slave_num_gids()
1104 return ((MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs) + 1; in mlx4_get_slave_num_gids()
1105 return (MLX4_ROCE_MAX_GIDS - MLX4_ROCE_PF_GIDS) / vfs; in mlx4_get_slave_num_gids()
1113 int vfs; in mlx4_get_base_gid_ix() local
1140 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix()
1141 if (slave_gid <= gids % vfs) in mlx4_get_base_gid_ix()
1142 return MLX4_ROCE_PF_GIDS + ((gids / vfs) + 1) * (slave_gid - 1); in mlx4_get_base_gid_ix()
1144 return MLX4_ROCE_PF_GIDS + (gids % vfs) + in mlx4_get_base_gid_ix()
[all …]
/linux/samples/
H A DMakefile34 subdir-$(CONFIG_SAMPLE_VFS) += vfs
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c82 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() local
85 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
90 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
94 if (vfs <= 64) in otx2_disable_flr_me_intr()
97 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr()
101 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr()
553 int vfs = pf->total_vfs; in otx2_pfvf_mbox_intr_handler() local
559 if (vfs > 64) { in otx2_pfvf_mbox_intr_handler()
562 otx2_queue_vf_work(mbox, pf->mbox_pfvf_wq, 64, vfs, intr); in otx2_pfvf_mbox_intr_handler()
565 vfs = 64; in otx2_pfvf_mbox_intr_handler()
[all …]
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_int.c2059 u16 vfs = p_hwfn->cdev->p_iov_info->total_vfs; in qed_int_igu_reset_cam() local
2061 if (vfs != p_info->usage.iov_cnt) in qed_int_igu_reset_cam()
2065 p_info->usage.iov_cnt, vfs); in qed_int_igu_reset_cam()
2071 if (vfs > p_info->usage.free_cnt + in qed_int_igu_reset_cam()
2077 p_info->usage.cnt, vfs); in qed_int_igu_reset_cam()
2084 p_info->usage.iov_cnt = vfs; in qed_int_igu_reset_cam()
/linux/Documentation/filesystems/smb/
H A Dksmbd.rst178 2. Enable one of the components (smb, auth, vfs, oplock, ipc, conn, rdma)
183 [smb] auth vfs oplock ipc conn [rdma]
/linux/Documentation/admin-guide/cifs/
H A Dusage.rst46 If you have built the CIFS vfs as module (successfully) simply
50 If you have built the CIFS vfs into the kernel itself, follow the instructions
92 with the cifs vfs. A way to enable such mounting is to mark the mount.cifs
144 2.2.5 or later) but the CIFS vfs works fine with a wide variety of CIFS servers.
182 (``man smb.conf``) on the Samba server system. Note that the cifs vfs,
183 unlike the smbfs vfs, does not read the smb.conf on the client system
198 application using the cifs vfs. Absolute symlinks will work to Samba 3.0.5 or
214 After -o the following commonly used cifs vfs specific options
440 the cifs vfs.
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c31 /* Not all vfs are enabled so skip the ones that are not */ in i40e_vc_vf_broadcast()
1831 struct i40e_vf *vfs; in i40e_alloc_vfs() local
1847 vfs = kzalloc_objs(struct i40e_vf, num_alloc_vfs); in i40e_alloc_vfs()
1848 if (!vfs) { in i40e_alloc_vfs()
1852 pf->vf = vfs; in i40e_alloc_vfs()
1856 vfs[i].pf = pf; in i40e_alloc_vfs()
1857 vfs[i].parent_type = I40E_SWITCH_ELEMENT_TYPE_VEB; in i40e_alloc_vfs()
1858 vfs[i].vf_id = i; in i40e_alloc_vfs()
1861 set_bit(I40E_VIRTCHNL_VF_CAP_L2, &vfs[i].vf_caps); in i40e_alloc_vfs()
1862 vfs[ in i40e_alloc_vfs()
[all...]

12