Home
last modified time | relevance | path

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

1234

/openbmc/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()
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 …]
H A 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()
660 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_start_all_tx_queues()
680 lockdep_assert_held(&pf->vfs.table_lock); in ice_eswitch_stop_all_tx_queues()
H A 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()
980 struct ice_vfs *vfs; in ice_initialize_vf_entry() local
982 vfs = &pf->vfs; in ice_initialize_vf_entry()
986 vf->num_vf_qs = vfs->num_qps_per; in ice_initialize_vf_entry()
H A Dice_vf_lib.h191 hash_for_each((pf)->vfs.table, (bkt), (vf), entry)
208 hash_for_each_rcu((pf)->vfs.table, (bkt), (vf), entry)
/openbmc/linux/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh200 vfs=0
226 vfs="$((vfs + 1))"
230 test "$vfs" != 0
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A 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()
H A Dionic.h60 struct ionic_vf *vfs; member
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c2554 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local
2561 if (vfs > 64) { in rvu_mbox_intr_handler()
2565 rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr); in rvu_mbox_intr_handler()
2566 vfs -= 64; in rvu_mbox_intr_handler()
2574 rvu_queue_work(&rvu->afvf_wq_info, 0, vfs, intr); in rvu_mbox_intr_handler()
2756 if (rvu->vfs > 64) in rvu_flr_intr_handler()
2757 rvu_afvf_queue_flr_work(rvu, 64, rvu->vfs - 64); in rvu_flr_intr_handler()
3096 int vfs = rvu->vfs; in rvu_disable_afvf_intr() local
3098 rvupf_write64(rvu, RVU_PF_VFPF_MBOX_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr()
3099 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in rvu_disable_afvf_intr()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dmain.c148 pdsc->vfs = kcalloc(num_vfs, sizeof(struct pdsc_vf), in pdsc_sriov_configure()
150 if (!pdsc->vfs) in pdsc_sriov_configure()
167 kfree(pdsc->vfs); in pdsc_sriov_configure()
168 pdsc->vfs = NULL; in pdsc_sriov_configure()
191 pf->vfs[vf->vf_id].vf = vf; in pdsc_init_vf()
419 pf->vfs[pdsc->vf_id].vf = NULL; in pdsc_remove()
H A Dauxbus.c185 padev = pf->vfs[cf->vf_id].padev; in pdsc_auxbus_dev_del()
192 pf->vfs[cf->vf_id].padev = NULL; in pdsc_auxbus_dev_del()
245 pf->vfs[cf->vf_id].padev = padev; in pdsc_auxbus_dev_add()
/openbmc/linux/fs/fuse/
H A 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()
1373 struct virtio_fs *vfs = fc->iq.priv; in virtio_fs_conn_destroy() local
1374 struct virtio_fs_vq *fsvq = &vfs->vqs[VQ_HIPRIO]; in virtio_fs_conn_destroy()
1386 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy()
1395 virtio_fs_stop_all_queues(vfs); in virtio_fs_conn_destroy()
1396 virtio_fs_drain_all_queues(vfs); in virtio_fs_conn_destroy()
[all …]
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A 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()
/openbmc/linux/scripts/gdb/linux/
H A Dproc.py20 from linux import vfs
184 pathname = vfs.dentry_name(mntpoint) + pathname
/openbmc/openbmc/poky/meta/recipes-extended/mc/
H A Dmc_4.8.32.bb22 PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
/openbmc/linux/scripts/gdb/
H A Dvmlinux-gdb.py43 import linux.vfs
/openbmc/linux/fs/nfsd/
H A DMakefile13 nfsd-y += nfssvc.o nfsctl.o nfsfh.o vfs.o \
/openbmc/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)
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/python3-pyfanotify/
H A D0001-ext-define-FNM_EXTMATCH-if-not-already-defined.patch21 #include <sys/vfs.h>
/openbmc/linux/fs/smb/server/
H A DMakefile7 ksmbd-y := unicode.o auth.o vfs.o vfs_cache.o server.o ndr.o \
/openbmc/linux/samples/
H A DMakefile32 subdir-$(CONFIG_SAMPLE_VFS) += vfs
/openbmc/linux/tools/testing/ktest/examples/bootconfigs/
H A Dboottrace.bconf58 ftrace_filter = "vfs*"
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A DCVE-2019-13232_p1.patch33 2.22.0.vfs.1.1.57.gbaf16c8
/openbmc/openbmc/poky/meta-selftest/recipes-devtools/mtd/mtd-utils-selftest/
H A D0001-tests-Remove-unused-linux-fs.h-header-from-includes.patch22 #include <sys/vfs.h>
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfstests/xfstests/
H A D0002-Drop-detached_mounts_propagation-and-remove-sys-moun.patch5 vfs/utils.c
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A 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 …]

1234