Lines Matching refs:flink
43 struct drm_gem_flink flink; in test_flink() local
54 flink.handle = create.handle; in test_flink()
55 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in test_flink()
58 open.name = flink.name; in test_flink()
68 struct drm_gem_flink flink; in test_double_flink() local
79 flink.handle = create.handle; in test_double_flink()
80 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in test_double_flink()
86 assert(flink2.name == flink.name); in test_double_flink()
92 struct drm_gem_flink flink; in test_bad_flink() local
97 flink.handle = 0x10101010; in test_bad_flink()
98 ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink); in test_bad_flink()