Lines Matching refs:priv
362 struct _WsbmTTMFenceMgrPriv *priv = in tSignaled() local
372 ret = drmCommandWriteRead(priv->fd, priv->devOffset + TTM_FENCE_SIGNALED, in tSignaled()
385 struct _WsbmTTMFenceMgrPriv *priv = in tFinish() local
395 ret = drmCommandWriteRead(priv->fd, priv->devOffset + TTM_FENCE_FINISH, in tFinish()
405 struct _WsbmTTMFenceMgrPriv *priv = in tUnref() local
411 return drmCommandWrite(priv->fd, priv->devOffset + TTM_FENCE_UNREF, in tUnref()
420 struct _WsbmTTMFenceMgrPriv *priv = malloc(sizeof(*priv)); in wsbmFenceMgrTTMInit() local
422 if (!priv) in wsbmFenceMgrTTMInit()
425 priv->fd = fd; in wsbmFenceMgrTTMInit()
426 priv->devOffset = devOffset; in wsbmFenceMgrTTMInit()
436 free(priv); in wsbmFenceMgrTTMInit()
440 mgr->private = (void *)priv; in wsbmFenceMgrTTMInit()