Lines Matching refs:refcount
32 * @refcount: refcount for this fence
95 struct kref refcount;
291 * dma_fence_put - decreases refcount of the fence
292 * @fence: fence to reduce refcount of
297 kref_put(&fence->refcount, dma_fence_release);
301 * dma_fence_get - increases refcount of the fence
302 * @fence: fence to increase refcount of
304 * Returns the same fence, with refcount increased by 1.
309 kref_get(&fence->refcount);
316 * @fence: fence to increase refcount of
318 * Function returns NULL if no refcount could be obtained, or the fence.
322 if (kref_get_unless_zero(&fence->refcount))
330 * @fencep: pointer to fence to increase refcount of
332 * Function returns NULL if no refcount could be obtained, or the fence.