Home
last modified time | relevance | path

Searched refs:ubufs (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/vhost/
Dnet.c124 struct vhost_net_ubuf_ref *ubufs; member
236 struct vhost_net_ubuf_ref *ubufs; in vhost_net_ubuf_alloc() local
240 ubufs = kmalloc(sizeof(*ubufs), GFP_KERNEL); in vhost_net_ubuf_alloc()
241 if (!ubufs) in vhost_net_ubuf_alloc()
243 atomic_set(&ubufs->refcount, 1); in vhost_net_ubuf_alloc()
244 init_waitqueue_head(&ubufs->wait); in vhost_net_ubuf_alloc()
245 ubufs->vq = vq; in vhost_net_ubuf_alloc()
246 return ubufs; in vhost_net_ubuf_alloc()
249 static int vhost_net_ubuf_put(struct vhost_net_ubuf_ref *ubufs) in vhost_net_ubuf_put() argument
251 int r = atomic_sub_return(1, &ubufs->refcount); in vhost_net_ubuf_put()
[all …]
/linux-6.1.9/include/uapi/xen/
Dprivcmd.h89 const struct privcmd_dm_op_buf __user *ubufs; member
/linux-6.1.9/drivers/xen/
Dprivcmd.c647 if (copy_from_user(kbufs, kdata.ubufs, in privcmd_ioctl_dm_op()