Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\virtio_config.h Create Date:2022-07-28 18:05:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:virtio_find_single_vq

Proto:static inline struct virtqueue *virtio_find_single_vq(struct virtio_device *vdev, vq_callback_t *c, const char *n)

Type:struct virtqueue

Parameter:

TypeParameterName
struct virtio_device *vdev
vq_callback_t *c
const char *n
181  vq_callback_t * callbacks[] = {c}
182  const char * names[] = {n}
184  err = find_vqs(vdev, 1, & vq, callbacks, names, NULL, NULL)
186  If err < 0 Then Return ERR_PTR(err)
188  Return vq