linux-stable/drivers/xen/xen-pciback
Juergen Gross 1af916b701 xen/pciback: simplify pcistub device handling
The Xen pciback driver maintains a list of all its seized devices.
There are two functions searching the list for a specific device with
basically the same semantics just returning different structures in
case of a match.

Split out the search function.

Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
2016-09-30 11:48:33 +01:00
..
conf_space.c xen-pciback: drop superfluous variables 2016-07-06 10:35:38 +01:00
conf_space.h xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
conf_space_capability.c xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
conf_space_header.c xen-pciback: use const and unsigned in bar_init() 2016-07-06 10:35:38 +01:00
conf_space_quirks.c xen/pciback: miscellaneous adjustments 2011-09-21 18:17:59 -04:00
conf_space_quirks.h xen/pciback: Drop two backends, squash and cleanup some code. 2011-07-19 20:58:35 -04:00
Makefile xen/pciback: Have 'passthrough' option instead of XEN_PCIDEV_BACKEND_PASS and XEN_PCIDEV_BACKEND_VPCI 2011-07-19 21:04:20 -04:00
passthrough.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
pci_stub.c xen/pciback: simplify pcistub device handling 2016-09-30 11:48:33 +01:00
pciback.h xen: xen-pciback: Remove create_workqueue 2016-07-06 10:34:48 +01:00
pciback_ops.c xen: xen-pciback: Remove create_workqueue 2016-07-06 10:34:48 +01:00
vpci.c xen/pciback: Don't deadlock when unbinding. 2014-12-04 12:41:58 +00:00
xenbus.c xen: xen-pciback: Remove create_workqueue 2016-07-06 10:34:48 +01:00