Lines Matching refs:userptr
241 unsigned long userptr, size; in g2d_copy_test() local
264 userptr = (unsigned long)malloc(size); in g2d_copy_test()
265 if (!userptr) { in g2d_copy_test()
270 src_img.user_ptr[0].userptr = userptr; in g2d_copy_test()
307 if (userptr) in g2d_copy_test()
308 free((void *)userptr); in g2d_copy_test()
365 tmp_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_move_test()
448 unsigned long userptr, size; in g2d_copy_with_scale_test() local
469 userptr = (unsigned long)malloc(size); in g2d_copy_with_scale_test()
470 if (!userptr) { in g2d_copy_with_scale_test()
475 src_img.user_ptr[0].userptr = userptr; in g2d_copy_with_scale_test()
517 if (userptr) in g2d_copy_with_scale_test()
518 free((void *)userptr); in g2d_copy_with_scale_test()
534 unsigned long userptr, size; in g2d_blend_test() local
557 userptr = (unsigned long)malloc(size); in g2d_blend_test()
558 if (!userptr) { in g2d_blend_test()
563 src_img.user_ptr[0].userptr = userptr; in g2d_blend_test()
616 if (userptr) in g2d_blend_test()
617 free((void *)userptr); in g2d_blend_test()
662 src_img.user_ptr[0].userptr = (unsigned long)checkerboard; in g2d_checkerboard_test()