Lines Matching refs:notify
152 struct ioctl_gntdev_unmap_notify notify; in osdep_gnttab_grant_map() local
153 notify.index = map->index; in osdep_gnttab_grant_map()
154 notify.action = 0; in osdep_gnttab_grant_map()
156 notify.index += notify_offset; in osdep_gnttab_grant_map()
157 notify.action |= UNMAP_NOTIFY_CLEAR_BYTE; in osdep_gnttab_grant_map()
160 notify.event_channel_port = notify_port; in osdep_gnttab_grant_map()
161 notify.action |= UNMAP_NOTIFY_SEND_EVENT; in osdep_gnttab_grant_map()
163 if (notify.action) in osdep_gnttab_grant_map()
164 rv = ioctl(fd, IOCTL_GNTDEV_SET_UNMAP_NOTIFY, ¬ify); in osdep_gnttab_grant_map()
451 struct ioctl_gntalloc_unmap_notify notify; in osdep_gntshr_share_pages() local
478 notify.index = gref_info->index; in osdep_gntshr_share_pages()
479 notify.action = 0; in osdep_gntshr_share_pages()
481 notify.index += notify_offset; in osdep_gntshr_share_pages()
482 notify.action |= UNMAP_NOTIFY_CLEAR_BYTE; in osdep_gntshr_share_pages()
485 notify.event_channel_port = notify_port; in osdep_gntshr_share_pages()
486 notify.action |= UNMAP_NOTIFY_SEND_EVENT; in osdep_gntshr_share_pages()
488 if (notify.action) in osdep_gntshr_share_pages()
489 err = ioctl(fd, IOCTL_GNTALLOC_SET_UNMAP_NOTIFY, ¬ify); in osdep_gntshr_share_pages()