/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_sriov.c | 26 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() 153 struct ice_vfs *vfs = &pf->vfs; in ice_free_vfs() local 173 mutex_lock(&vfs->table_lock); in ice_free_vfs() 206 vfs->num_qps_per = 0; in ice_free_vfs() 209 mutex_unlock(&vfs->table_lock); in ice_free_vfs() 438 lockdep_assert_held(&pf->vfs.table_lock); in ice_set_per_vf_res() 492 pf->vfs.num_qps_per = min_t(int, num_txq, num_rxq); in ice_set_per_vf_res() 493 pf->vfs.num_msix_per = num_msix_per_vf; in ice_set_per_vf_res() [all …]
|
H A D | ice_vf_lib.c | 30 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() 758 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs() 766 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs() 817 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs() 1011 struct ice_vfs *vfs; in ice_initialize_vf_entry() local 1013 vfs = &pf->vfs; in ice_initialize_vf_entry() 1021 vf->num_msix = vfs->num_msix_per; in ice_initialize_vf_entry() 1022 vf->num_vf_qs = vfs->num_qps_per; in ice_initialize_vf_entry()
|
H A D | ice_vf_lib.h | 206 hash_for_each((pf)->vfs.table, (bkt), (vf), entry) 223 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_gt_sriov_pf.c | 36 gt->sriov.pf.vfs = drmm_kcalloc(>_to_xe(gt)->drm, 1 + num_vfs, in pf_alloc_metadata() 37 sizeof(*gt->sriov.pf.vfs), GFP_KERNEL); in pf_alloc_metadata() 38 if (!gt->sriov.pf.vfs) in pf_alloc_metadata()
|
H A D | xe_gt_sriov_pf_monitor.c | 32 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() 127 data = >->sriov.pf.vfs[n].monitor; in xe_gt_sriov_pf_monitor_print_events()
|
H A D | xe_gt_sriov_pf_types.h | 53 struct xe_gt_sriov_metadata *vfs; member
|
/linux/tools/testing/selftests/powerpc/eeh/ |
H A D | eeh-functions.sh | 200 vfs=0 226 vfs="$((vfs + 1))" 230 test "$vfs" != 0
|
/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_bus_pci.c | 117 if (!ionic->vfs) in ionic_vf_dealloc_locked() 121 v = &ionic->vfs[i]; in ionic_vf_dealloc_locked() 132 kfree(ionic->vfs); in ionic_vf_dealloc_locked() 133 ionic->vfs = NULL; in ionic_vf_dealloc_locked() 153 ionic->vfs = kcalloc(num_vfs, sizeof(struct ionic_vf), GFP_KERNEL); in ionic_vf_alloc() 154 if (!ionic->vfs) { in ionic_vf_alloc() 160 v = &ionic->vfs[i]; in ionic_vf_alloc()
|
H A D | ionic.h | 65 struct ionic_vf *vfs; member
|
H A D | ionic_lif.c | 2363 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_config() 2366 struct ionic_vf *vfdata = &ionic->vfs[vf]; in ionic_get_vf_config() 2395 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_stats() 2399 vs = &ionic->vfs[vf].stats; in ionic_get_vf_stats() 2434 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_mac() 2443 ether_addr_copy(ionic->vfs[vf].macaddr, mac); in ionic_set_vf_mac() 2473 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_vlan() 2482 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan() 2506 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_rate() 2515 ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu.c | 2625 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local 2632 if (vfs > 64) { in rvu_mbox_intr_handler() 2636 rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr); in rvu_mbox_intr_handler() 2637 vfs -= 64; in rvu_mbox_intr_handler() 2645 rvu_queue_work(&rvu->afvf_wq_info, 0, vfs, intr); in rvu_mbox_intr_handler() 2834 if (rvu->vfs > 64) in rvu_flr_intr_handler() 2835 rvu_afvf_queue_flr_work(rvu, 64, rvu->vfs - 64); in rvu_flr_intr_handler() 3174 int vfs = rvu->vfs; in rvu_disable_afvf_intr() local 3176 rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr() 3177 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr() [all …]
|
/linux/drivers/net/ethernet/amd/pds_core/ |
H A D | main.c | 149 pdsc->vfs = kcalloc(num_vfs, sizeof(struct pdsc_vf), in pdsc_sriov_configure() 151 if (!pdsc->vfs) in pdsc_sriov_configure() 168 kfree(pdsc->vfs); in pdsc_sriov_configure() 169 pdsc->vfs = NULL; in pdsc_sriov_configure() 192 pf->vfs[vf->vf_id].vf = vf; in pdsc_init_vf() 421 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove()
|
H A D | auxbus.c | 188 padev = pf->vfs[cf->vf_id].padev; in pdsc_auxbus_dev_del() 195 pf->vfs[cf->vf_id].padev = NULL; in pdsc_auxbus_dev_del() 261 pf->vfs[cf->vf_id].padev = padev; in pdsc_auxbus_dev_add()
|
H A D | devlink.c | 57 struct pdsc *vf = pdsc->vfs[vf_id].vf; in pdsc_dl_enable_set()
|
/linux/scripts/gdb/linux/ |
H A D | proc.py | 20 from linux import vfs 184 pathname = vfs.dentry_name(mntpoint) + pathname
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.h | 320 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/scripts/gdb/ |
H A D | vmlinux-gdb.py | 43 import linux.vfs
|
/linux/fs/nfsd/ |
H A D | Makefile | 13 nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \
|
/linux/fs/smb/server/ |
H A D | Makefile | 7 ksmbd-y := unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
|
/linux/tools/testing/ktest/examples/bootconfigs/ |
H A D | boottrace.bconf | 58 ftrace_filter = "vfs*"
|
/linux/samples/ |
H A D | Makefile | 33 subdir-$(CONFIG_SAMPLE_VFS) += vfs
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 1094 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 …]
|
/linux/drivers/gpu/drm/ci/xfails/ |
H A D | i915-tgl-fails.txt | 56 sriov_basic@enable-vfs-autoprobe-off,Timeout
|
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 2059 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 D | ksmbd.rst | 178 2. Enable one of the components (smb, auth, vfs, oplock, ipc, conn, rdma) 183 [smb] auth vfs oplock ipc conn [rdma]
|