search for: vfs_poll

Displaying 2 results from an estimated 2 matches for "vfs_poll".

Did you mean: sys_poll
2020 May 26
0
[PATCH] vdpa: bypass waking up vhost_woker for vdpa vq kick
...gt;poll); 293 } 294 > 295 int vhost_vdpa_poll_start(struct vhost_virtqueue *vq) 296 { 297 struct vhost_poll *poll = &vq->poll; 298 struct file *file = vq->kick; 299 __poll_t mask; 300 301 302 if (poll->wqh) 303 return 0; 304 305 mask = vfs_poll(file, &poll->table); 306 if (mask) 307 vq->handle_kick(&vq->poll.work); 308 if (mask & EPOLLERR) { 309 vhost_poll_stop(poll); 310 return -EINVAL; 311 } 312 313 return 0; 314 } 315 --- 0-DAY CI Kernel Test Service, Intel Corporation htt...
2020 May 28
0
[PATCH] vdpa: bypass waking up vhost_woker for vdpa vq kick
...l_stop(&vq->poll); > +} > + > +int vhost_vdpa_poll_start(struct vhost_virtqueue *vq) > +{ > + struct vhost_poll *poll = &vq->poll; > + struct file *file = vq->kick; > + __poll_t mask; > + > + > + if (poll->wqh) > + return 0; > + > + mask = vfs_poll(file, &poll->table); > + if (mask) > + vq->handle_kick(&vq->poll.work); > + if (mask & EPOLLERR) { > + vhost_poll_stop(poll); > + return -EINVAL; > + } > + > + return 0; > +} So this basically a duplication of vhost_poll_start()? > + > +s...