Home
last modified time | relevance | path

Searched full:vfs (Results 1 – 25 of 579) sorted by relevance

12345678910>>...24

/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dmbox_init.c364 void cn20k_rvu_disable_afvf_intr(struct rvu *rvu, int vfs) in cn20k_rvu_disable_afvf_intr() argument
366 rvupf_write64(rvu, RVU_MBOX_PF_VFPF_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
367 rvupf_write64(rvu, RVU_MBOX_PF_VFPF1_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
368 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
369 rvupf_write64(rvu, RVU_PF_VFME_INT_ENA_W1CX(0), INTR_MASK(vfs)); in cn20k_rvu_disable_afvf_intr()
371 if (vfs <= 64) in cn20k_rvu_disable_afvf_intr()
374 rvupf_write64(rvu, RVU_MBOX_PF_VFPF_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
375 rvupf_write64(rvu, RVU_MBOX_PF_VFPF1_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
376 rvupf_write64(rvu, RVU_PF_VFFLR_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
377 rvupf_write64(rvu, RVU_PF_VFME_INT_ENA_W1CX(1), INTR_MASK(vfs - 64)); in cn20k_rvu_disable_afvf_intr()
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c26 struct ice_vfs *vfs = &pf->vfs; in ice_free_vf_entries() local
31 /* Remove all VFs from the hash table and release their main in ice_free_vf_entries()
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()
128 * ice_free_vfs - Free all VFs
134 struct ice_vfs *vfs = &pf->vfs; in ice_free_vfs() local
152 dev_warn(dev, "VFs are assigned - not disabling SR-IOV\n"); in ice_free_vfs()
154 mutex_lock(&vfs in ice_free_vfs()
688 struct ice_vfs *vfs = &pf->vfs; ice_create_vf_entries() local
[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()
81 * ice_has_vfs - Return true if the PF has any associated VFs
84 * Return whether or not the PF has any allocated VFs.
86 * Note that this function only guarantees that there are no VFs at the point
87 * of calling it. It does not guarantee that no more VFs will be added.
94 return !hash_empty(pf->vfs.table); in ice_has_vfs()
98 * ice_get_num_vfs - Get number of allocated VFs
101 * Return the total number of allocated VFs. NOTE: VF IDs are not guaranteed
738 * ice_reset_all_vfs - reset all allocated VFs in one go
741 * Reset all VFs at once, in response to a PF or other device reset.
[all …]
/linux/Documentation/filesystems/
H A Dvfs.rst21 VFS system calls open(2), stat(2), read(2), write(2), chmod(2) and so on
29 The VFS implements the open(2), stat(2), chmod(2), and similar system
30 calls. The pathname argument that is passed to them is used by the VFS
39 dentry, the VFS may have to resort to creating dentries along the way,
54 To look up an inode requires that the VFS calls the lookup() method of
56 filesystem implementation that the inode lives in. Once the VFS has the
59 stat(2) operation is fairly simple: once the VFS has the dentry, it
72 this is another switch performed by the VFS. The file structure is
75 Reading, writing and closing files (and other assorted VFS operations)
79 dentry in use, which in turn means that the VFS inode is still in use.
[all …]
H A Didmappings.rst343 VFS has already completed path lookup right before it calls into the filesystem
642 filesystem ownership and mount ownership of a VFS object such as an inode. The
654 All VFS helpers that generate or take uids and gids as arguments use the
656 to catch errors that originate from conflating filesystem and VFS uids and gids.
666 e.g., during ``stat()``, or store ownership information in a shared VFS object
678 Note, whenever a shared VFS object, e.g., a cached ``struct inode`` or a cached
695 kernel ids with ``k`` we will prefix all VFS ids with ``v``. So a mount
707 VFS ids in the mount's idmapping::
712 /* Map the filesystem's userspace id down ito a VFS id in the mount's idmapping. */
719 remapping the caller's VFS ids using the mount's idmapping::
[all …]
/linux/Documentation/PCI/
H A Dpci-iov-howto.rst41 enable it and all VFs associated with the PF. Some PF drivers require
42 a module parameter to be set to determine the number of VFs to enable.
44 enable and disable the VFs associated with a PCIe PF. This method
49 checks, e.g., check numvfs == 0 if enabling VFs, ensure
72 'nr_virtfn' is number of VFs to be enabled.
90 To enable auto probing VFs by a compatible driver on the host, run
98 To disable auto probing VFs by a compatible driver on the host, run
100 entry will not affect VFs which are already probed.
/linux/tools/testing/selftests/powerpc/eeh/
H A Deeh-functions.sh178 # no driver, no vfs
195 # stdout: list of enabled VFs, one per line
196 # return code: 0 if vfs are found, 1 otherwise
200 vfs=0
208 log "Unable to enable VFs on $pf, skipping"
226 vfs="$((vfs + 1))"
230 test "$vfs" != 0
H A Deeh-vf-aware.sh10 log "No usable VFs found. Skipping EEH unaware VF test"
14 log "Enabled VFs: $vf_list"
40 echo "No VFs with EEH aware drivers found, skipping"
/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()
188 * xe_sriov_pf_service_print_versions - Print ABI versions negotiated with VFs.
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()
113 * Print adverse events counters for all VFs.
114 * VFs with no events are not printed.
129 data = &gt->sriov.pf.vfs[n].monitor; in xe_gt_sriov_pf_monitor_print_events()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_iov.c174 /* read VFLRE to determine if any VFs have been reset */ in fm10k_iov_event()
240 /* reset VFs that have mailbox timed out */ in fm10k_iov_mbx()
292 /* shut down queue mapping for VFs */ in fm10k_iov_suspend()
296 /* Stop any active VFs and reset their resources */ in fm10k_iov_suspend()
342 * the VFs can trigger this any time they read a queue in fm10k_iov_resume()
347 /* allocate hardware resources for the VFs */ in fm10k_iov_resume()
365 /* allocate all but the last GLORT to the VFs */ in fm10k_iov_resume()
439 /* nothing to do if no VFs are requested */ in fm10k_iov_alloc_data()
449 /* record number of VFs */ in fm10k_iov_alloc_data()
474 /* allocate hardware resources for the VFs */ in fm10k_iov_alloc_data()
[all …]
/linux/arch/powerpc/platforms/powernv/
H A Dpci-sriov.c26 * the total BAR area is: number-of-vfs * per-vf-size. The number of VFs
45 * (num-vfs * num-sriov-bars) in total. To use a) we need the size of each segment
58 * based on the maximum number of VFs supported by the device and we need
75 * 3. When userspace enables VFs for a device:
94 * Once all that is done we return to the PCI core which then enables VFs,
99 * 4. When userspace disables VFs we unwind the above in
114 * more than 16 VFs on each port.
176 * number of VFs we can support. in pnv_pci_ioda_fixup_iov_resources()
206 pci_info(pdev, "VF BAR%d: %pR (expanded to %d VFs for PE alignment)", in pnv_pci_ioda_fixup_iov_resources()
257 * In that case we don't allow VFs to be enabled since one of their in pnv_pci_iov_resource_alignment()
[all …]
/linux/fs/ntfs/
H A Dvolume.h67 * @mft_ino: The VFS inode of $MFT.
70 * @mftmirr_ino: The VFS inode of $MFTMirr.
72 * @logfile_ino: The VFS inode of LogFile.
73 * @lcnbmp_ino: The VFS inode of $Bitmap.
75 * @vol_ino: The VFS inode of $Volume.
81 * @root_ino: The VFS inode of the root directory.
82 * @secure_ino: The VFS inode of $Secure (NTFS3.0+ only, otherwise NULL).
83 * @extend_ino: The VFS inode of $Extend (NTFS3.0+ only, otherwise NULL).
/linux/Documentation/devicetree/bindings/iio/dac/
H A Drohm,bd79703.yaml35 vfs-supply:
43 2.7V ... 5.5V. Is used also as a Vfs on BD79700 and BD79701.
60 - vfs-supply
78 vfs-supply = <&vref>;
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.h58 /* Trusted VFs can configure promiscuous mode.
93 u16 total_vfs; /* total VFs associated with the PF */
94 u16 num_vfs; /* number of vfs that have been started */
95 u16 initial_vfs; /* initial VFs associated with the PF */
96 u16 nr_virtfn; /* number of VFs available */
278 * Return: MAX_NUM_VFS in case no further active VFs, otherwise index.
380 * qed_iov_mark_vf_flr(): Mark structs of vfs that have been FLR-ed.
383 * @disabled_vfs: bitmask of all VFs on path that were FLRed
385 * Return: true iff one of the PF's vfs got FLRed. false otherwise.
/linux/fs/smb/client/
H A Dsess.c63 cifs_dbg(VFS, "unable to get chan index for server: 0x%llx", in cifs_ses_get_chan_index()
172 cifs_dbg(VFS, "multichannel is not supported on this protocol version, use 3.0 or above\n"); in cifs_try_adding_channels()
178 cifs_server_dbg(VFS, "no multichannel support\n"); in cifs_try_adding_channels()
187 cifs_dbg(VFS, "too many channel open attempts (%d channels left to open)\n", in cifs_try_adding_channels()
263 cifs_dbg(VFS, "failed to open extra channel on iface:%pIS rc=%d\n", in cifs_try_adding_channels()
352 cifs_dbg(VFS, "Disable all secondary channels\n"); in cifs_decrease_secondary_channels()
355 cifs_dbg(VFS, "Disable extra secondary channels\n"); in cifs_decrease_secondary_channels()
662 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge()
667 cifs_dbg(VFS, "blob signature incorrect %s\n", in decode_ntlmssp_challenge()
672 cifs_dbg(VFS, "Incorrect message type %d\n", in decode_ntlmssp_challenge()
[all …]
H A Dsmb2misc.c43 cifs_dbg(VFS, "Received Request not response\n"); in check_smb2_hdr()
47 cifs_dbg(VFS, "Bad protocol string signature header %x\n", in check_smb2_hdr()
50 cifs_dbg(VFS, "Mids do not match: %llu and %llu\n", in check_smb2_hdr()
53 cifs_dbg(VFS, "Bad SMB detected. The Mid=%llu\n", wire_mid); in check_smb2_hdr()
207 cifs_dbg(VFS, "no decryption - session id not found\n"); in smb2_check_message()
217 cifs_dbg(VFS, "Invalid structure size %u\n", in smb2_check_message()
224 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
238 cifs_dbg(VFS, "Length less than SMB header size\n"); in smb2_check_message()
243 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message()
252 cifs_dbg(VFS, "Invalid response size %u for command %d\n", in smb2_check_message()
[all …]
H A Dconnect.c654 cifs_server_dbg(VFS, "No memory for large SMB response\n"); in allocate_buffers()
667 cifs_server_dbg(VFS, "No memory for SMB response\n"); in allocate_buffers()
713 cifs_server_dbg(VFS, "has not responded in %lu seconds. Reconnecting...\n", in server_unresponsive()
859 cifs_server_dbg(VFS, "RFC 1002 positive session response (unexpected)\n"); in is_smb_response()
943 cifs_server_dbg(VFS, "RFC 1002 negative session response (unexpected)\n"); in is_smb_response()
948 cifs_server_dbg(VFS, "RFC 1002 retarget session response (unexpected)\n"); in is_smb_response()
952 cifs_server_dbg(VFS, "RFC 1002 unknown response type 0x%x\n", type); in is_smb_response()
1044 cifs_dbg(VFS, "Server requires signing, but it's disabled in SecurityFlags!\n"); in cifs_enable_signing()
1053 cifs_dbg(VFS, "Server does not support signing!\n"); in cifs_enable_signing()
1060 cifs_dbg(VFS, "Signing is enabled, and RDMA read/write will be disabled\n"); in cifs_enable_signing()
[all …]
/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()
203 dev_err(dev, "Cannot alloc VFs: %d\n", ret); in ionic_sriov_configure()
363 dev_info(dev, "%d VFs found already enabled\n", num_vfs); in ionic_probe()
366 dev_err(dev, "Cannot enable existing VFs: %d\n", err); in ionic_probe()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c451 /* Check if VF is within number of VFs attached to this PF */ in is_pf_func_valid()
637 * AF, block AF and PF0_INT vectors, so jump to VFs. in rvu_setup_msix_resources()
653 /* Alloc msix bitmap for VFs */ in rvu_setup_msix_resources()
798 /* For PF0(AF), Assign MAC address to only VFs (LBKVFs) */ in rvu_setup_pfvf_macaddress()
818 /* Assign MAC address to VFs*/ in rvu_setup_pfvf_macaddress()
1528 /* Assign NIX based on VF number. All even numbered VFs get in rvu_get_nix_blkaddr()
2588 /* RVU VFs */ in rvu_mbox_init()
2802 int vfs = rvu->vfs; in rvu_mbox_intr_handler() local
2809 if (vfs > 64) { in rvu_mbox_intr_handler()
2813 rvu_queue_work(&rvu->afvf_wq_info, 64, vfs, intr); in rvu_mbox_intr_handler()
[all …]
/linux/Documentation/translations/zh_CN/filesystems/
H A Dindex.rst15 文件系统(VFS)层以及基于其上的各种文件系统如何工作呈现给大家。当前\
18 核心 VFS 文档
21 有关 VFS 层本身以及其算法工作方式的文档,请参阅这些手册。
/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()
440 /* Remove the VFs and their aux_bus connections before other in pdsc_remove()
511 &pf->vfs[pdsc->vf_id].padev); in pdsc_reset_prepare()
[all …]
/linux/fs/quota/
H A Dnetlink.c53 "VFS: Not enough memory to send quota warning.\n"); in quota_send_warning()
60 "VFS: Cannot store netlink header in quota warning.\n"); in quota_send_warning()
90 printk(KERN_ERR "VFS: Not enough space to compose quota message!\n"); in quota_send_warning()
100 "VFS: Failed to create quota netlink interface.\n"); in quota_init()
/linux/drivers/net/ethernet/sfc/siena/
H A Dsiena_sriov.h14 * functions (VFs) that may be handled by some other driver, often in
19 * The PF has access to all 1024 VIs while VFs are mapped to VIs
32 /* Maximum number of VFs allowed */
34 /* Limit EVQs on VFs to be only 8k to reduce buffer table reservation */
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c80 /* limit traffic classes based on VFs enabled */ in __ixgbe_enable_sriov()
97 /* enable spoof checking for all VFs */ in __ixgbe_enable_sriov()
108 /* Untrust all VFs */ in __ixgbe_enable_sriov()
115 e_info(probe, "SR-IOV enabled with %d VFs\n", num_vfs); in __ixgbe_enable_sriov()
152 * VFs using the now deprecated module parameter
163 /* If there are pre-existing VFs then we have to force in ixgbe_enable_sriov()
166 * while VFs were assigned to guest VMs or because the VFs in ixgbe_enable_sriov()
176 * The 82599 supports up to 64 VFs per physical function in ixgbe_enable_sriov()
180 * 63 VFs then it is an error - reset to default of zero. in ixgbe_enable_sriov()
213 /* set num VFs to 0 to prevent access to vfinfo */ in ixgbe_disable_sriov()
[all …]

12345678910>>...24