Lines Matching defs:userptr
241 unsigned long userptr, size;
264 userptr = (unsigned long)malloc(size);
265 if (!userptr) {
266 fprintf(stderr, "failed to allocate userptr.\n");
270 src_img.user_ptr[0].userptr = userptr;
280 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
307 if (userptr)
308 free((void *)userptr);
365 tmp_img.user_ptr[0].userptr = (unsigned long)checkerboard;
400 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
448 unsigned long userptr, size;
469 userptr = (unsigned long)malloc(size);
470 if (!userptr) {
471 fprintf(stderr, "failed to allocate userptr.\n");
475 src_img.user_ptr[0].userptr = userptr;
485 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
517 if (userptr)
518 free((void *)userptr);
534 unsigned long userptr, size;
557 userptr = (unsigned long)malloc(size);
558 if (!userptr) {
559 fprintf(stderr, "failed to allocate userptr.\n");
563 src_img.user_ptr[0].userptr = userptr;
573 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
616 if (userptr)
617 free((void *)userptr);
662 src_img.user_ptr[0].userptr = (unsigned long)checkerboard;
672 type == G2D_IMGBUF_GEM ? "gem" : "userptr");
860 * The blend test uses the userptr functionality of exynos-drm, which