Home
last modified time | relevance | path

Searched full:vhost (Results 1 – 25 of 48) sorted by relevance

12

/linux/drivers/scsi/ibmvscsi/
H A Dibmvfc-core.c209 static int ibmvfc_nvme_active(struct ibmvfc_host *vhost) in ibmvfc_nvme_active() argument
211 return (ibmvfc_check_caps(vhost, IBMVFC_SUPPORT_NVMEOF) && in ibmvfc_nvme_active()
212 vhost->nvme_scrqs.active_queues); in ibmvfc_nvme_active()
215 static struct ibmvfc_fcp_cmd_iu *ibmvfc_get_fcp_iu(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_iu() argument
218 if (ibmvfc_check_caps(vhost, IBMVFC_SUPPORT_NVMEOF)) in ibmvfc_get_fcp_iu()
220 else if (ibmvfc_check_caps(vhost, IBMVFC_HANDLE_VF_WWPN)) in ibmvfc_get_fcp_iu()
226 static struct ibmvfc_fcp_rsp *ibmvfc_get_fcp_rsp(struct ibmvfc_host *vhost, in ibmvfc_get_fcp_rsp() argument
229 if (ibmvfc_check_caps(vhost, IBMVFC_SUPPORT_NVMEOF)) in ibmvfc_get_fcp_rsp()
231 else if (ibmvfc_check_caps(vhost, IBMVFC_HANDLE_VF_WWPN)) in ibmvfc_get_fcp_rsp()
245 struct ibmvfc_host *vhost = evt->vhost; in ibmvfc_trc_start() local
[all …]
/linux/include/xen/interface/io/
H A Dvscsiif.h98 * <domid>/<vhost>/feature-host = "0"
99 * <domid>/<vhost>/frontend = "/local/domain/<domid>/device/vscsi/0"
100 * <domid>/<vhost>/frontend-id = "<domid>"
101 * <domid>/<vhost>/online = "1"
102 * <domid>/<vhost>/state = "4"
103 * <domid>/<vhost>/vscsi-devs/dev-0/p-dev = "8:0:2:1" or "naa.wwn:lun"
104 * <domid>/<vhost>/vscsi-devs/dev-0/state = "4"
105 * <domid>/<vhost>/vscsi-devs/dev-0/v-dev = "0:0:0:0"
106 * <domid>/<vhost>/vscsi-devs/dev-1/p-dev = "8:0:2:2"
107 * <domid>/<vhost>/vscsi-devs/dev-1/state = "4"
[all …]
/linux/drivers/vhost/
H A DKconfig5 Generic IOTLB implementation for vhost and vringh.
20 config VHOST config
26 the core of vhost.
29 bool "VHOST drivers"
37 select VHOST
49 select VHOST
57 tristate "vhost virtio-vsock driver"
59 select VHOST
71 tristate "Vhost driver for vDPA-based backend"
73 select VHOST
[all …]
H A Diotlb.c5 * IOTLB implementation for vhost.
12 #define MOD_DESC "VHOST IOTLB"
45 * vhost_iotlb_add_range_ctx - add a new range to vhost IOTLB
132 * vhost_iotlb_del_range - delete overlapped ranges from vhost IOTLB
148 * vhost_iotlb_init - initialize a vhost IOTLB
165 * vhost_iotlb_alloc - allocate a new vhost IOTLB
185 * vhost_iotlb_reset - reset vhost IOTLB (free all IOTLB entries)
195 * vhost_iotlb_free - reset and free vhost IOTLB
H A Dscsi.c3 * Vhost kernel TCM fabric driver for virtio SCSI initiators
35 #include <linux/vhost.h>
40 #include "vhost.h"
141 /* Completed commands list, serviced from vhost worker thread */
153 /* Vhost port target portal group tag for TCM */
165 /* Pointer to the TCM VHost I_T Nexus for this TPG endpoint */
178 /* Binary World Wide unique Port Name for Vhost Target port */
180 /* ASCII formatted WWPN for Vhost Target port */
189 /* event list, serviced from vhost worker thread */
244 MODULE_PARM_DESC(max_io_vqs, "Set the max number of IO virtqueues a vhost scs
260 struct vhost_scsi *vhost; global() member
[all...]
H A Dtest.c10 #include <linux/vhost.h>
19 #include "vhost.h"
371 "vhost-test",
H A DMakefile16 obj-$(CONFIG_VHOST) += vhost.o
H A Dnet.c10 #include <linux/vhost.h>
36 #include "vhost.h"
116 /* vhost zerocopy support fields below: */
407 /* Only the final cloned skb reference completes the vhost descriptor. */ in vhost_zerocopy_complete()
922 /* use msg_control to pass vhost zerocopy ubuf info to skb */ in handle_tx_zerocopy()
1057 * @log - vhost log
1692 /* vhost provides vnet_hdr */ in vhost_net_set_features()
1892 .name = "vhost-net",
1915 MODULE_ALIAS("devname:vhost-net");
/linux/include/uapi/linux/
H A Dvhost.h6 /* vhost is used to reduce the number of system calls involved in virtio.
25 * vhost specific features. */
30 * must be called before any other vhost command. Further calls to
121 /* Set or get vhost backend capability */
245 /* fork_owner values for vhost */
250 * VHOST_SET_FORK_FROM_OWNER - Set the fork_owner flag for the vhost device,
254 * @param fork_owner: An 8-bit value that determines the vhost thread mode
257 * - Vhost will create vhost worker as tasks forked from the owner,
261 * - Vhost will create vhost workers as kernel threads.
266 * VHOST_GET_FORK_OWNER - Get the current fork_owner flag for the vhost device.
H A Dvhost_types.h6 /* vhost is used to reduce the number of system calls involved in virtio.
137 * Used by QEMU userspace to ensure a consistent vhost-scsi ABI.
140 * RFC-v2 vhost-scsi userspace. Add GET_ABI_VERSION ioctl usage
162 /* vhost vdpa IOVA range
163 * @first: First address that can be mapped by vhost-vDPA
164 * @last: Last address that can be mapped by vhost-vDPA
174 /* vhost-net should add virtio_net_hdr for RX, and strip for TX packets. */
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dvhost.h6 /* vhost is used to reduce the number of system calls involved in virtio.
25 * vhost specific features. */
30 * must be called before any other vhost command. Further calls to
121 /* Set or get vhost backend capability */
245 /* fork_owner values for vhost */
250 * VHOST_SET_FORK_FROM_OWNER - Set the fork_owner flag for the vhost device,
254 * @param fork_owner: An 8-bit value that determines the vhost thread mode
257 * - Vhost will create vhost worker as tasks forked from the owner,
261 * - Vhost will create vhost workers as kernel threads.
266 * VHOST_GET_FORK_OWNER - Get the current fork_owner flag for the vhost device.
/linux/tools/virtio/
H A DMakefile22 vpath %.c ../../drivers/virtio ../../drivers/vhost
23 BUILD=KCFLAGS="-I "`pwd`/../../drivers/vhost ${MAKE} -C `pwd`/../.. V=${V}
27 #oot: build vhost as an out of tree module for a distro kernel
33 OOT_VHOST=`pwd`/../../drivers/vhost
34 #Everyone depends on vhost
53 .PHONY: all test mod clean vhost oot oot-clean oot-build
H A Dvirtio_test.c17 #include <linux/vhost.h>
20 #include "../../drivers/vhost/test.h"
137 dev->control = open("/dev/vhost-test", O_RDWR); in vdev_info_init()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-vntb.c182 * epf_ntb_link_up() - Raise link_up interrupt to Virtual Host (VHOST)
183 * @ntb: NTB device that facilitates communication between HOST and VHOST
187 * this NTB function driver will trigger a link event to VHOST.
203 * epf_ntb_configure_mw() - Configure the Outbound Address Space for VHOST
205 * @ntb: NTB device that facilitates communication between HOST and VHOST
222 * VHOST PCI EP
249 * @ntb: NTB device that facilitates communication between HOST and VHOST
374 * a single region and mapped using the same BAR. Also note VHOST's peer
392 * @ntb: NTB device that facilitates communication between HOST and VHOST
394 * Map BAR0 of EP CONTROLLER which contains the VHOST's config and
[all …]
/linux/tools/perf/trace/beauty/
H A Dvhost_virtio_ioctl.sh8 grep -E $regex ${beauty_uapi_linux_dir}/vhost.h | \
15 grep -E $regex ${beauty_uapi_linux_dir}/vhost.h | \
/linux/tools/include/uapi/linux/
H A Dvhost.h
/linux/drivers/
H A DMakefile147 obj-$(CONFIG_VHOST_RING) += vhost/
148 obj-$(CONFIG_VHOST_IOTLB) += vhost/
149 obj-$(CONFIG_VHOST) += vhost/
/linux/tools/testing/vsock/
H A Dutil.h14 x(VHOST, "vhost") \
/linux/tools/virtio/vhost_test/
H A DMakefile3 EXTRA_CFLAGS += -Idrivers/vhost
/linux/arch/um/drivers/
H A Dvirtio_uml.c3 * Virtio vhost-user driver
7 * This driver allows virtio devices to be used over a vhost-user socket.
14 * <socket> := vhost-user socket path to connect
80 /* Vhost-user protocol */
137 * In virtio time-travel mode, we're handling all the vhost-user in vhost_user_recv()
668 * Thus, don't advertise this space to the vhost-user slave. This in vhost_user_set_mem_table()
1409 " Configure a virtio device over a vhost-user socket.\n"
1543 MODULE_DESCRIPTION("UML driver for vhost-user virtio devices");
H A Dvhost_user.h2 /* Vhost-user protocol */
/linux/drivers/virt/acrn/
H A Dioeventfd.c88 * Currently, acrn_ioeventfd is used to support vhost. 1,2,4,8 width in acrn_ioeventfd_assign()
89 * accesses can cover vhost's requirements. in acrn_ioeventfd_assign()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-vdpa47 driver_override file (echo vhost-vdpa > driver_override) and may
/linux/include/linux/
H A Dvringh.h7 * Parts taken from drivers/vhost/vhost.c Copyright 2009 Red Hat, Inc.
/linux/tools/docs/
H A Ddocumentation-file-ref-check16 "drivers/vhost/vhost.c" => "Documentation/virtual/lguest/lguest.c",

12