Searched refs:ubufs (Results 1 – 3 of 3) sorted by relevance
124 struct vhost_net_ubuf_ref *ubufs; member236 struct vhost_net_ubuf_ref *ubufs; in vhost_net_ubuf_alloc() local240 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() argument251 int r = atomic_sub_return(1, &ubufs->refcount); in vhost_net_ubuf_put()[all …]
89 const struct privcmd_dm_op_buf __user *ubufs; member
647 if (copy_from_user(kbufs, kdata.ubufs, in privcmd_ioctl_dm_op()