Lines Matching full:info
208 struct sync_file_info *info;
216 info = calloc(1, sizeof(struct sync_file_info) +
218 if (!info)
221 info->num_fences = local_info.num_fences;
222 info->sync_fence_info = (__u64)(uintptr_t)(info + 1);
224 err = ioctl(fd, SYNC_IOC_FILE_INFO, info);
226 free(info);
230 return info;
234 const struct sync_file_info *info)
238 const struct sync_fence_info *fence_info = sync_get_fence_info(info);
239 const uint32_t num_fences = info->num_fences;
246 strlcpy(legacy_info->name, info->name, sizeof(legacy_info->name));
247 legacy_info->status = info->status;
266 struct sync_file_info *info;
277 info = calloc(1, sizeof(struct sync_file_info) +
279 if (!info) {
282 info->sync_fence_info = (__u64)(uintptr_t)(info + 1);
284 strlcpy(info->name, legacy_info->name, sizeof(info->name));
285 info->status = legacy_info->status;
286 info->num_fences = num_fences;
289 fence = sync_get_fence_info(info);
299 return info;
335 struct sync_file_info *info;
341 info = modern_sync_file_info(fd);
342 if (info || errno != ENOTTY) {
343 if (info && uapi == UAPI_UNKNOWN) {
347 return info;
359 info = legacy_fence_info_to_sync_file_info(legacy_info);
361 return info;
364 struct sync_pt_info *sync_pt_info(struct sync_fence_info_data *info,
368 itr = (struct sync_pt_info *) info->pt_info;
372 if ((__u8 *)itr - (__u8 *)info >= (int)info->len)
378 void sync_fence_info_free(struct sync_fence_info_data *info)
380 free(info);
383 void sync_file_info_free(struct sync_file_info *info)
385 free(info);