Lines Matching refs:notify
226 static void notify(struct notify_data *notify, vm_page_t page);
238 struct notify_data *notify; member
268 if (gref->notify) { in gref_list_dtor()
269 notify(gref->notify, gref->page); in gref_list_dtor()
289 if (gref->notify) in gref_list_dtor()
290 free(gref->notify, M_GNTDEV); in gref_list_dtor()
368 grefs[i].notify = NULL; in gntdev_alloc_gref()
483 struct notify_data *notify; member
519 if (gmap->notify) in gmap_list_dtor()
520 free(gmap->notify, M_GNTDEV); in gmap_list_dtor()
586 if (count > 0 && gmap->notify) { in notify_unmap_cleanup()
590 page_offset = gmap->notify->index - gmap->file_index; in notify_unmap_cleanup()
592 notify(gmap->notify, page); in notify_unmap_cleanup()
838 notify(struct notify_data *notify, vm_page_t page) in notify() argument
840 if (notify->action & UNMAP_NOTIFY_CLEAR_BYTE) { in notify()
844 offset = notify->index & PAGE_MASK; in notify()
849 if (notify->action & UNMAP_NOTIFY_SEND_EVENT) { in notify()
850 xen_intr_signal(notify->notify_evtchn_handle); in notify()
851 xen_intr_unbind(¬ify->notify_evtchn_handle); in notify()
853 notify->action = 0; in notify()
911 if (gref->notify == NULL) in gntdev_set_unmap_notify()
912 gref->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
914 return (copy_notify_helper(gref->notify, arg)); in gntdev_set_unmap_notify()
922 if (gmap->notify == NULL) in gntdev_set_unmap_notify()
923 gmap->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
925 error = copy_notify_helper(gmap->notify, arg); in gntdev_set_unmap_notify()