| /linux-6.15/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() 133 struct ice_vfs *vfs = &pf->vfs; in ice_free_vfs() local 153 mutex_lock(&vfs->table_lock); in ice_free_vfs() 180 vfs->num_qps_per = 0; in ice_free_vfs() 183 mutex_unlock(&vfs->table_lock); in ice_free_vfs() 425 num_vfs, pf->vfs.num_msix_per, pf->vfs.num_qps_per); in ice_set_per_vf_res() 685 struct ice_vfs *vfs = &pf->vfs; in ice_create_vf_entries() local 757 mutex_lock(&pf->vfs.table_lock); in ice_ena_vfs() 1088 mutex_lock(&pf->vfs.table_lock); in ice_process_vflr_event() [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 | 209 hash_for_each((pf)->vfs.table, (bkt), (vf), entry) 226 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
|
| /linux-6.15/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() 194 &pf->vfs[vf->vf_id].padev); in pdsc_init_vf() 427 pdsc_auxbus_dev_del(pdsc, pf, &pf->vfs[pdsc->vf_id].padev); in pdsc_remove() 428 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove() 494 &pf->vfs[pdsc->vf_id].padev); in pdsc_reset_prepare() 542 &pf->vfs[pdsc->vf_id].padev); in pdsc_reset_done()
|
| H A D | devlink.c | 57 struct pdsc *vf = pdsc->vfs[vf_id].vf; in pdsc_dl_enable_set() 61 &pdsc->vfs[vf_id].padev); in pdsc_dl_enable_set() 63 pdsc_auxbus_dev_del(vf, pdsc, &pdsc->vfs[vf_id].padev); in pdsc_dl_enable_set()
|
| /linux-6.15/Documentation/devicetree/bindings/iio/dac/ |
| H A D | rohm,bd79703.yaml | 28 vfs-supply: 40 - vfs-supply 59 vfs-supply = <&vref>;
|
| /linux-6.15/tools/testing/selftests/powerpc/eeh/ |
| H A D | eeh-functions.sh | 200 vfs=0 226 vfs="$((vfs + 1))" 230 test "$vfs" != 0
|
| /linux-6.15/drivers/iio/dac/ |
| H A D | rohm-bd79703.c | 43 int vfs; member 55 *val = data->vfs / 1000; in bd79703_read_raw() 123 data->vfs = ret; in bd79703_probe()
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/gpu/drm/xe/ |
| 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.c | 40 gt->sriov.pf.vfs = drmm_kcalloc(>_to_xe(gt)->drm, 1 + num_vfs, in pf_alloc_metadata() 41 sizeof(*gt->sriov.pf.vfs), GFP_KERNEL); in pf_alloc_metadata() 42 if (!gt->sriov.pf.vfs) in pf_alloc_metadata()
|
| H A D | xe_gt_sriov_pf_service.c | 88 gt->sriov.pf.vfs[vfid].version.major = major; in pf_connect() 89 gt->sriov.pf.vfs[vfid].version.minor = minor; in pf_connect() 96 gt->sriov.pf.vfs[vfid].version.major = 0; in pf_disconnect() 97 gt->sriov.pf.vfs[vfid].version.minor = 0; in pf_disconnect() 104 return major == gt->sriov.pf.vfs[vfid].version.major && in pf_is_negotiated() 105 minor <= gt->sriov.pf.vfs[vfid].version.minor; in pf_is_negotiated() 554 version = >->sriov.pf.vfs[n].version; in xe_gt_sriov_pf_service_print_version()
|
| H A D | xe_gt_sriov_pf_types.h | 63 struct xe_gt_sriov_metadata *vfs; member
|
| /linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu.c | 2625 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local 2637 vfs = 64; in rvu_mbox_intr_handler() 3174 int vfs = rvu->vfs; in rvu_disable_afvf_intr() local 3179 if (vfs <= 64) in rvu_disable_afvf_intr() 3190 int vfs = rvu->vfs; in rvu_enable_afvf_intr() local 3205 if (vfs <= 64) in rvu_enable_afvf_intr() 3267 vfs = chans; in rvu_enable_sriov() 3269 if (!vfs) in rvu_enable_sriov() 3275 if (vfs > 62) in rvu_enable_sriov() 3276 vfs = 62; in rvu_enable_sriov() [all …]
|
| /linux-6.15/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_dev_mgr.c | 346 int vfs = 0; in adf_get_num_dettached_vfs() local 353 vfs++; in adf_get_num_dettached_vfs() 356 return vfs; in adf_get_num_dettached_vfs()
|
| /linux-6.15/fs/fuse/ |
| H A D | virtio_fs.c | 195 kfree(vfs->mq_map); in virtio_fs_ktype_release() 196 kfree(vfs->vqs); in virtio_fs_ktype_release() 197 kfree(vfs); in virtio_fs_ktype_release() 291 struct virtio_fs *vfs = fiq->priv; in virtio_fs_fiq_release() local 293 virtio_fs_put(vfs); in virtio_fs_fiq_release() 1612 struct virtio_fs *vfs = fc->iq.priv; in virtio_fs_conn_destroy() local 1613 struct virtio_fs_vq *fsvq = &vfs->vqs[VQ_HIPRIO]; in virtio_fs_conn_destroy() 1625 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy() 1634 virtio_fs_stop_all_queues(vfs); in virtio_fs_conn_destroy() 1635 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy() [all …]
|
| /linux-6.15/scripts/gdb/ |
| H A D | vmlinux-gdb.py | 43 import linux.vfs
|
| /linux-6.15/scripts/gdb/linux/ |
| H A D | proc.py | 20 from linux import vfs 184 pathname = vfs.dentry_name(mntpoint) + pathname
|
| /linux-6.15/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-6.15/fs/smb/server/ |
| H A D | Makefile | 7 ksmbd-y := unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
|
| /linux-6.15/tools/testing/ktest/examples/bootconfigs/ |
| H A D | boottrace.bconf | 58 ftrace_filter = "vfs*"
|
| /linux-6.15/samples/ |
| H A D | Makefile | 34 subdir-$(CONFIG_SAMPLE_VFS) += vfs
|
| /linux-6.15/drivers/gpu/drm/ci/xfails/ |
| H A D | i915-tgl-skips.txt | 49 sriov_basic@enable-vfs-bind-unbind-each-numvfs-all
|
| /linux-6.15/fs/nfsd/ |
| H A D | Makefile | 13 nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | port.c | 1074 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 …]
|