'\" t .\" Title: pci_vfs_assigned .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Hardware Interfaces .\" Source: Kernel Hackers Manual 4.11.6 .\" Language: English .\" .TH "PCI_VFS_ASSIGNED" "9" "July 2017" "Kernel Hackers Manual 4\&.11\&" "Hardware Interfaces" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" pci_vfs_assigned \- returns number of VFs are assigned to a guest .SH "SYNOPSIS" .HP \w'int\ pci_vfs_assigned('u .BI "int pci_vfs_assigned(struct\ pci_dev\ *\ " "dev" ");" .SH "ARGUMENTS" .PP \fIstruct pci_dev * dev\fR .RS 4 the PCI device .RE .SH "DESCRIPTION" .PP Returns number of VFs belonging to this device that are assigned to a guest\&. If device is not a physical function returns 0\&. .SH "COPYRIGHT" .br