xen_drm_front_gem.c | 49 static int gem_alloc_pages_array(struct xen_gem_object *xen_obj, 52 xen_obj->num_pages = DIV_ROUND_UP(buf_size, PAGE_SIZE); 53 xen_obj->pages = kvmalloc_array(xen_obj->num_pages, 55 return !xen_obj->pages ? -ENOMEM : 0; 58 static void gem_free_pages_array(struct xen_gem_object *xen_obj) 60 kvfree(xen_obj->pages); 61 xen_obj->pages = NULL; 67 struct xen_gem_object *xen_obj; local in function:gem_create_obj 70 xen_obj = kzalloc(sizeof(*xen_obj), GFP_KERNEL) 86 struct xen_gem_object *xen_obj; local in function:gem_create 141 struct xen_gem_object *xen_obj; local in function:xen_drm_front_gem_create 152 struct xen_gem_object *xen_obj = to_xen_gem_obj(gem_obj); local in function:xen_drm_front_gem_free_object_unlocked 175 struct xen_gem_object *xen_obj = to_xen_gem_obj(gem_obj); local in function:xen_drm_front_gem_get_pages 182 struct xen_gem_object *xen_obj = to_xen_gem_obj(gem_obj); local in function:xen_drm_front_gem_get_sg_table 196 struct xen_gem_object *xen_obj; local in function:xen_drm_front_gem_import_sg_table 267 struct xen_gem_object *xen_obj; local in function:xen_drm_front_gem_mmap 282 struct xen_gem_object *xen_obj = to_xen_gem_obj(gem_obj); local in function:xen_drm_front_gem_prime_vmap 301 struct xen_gem_object *xen_obj; local in function:xen_drm_front_gem_prime_mmap [all...] |