Home
last modified time | relevance | path

Searched refs:notify_ops (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/lib/librte_vhost/
H A Dsocket.c60 struct vhost_device_ops const *notify_ops; member
246 if (vsocket->notify_ops->new_connection) { in vhost_user_add_connection()
247 ret = vsocket->notify_ops->new_connection(vid); in vhost_user_add_connection()
266 if (vsocket->notify_ops->destroy_connection) in vhost_user_add_connection()
267 vsocket->notify_ops->destroy_connection(conn->vid); in vhost_user_add_connection()
317 if (vsocket->notify_ops->destroy_connection) in vhost_user_read_cb()
318 vsocket->notify_ops->destroy_connection(conn->vid); in vhost_user_read_cb()
1101 vsocket->notify_ops = ops; in rte_vhost_driver_callback_register()
1116 return vsocket ? vsocket->notify_ops : NULL; in vhost_driver_callback_get()
H A Dvhost.h373 struct vhost_device_ops const *notify_ops; member
752 if (dev->notify_ops->guest_notified) in vhost_vring_call_split()
753 dev->notify_ops->guest_notified(dev->vid); in vhost_vring_call_split()
760 if (dev->notify_ops->guest_notified) in vhost_vring_call_split()
761 dev->notify_ops->guest_notified(dev->vid); in vhost_vring_call_split()
815 if (dev->notify_ops->guest_notified) in vhost_vring_call_packed()
816 dev->notify_ops->guest_notified(dev->vid); in vhost_vring_call_packed()
H A Dvhost_user.c222 if (dev->notify_ops->vring_state_changed) in vhost_user_notify_queue_state()
223 dev->notify_ops->vring_state_changed(dev->vid, in vhost_user_notify_queue_state()
345 if (dev->notify_ops->features_changed) in vhost_user_set_features()
346 dev->notify_ops->features_changed(dev->vid, features); in vhost_user_set_features()
1879 if (dev->notify_ops->vring_state_changed) in vhost_user_set_vring_kick()
1880 dev->notify_ops->vring_state_changed( in vhost_user_set_vring_kick()
2721 if (!dev->notify_ops) { in vhost_user_msg_handler()
2722 dev->notify_ops = vhost_driver_callback_get(dev->ifname); in vhost_user_msg_handler()
2723 if (!dev->notify_ops) { in vhost_user_msg_handler()
2912 if (dev->notify_ops->new_device(dev->vid) == 0) in vhost_user_msg_handler()
H A Dvhost.c686 dev->notify_ops->destroy_device(dev->vid); in vhost_destroy_device_notify()