Lines Matching refs:notify

228 static void	notify(struct notify_data *notify, vm_page_t page);
240 struct notify_data *notify; member
270 if (gref->notify) { in gref_list_dtor()
271 notify(gref->notify, gref->page); in gref_list_dtor()
291 if (gref->notify) in gref_list_dtor()
292 free(gref->notify, M_GNTDEV); in gref_list_dtor()
370 grefs[i].notify = NULL; in gntdev_alloc_gref()
490 struct notify_data *notify; member
526 if (gmap->notify) in gmap_list_dtor()
527 free(gmap->notify, M_GNTDEV); in gmap_list_dtor()
593 if (count > 0 && gmap->notify) { in notify_unmap_cleanup()
597 page_offset = gmap->notify->index - gmap->file_index; in notify_unmap_cleanup()
599 notify(gmap->notify, page); in notify_unmap_cleanup()
850 notify(struct notify_data *notify, vm_page_t page) in notify() function
852 if (notify->action & UNMAP_NOTIFY_CLEAR_BYTE) { in notify()
856 offset = notify->index & PAGE_MASK; in notify()
861 if (notify->action & UNMAP_NOTIFY_SEND_EVENT) { in notify()
862 xen_intr_signal(notify->notify_evtchn_handle); in notify()
863 xen_intr_unbind(&notify->notify_evtchn_handle); in notify()
865 notify->action = 0; in notify()
923 if (gref->notify == NULL) in gntdev_set_unmap_notify()
924 gref->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
926 return (copy_notify_helper(gref->notify, arg)); in gntdev_set_unmap_notify()
934 if (gmap->notify == NULL) in gntdev_set_unmap_notify()
935 gmap->notify = malloc(sizeof(*arg), M_GNTDEV, in gntdev_set_unmap_notify()
937 error = copy_notify_helper(gmap->notify, arg); in gntdev_set_unmap_notify()