Lines Matching defs:buf
83 xen_front_pgdir_shbuf_get_dir_start(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_get_dir_start()
103 int xen_front_pgdir_shbuf_map(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_map()
124 int xen_front_pgdir_shbuf_unmap(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_unmap()
139 void xen_front_pgdir_shbuf_free(struct xen_front_pgdir_shbuf *buf) in xen_front_pgdir_shbuf_free()
167 static int get_num_pages_dir(struct xen_front_pgdir_shbuf *buf) in get_num_pages_dir()
178 static void backend_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in backend_calc_num_grefs()
190 static void guest_calc_num_grefs(struct xen_front_pgdir_shbuf *buf) in guest_calc_num_grefs()
209 static int backend_unmap(struct xen_front_pgdir_shbuf *buf) in backend_unmap()
256 static int backend_map(struct xen_front_pgdir_shbuf *buf) in backend_map()
341 static void backend_fill_page_dir(struct xen_front_pgdir_shbuf *buf) in backend_fill_page_dir()
368 static void guest_fill_page_dir(struct xen_front_pgdir_shbuf *buf) in guest_fill_page_dir()
410 static int guest_grant_refs_for_buffer(struct xen_front_pgdir_shbuf *buf, in guest_grant_refs_for_buffer()
439 static int grant_references(struct xen_front_pgdir_shbuf *buf) in grant_references()
484 static int alloc_storage(struct xen_front_pgdir_shbuf *buf) in alloc_storage()
526 struct xen_front_pgdir_shbuf *buf = cfg->pgdir; in xen_front_pgdir_shbuf_alloc() local