Home
last modified time | relevance | path

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

123

/Linux-v6.6/drivers/net/ethernet/intel/ice/
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()
67 last_vector_idx = vf->first_vector_idx + pf->vfs.num_msix_per - 1; in ice_free_vf_res()
105 last = first + pf->vfs.num_msix_per - 1; in ice_dis_vf_mappings()
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()
261 return pf->sriov_base_vector + vf->vf_id * pf->vfs.num_msix_per; in ice_calc_vf_first_vector_idx()
[all …]
Dice_eswitch.c200 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_release_reprs()
231 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_setup_reprs()
435 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_del()
450 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_enable()
465 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_napi_disable()
659 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_start_all_tx_queues()
679 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_stop_all_tx_queues()
Dice_vf_lib.c30 hash_for_each_possible_rcu(pf->vfs.table, vf, entry, vf_id) { in ice_get_vf_by_id()
92 return !hash_empty(pf->vfs.table); in ice_has_vfs()
726 mutex_lock(&pf->vfs.table_lock); in ice_reset_all_vfs()
734 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
786 mutex_unlock(&pf->vfs.table_lock); in ice_reset_all_vfs()
960 struct ice_vfs *vfs; in ice_initialize_vf_entry() local
962 vfs = &pf->vfs; in ice_initialize_vf_entry()
966 vf->num_vf_qs = vfs->num_qps_per; in ice_initialize_vf_entry()
Dice_vf_lib.h191 hash_for_each((pf)->vfs.table, (bkt), (vf), entry)
208 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
Dice_repr.c382 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_rem_from_all_vfs()
407 lockdep_assert_held(&pf->vfs.table_lock); in ice_repr_add_for_all_vfs()
/Linux-v6.6/tools/testing/selftests/powerpc/eeh/
Deeh-functions.sh200 vfs=0
226 vfs="$((vfs + 1))"
230 test "$vfs" != 0
/Linux-v6.6/drivers/net/ethernet/pensando/ionic/
Dionic_bus_pci.c116 if (!ionic->vfs) in ionic_vf_dealloc_locked()
120 v = &ionic->vfs[i]; in ionic_vf_dealloc_locked()
131 kfree(ionic->vfs); in ionic_vf_dealloc_locked()
132 ionic->vfs = NULL; in ionic_vf_dealloc_locked()
152 ionic->vfs = kcalloc(num_vfs, sizeof(struct ionic_vf), GFP_KERNEL); in ionic_vf_alloc()
153 if (!ionic->vfs) { in ionic_vf_alloc()
159 v = &ionic->vfs[i]; in ionic_vf_alloc()
Dionic.h60 struct ionic_vf *vfs; member
Dionic_lif.c2418 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_config()
2452 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_get_vf_stats()
2456 vs = &ionic->vfs[vf].stats; in ionic_get_vf_stats()
2491 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_mac()
2500 ether_addr_copy(ionic->vfs[vf].macaddr, mac); in ionic_set_vf_mac()
2530 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_vlan()
2539 ionic->vfs[vf].vlanid = cpu_to_le16(vlan); in ionic_set_vf_vlan()
2563 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_rate()
2572 ionic->vfs[vf].maxrate = cpu_to_le32(tx_max); in ionic_set_vf_rate()
2591 if (vf >= pci_num_vf(ionic->pdev) || !ionic->vfs) { in ionic_set_vf_spoofchk()
[all …]
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2526 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local
2541 if (vfs > 64) { in rvu_mbox_intr_handler()
2545 rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr); in rvu_mbox_intr_handler()
2546 vfs -= 64; in rvu_mbox_intr_handler()
2554 rvu_queue_work(&rvu->afvf_wq_info, 0, vfs, intr); in rvu_mbox_intr_handler()
2733 if (rvu->vfs > 64) in rvu_flr_intr_handler()
2734 rvu_afvf_queue_flr_work(rvu, 64, rvu->vfs - 64); in rvu_flr_intr_handler()
3073 int vfs = rvu->vfs; in rvu_disable_afvf_intr() local
3075 rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr()
3076 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr()
[all …]
/Linux-v6.6/drivers/net/ethernet/amd/pds_core/
Dmain.c143 pdsc->vfs = kcalloc(num_vfs, sizeof(struct pdsc_vf), in pdsc_sriov_configure()
145 if (!pdsc->vfs) in pdsc_sriov_configure()
162 kfree(pdsc->vfs); in pdsc_sriov_configure()
163 pdsc->vfs = NULL; in pdsc_sriov_configure()
186 pf->vfs[vf->vf_id].vf = vf; in pdsc_init_vf()
414 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove()
Dauxbus.c189 padev = pf->vfs[cf->vf_id].padev; in pdsc_auxbus_dev_del()
196 pf->vfs[cf->vf_id].padev = NULL; in pdsc_auxbus_dev_del()
249 pf->vfs[cf->vf_id].padev = padev; in pdsc_auxbus_dev_add()
Ddevlink.c56 struct pdsc *vf = pdsc->vfs[vf_id].vf; in pdsc_dl_enable_set()
/Linux-v6.6/fs/fuse/
Dvirtio_fs.c166 struct virtio_fs *vfs = container_of(ref, struct virtio_fs, refcount); in release_virtio_fs_obj() local
168 kfree(vfs->vqs); in release_virtio_fs_obj()
169 kfree(vfs); in release_virtio_fs_obj()
180 struct virtio_fs *vfs = fiq->priv; in virtio_fs_fiq_release() local
183 virtio_fs_put(vfs); in virtio_fs_fiq_release()
1363 struct virtio_fs *vfs = fc->iq.priv; in virtio_fs_conn_destroy() local
1364 struct virtio_fs_vq *fsvq = &vfs->vqs[VQ_HIPRIO]; in virtio_fs_conn_destroy()
1376 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy()
1385 virtio_fs_stop_all_queues(vfs); in virtio_fs_conn_destroy()
1386 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy()
[all …]
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
Dadf_dev_mgr.c356 int vfs = 0; in adf_get_num_dettached_vfs() local
363 vfs++; in adf_get_num_dettached_vfs()
366 return vfs; in adf_get_num_dettached_vfs()
/Linux-v6.6/scripts/gdb/
Dvmlinux-gdb.py43 import linux.vfs
/Linux-v6.6/scripts/gdb/linux/
Dproc.py20 from linux import vfs
184 pathname = vfs.dentry_name(mntpoint) + pathname
/Linux-v6.6/fs/nfsd/
DMakefile13 nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/
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-v6.6/fs/smb/server/
DMakefile7 ksmbd-y := unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
/Linux-v6.6/tools/testing/ktest/examples/bootconfigs/
Dboottrace.bconf58 ftrace_filter = "vfs*"
/Linux-v6.6/samples/
DMakefile32 subdir-$(CONFIG_SAMPLE_VFS) += vfs
/Linux-v6.6/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 …]
/Linux-v6.6/Documentation/filesystems/
Dindex.rst21 vfs
/Linux-v6.6/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c80 int irq, vfs = pf->total_vfs; in otx2_disable_flr_me_intr() local
83 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
88 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in otx2_disable_flr_me_intr()
92 if (vfs <= 64) in otx2_disable_flr_me_intr()
95 otx2_write64(pf, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr()
99 otx2_write64(pf, RVU_PF_VFFLR_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in otx2_disable_flr_me_intr()
558 int vfs = pf->total_vfs; in otx2_pfvf_mbox_intr_handler() local
564 if (vfs > 64) { in otx2_pfvf_mbox_intr_handler()
567 otx2_queue_work(mbox, pf->mbox_pfvf_wq, 64, vfs, intr, in otx2_pfvf_mbox_intr_handler()
569 vfs -= 64; in otx2_pfvf_mbox_intr_handler()
[all …]

123