Home
last modified time | relevance | path

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

12345678910>>...21

/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->table_lock); in ice_free_vfs()
181 vfs->num_qps_per = 0; in ice_free_vfs()
184 mutex_unlock(&vfs->table_lock); in ice_free_vfs()
[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/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/fs/smb/client/
H A Dsmb1transport.c42 cifs_dbg(VFS, "%s: null TCP session\n", __func__); in alloc_mid()
176 cifs_server_dbg(VFS, "SMB signature verification returned error = %d\n", in cifs_check_receive()
238 cifs_dbg(VFS, "Null smb session\n"); in SendReceive()
243 cifs_dbg(VFS, "Null tcp session\n"); in SendReceive()
252 cifs_server_dbg(VFS, "Invalid length, greater than maximum frame, %d\n", in SendReceive()
273 cifs_dbg(VFS, "response size %u exceeds buffer\n", in SendReceive()
329 cifs_dbg(VFS, "TotalDataSize %d is over maximum buffer %d\n", in check2ndT2()
450 cifs_dbg(VFS, "1st trans2 resp needs bigbuf\n"); in cifs_check_trans2()
465 cifs_dbg(VFS, "Bad protocol string signature header 0x%x\n", in check_smb_hdr()
486 cifs_dbg(VFS, "Server sent request, not response. mid=%u\n", in check_smb_hdr()
[all …]
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()
233 cifs_dbg(VFS, "failed to open extra channel on iface:%pIS rc=%d\n", in cifs_try_adding_channels()
330 cifs_dbg(VFS, "Disable all secondary channels\n"); in cifs_decrease_secondary_channels()
333 cifs_dbg(VFS, "Disable extra secondary channels\n"); in cifs_decrease_secondary_channels()
640 cifs_dbg(VFS, "challenge blob len %d too small\n", blob_len); in decode_ntlmssp_challenge()
645 cifs_dbg(VFS, "blob signature incorrect %s\n", in decode_ntlmssp_challenge()
650 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()
177 cifs_dbg(VFS, "no decryption - session id not found\n"); in smb2_check_message()
187 cifs_dbg(VFS, "Invalid structure size %u\n", in smb2_check_message()
194 cifs_dbg(VFS, "Invalid SMB2 command %d\n", command); in smb2_check_message()
208 cifs_dbg(VFS, "Length less than SMB header size\n"); in smb2_check_message()
213 cifs_dbg(VFS, "SMB length greater than maximum, mid=%llu\n", in smb2_check_message()
222 cifs_dbg(VFS, "Invalid response size %u for command %d\n", in smb2_check_message()
[all …]
H A Dconnect.c648 cifs_server_dbg(VFS, "No memory for large SMB response\n"); in allocate_buffers()
661 cifs_server_dbg(VFS, "No memory for SMB response\n"); in allocate_buffers()
707 cifs_server_dbg(VFS, "has not responded in %lu seconds. Reconnecting...\n", in server_unresponsive()
853 cifs_server_dbg(VFS, "RFC 1002 positive session response (unexpected)\n"); in is_smb_response()
937 cifs_server_dbg(VFS, "RFC 1002 negative session response (unexpected)\n"); in is_smb_response()
942 cifs_server_dbg(VFS, "RFC 1002 retarget session response (unexpected)\n"); in is_smb_response()
946 cifs_server_dbg(VFS, "RFC 1002 unknown response type 0x%x\n", type); in is_smb_response()
1038 cifs_dbg(VFS, "Server requires signing, but it's disabled in SecurityFlags!\n"); in cifs_enable_signing()
1047 cifs_dbg(VFS, "Server does not support signing!\n"); in cifs_enable_signing()
1054 cifs_dbg(VFS, "Signing is enabled, and RDMA read/write will be disabled\n"); in cifs_enable_signing()
[all …]
/linux/Documentation/filesystems/
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/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/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/Documentation/translations/zh_CN/filesystems/
H A Dindex.rst15 文件系统(VFS)层以及基于其上的各种文件系统如何工作呈现给大家。当前\
18 核心 VFS 文档
21 有关 VFS 层本身以及其算法工作方式的文档,请参阅这些手册。
/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/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/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/drivers/iio/dac/
H A Drohm-bd79703.c44 int vfs; member
64 *val = data->vfs / 1000; in bd79703_read_raw()
184 * BD79703 has a separate VFS pin, whereas the BD79700 and BD79701 use in bd79703_probe()
192 ret = devm_regulator_get_enable_read_voltage(dev, "vfs"); in bd79703_probe()
194 return dev_err_probe(dev, ret, "Failed to get Vfs\n"); in bd79703_probe()
200 data->vfs = ret; in bd79703_probe()
/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 …]
/linux/Documentation/admin-guide/namespaces/
H A Dcompatibility-list.rst13 - UTS IPC VFS PID User Net
17 VFS X
34 should not be equal from the VFS point of view. In other
/linux/Documentation/networking/device_drivers/ethernet/intel/
H A Dfm10k.rst34 Virtual Functions (VFs)
36 Use sysfs to enable VFs.
41 echo $num_vf_enabled > /sys/class/net/$dev/device/sriov_numvfs //enable VFs
42 echo 0 > /sys/class/net/$dev/device/sriov_numvfs //disable VFs
44 NOTE: Neither the device nor the driver control how VFs are mapped into config

12345678910>>...21