Home
last modified time | relevance | path

Searched refs:cb_list (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-fence.c334 struct list_head cb_list; in dma_fence_signal_timestamp_locked() local
342 /* Stash the cb_list before replacing it with the timestamp */ in dma_fence_signal_timestamp_locked()
343 list_replace(&fence->cb_list, &cb_list); in dma_fence_signal_timestamp_locked()
349 list_for_each_entry_safe(cur, tmp, &cb_list, node) { in dma_fence_signal_timestamp_locked()
500 if (WARN(!list_empty(&fence->cb_list) && !test_bit(DMA_FENCE_FLAG_SIGNALED_BIT, &fence->flags), in dma_fence_release()
628 list_add_tail(&cb->node, &fence->cb_list); in dma_fence_add_callback()
753 list_add(&cb.base.node, &fence->cb_list); in dma_fence_default_wait()
906 INIT_LIST_HEAD(&fence->cb_list); in dma_fence_init()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Ddma-fence.h34 * @cb_list: list of all callbacks to call
71 * cb_list that they don't themselves hold a reference for.
74 * rcu freelist and the cb_list. The timestamp is only set upon
75 * signaling while simultaneously notifying the cb_list. Ergo, we
76 * only use either the cb_list of timestamp. Upon destruction,
78 * that the cb_list is *only* valid until the signal bit is set,
85 struct list_head cb_list; member
86 /* @cb_list replaced by @timestamp on dma_fence_signal() */
109 * @node: used by dma_fence_add_callback() to append this struct to fence::cb_list

Completed in 3 milliseconds