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