Lines Matching refs:page
90 struct xensnd_event_page *page = channel->u.evt.page; in evtchnl_interrupt_evt() local
98 prod = page->in_prod; in evtchnl_interrupt_evt()
101 if (prod == page->in_cons) in evtchnl_interrupt_evt()
109 for (cons = page->in_cons; cons != prod; cons++) { in evtchnl_interrupt_evt()
112 event = &XENSND_IN_RING_REF(page, cons); in evtchnl_interrupt_evt()
124 page->in_cons = cons; in evtchnl_interrupt_evt()
146 unsigned long page = 0; in evtchnl_free() local
149 page = (unsigned long)channel->u.req.ring.sring; in evtchnl_free()
151 page = (unsigned long)channel->u.evt.page; in evtchnl_free()
153 if (!page) in evtchnl_free()
171 gnttab_end_foreign_access(channel->gref, 0, page); in evtchnl_free()
173 free_page(page); in evtchnl_free()
199 unsigned long page; in evtchnl_alloc() local
211 page = get_zeroed_page(GFP_KERNEL); in evtchnl_alloc()
212 if (!page) { in evtchnl_alloc()
229 struct xen_sndif_sring *sring = (struct xen_sndif_sring *)page; in evtchnl_alloc()
245 virt_to_gfn((void *)page), 0); in evtchnl_alloc()
249 channel->u.evt.page = (struct xensnd_event_page *)page; in evtchnl_alloc()
282 if (page) in evtchnl_alloc()
283 free_page(page); in evtchnl_alloc()