Lines Matching refs:refcount
31 * @refcount: refcount for this fence
94 struct kref refcount;
269 * dma_fence_put - decreases refcount of the fence
270 * @fence: fence to reduce refcount of
275 kref_put(&fence->refcount, dma_fence_release);
280 * dma_fence_get - increases refcount of the fence
281 * @fence: fence to increase refcount of
283 * Returns the same fence, with refcount increased by 1.
288 kref_get(&fence->refcount);
296 * @fence: fence to increase refcount of
298 * Function returns NULL if no refcount could be obtained, or the fence.
302 if (kref_get_unless_zero(&fence->refcount)) {
311 * @fencep: pointer to fence to increase refcount of
313 * Function returns NULL if no refcount could be obtained, or the fence.