Lines Matching refs:export
158 /** File descriptor associated with a handle export. */
1326 list_for_each_entry_safe(struct bo_export, export, &bo->real.exports, link) {
1327 struct drm_gem_close close = { .handle = export->gem_handle };
1328 intel_ioctl(export->drm_fd, DRM_IOCTL_GEM_CLOSE, &close);
1330 list_del(&export->link);
1331 free(export);
1948 /* We cannot export suballocated BOs. */
1970 /* We cannot export suballocated BOs. */
1988 /* We cannot export suballocated BOs. */
2003 /* We cannot export suballocated BOs. */
2016 /* We cannot export suballocated BOs. */
2042 /* We cannot export suballocated BOs. */
2045 /* Only add the new GEM handle to the list of export if it belongs to a
2059 struct bo_export *export = calloc(1, sizeof(*export));
2060 if (!export)
2063 export->drm_fd = drm_fd;
2068 free(export);
2073 err = drmPrimeFDToHandle(drm_fd, dmabuf_fd, &export->gem_handle);
2077 free(export);
2088 assert(iter->gem_handle == export->gem_handle);
2089 free(export);
2090 export = iter;
2095 list_addtail(&export->link, &bo->real.exports);
2099 *out_handle = export->gem_handle;