Lines Matching full:notify
225 static void notify(struct notify_data *notify, vm_page_t page);
237 struct notify_data *notify; member
267 if (gref->notify) { in gref_list_dtor()
268 notify(gref->notify, gref->page); in gref_list_dtor()
288 if (gref->notify) in gref_list_dtor()
289 free(gref->notify, M_GNTDEV); in gref_list_dtor()
367 grefs[i].notify = NULL; in gntdev_alloc_gref()
482 struct notify_data *notify; member
518 if (gmap->notify) in gmap_list_dtor()
519 free(gmap->notify, M_GNTDEV); in gmap_list_dtor()
584 if (count > 0 && gmap->notify) { in notify_unmap_cleanup()
588 page_offset = gmap->notify->index - gmap->file_index; in notify_unmap_cleanup()
590 notify(gmap->notify, page); in notify_unmap_cleanup()
826 notify(struct notify_data *notify, vm_page_t page) in notify() function
828 if (notify->action & UNMAP_NOTIFY_CLEAR_BYTE) { in notify()
832 offset = notify->index & PAGE_MASK; in notify()
837 if (notify->action & UNMAP_NOTIFY_SEND_EVENT) { in notify()
838 xen_intr_signal(notify->notify_evtchn_handle); in notify()
839 xen_intr_unbind(¬ify->notify_evtchn_handle); in notify()
841 notify->action = 0; in notify()
845 * Helper to copy new arguments from the notify ioctl into
846 * the existing notify data.
899 if (gref->notify == NULL) in gntdev_set_unmap_notify()
900 gref->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
902 return (copy_notify_helper(gref->notify, arg)); in gntdev_set_unmap_notify()
910 if (gmap->notify == NULL) in gntdev_set_unmap_notify()
911 gmap->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
913 error = copy_notify_helper(gmap->notify, arg); in gntdev_set_unmap_notify()