Home
last modified time | relevance | path

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

12

/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.table_lock); in ice_set_per_vf_res()
423 pf->vfs.num_qps_per = min_t(int, num_txq, num_rxq); in ice_set_per_vf_res()
424 pf->vfs.num_msix_per = num_msix_per_vf; in ice_set_per_vf_res()
[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()
560 &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()
H A Dcore.h183 struct pdsc_vf *vfs; member
/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/marvell/octeontx2/af/cn20k/
H A Dapi.h30 void cn20k_rvu_enable_afvf_intr(struct rvu *rvu, int vfs);
31 void cn20k_rvu_disable_afvf_intr(struct rvu *rvu, int vfs);
/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/scripts/gdb/
H A Dvmlinux-gdb.py43 import linux.vfs
/linux/scripts/gdb/linux/
H A Dproc.py20 from linux import vfs
184 pathname = vfs.dentry_name(mntpoint) + pathname
/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/samples/
H A DMakefile34 subdir-$(CONFIG_SAMPLE_VFS) += 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/drivers/net/ethernet/marvell/octeontx2/af/
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/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/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/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/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.c1831 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[i].spoofchk = true; in i40e_alloc_vfs()
1864 set_bit(I40E_VF_STATE_PRE_ENABLE, &vfs[i].vf_states); in i40e_alloc_vfs()
/linux/Documentation/trace/
H A Dboottime-trace.rst300 …ns=sym-addr trace_event=initcall:* tp_printk trace_buf_size=1M ftrace=function ftrace_filter="vfs*"
310 ftrace_filter = "vfs*"

12