Lines Matching defs:userptr
247 unsigned long userptr, size;
270 userptr = (unsigned long)malloc(size);
271 if (!userptr) {
272 fprintf(stderr, "failed to allocate userptr.\n");
277 src_img.user_ptr[0].userptr = userptr;
287 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
314 if (userptr)
315 free((void *)userptr);
372 tmp_img.user_ptr[0].userptr = (unsigned long)checkerboard;
407 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
455 unsigned long userptr, size;
476 userptr = (unsigned long)malloc(size);
477 if (!userptr) {
478 fprintf(stderr, "failed to allocate userptr.\n");
483 src_img.user_ptr[0].userptr = userptr;
493 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
525 if (userptr)
526 free((void *)userptr);
543 unsigned long userptr, size;
566 userptr = (unsigned long)malloc(size);
567 if (!userptr) {
568 fprintf(stderr, "failed to allocate userptr.\n");
573 src_img.user_ptr[0].userptr = userptr;
583 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
626 if (userptr)
627 free((void *)userptr);
673 src_img.user_ptr[0].userptr = (unsigned long)checkerboard;
683 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
871 * The blend test uses the userptr functionality of exynos-drm, which