table of contents
other versions
FENCE_ARRAY_CREATE(9) | Device drivers infrastructure | FENCE_ARRAY_CREATE(9) |
NAME¶
fence_array_create - Create a custom fence arraySYNOPSIS¶
struct fence_array *
fence_array_create(int num_fences,
struct fence ** fences,
u64 context, unsigned seqno,
bool signal_on_any);
ARGUMENTS¶
num_fences[in] number of fences to add in the array
fences
[in] array containing the fences
context
[in] fence context to use
seqno
[in] sequence number to use signal_on_any [in]
signal on any fence in the array
signal_on_any
-- undescribed --
DESCRIPTION¶
Allocate a fence_array object and initialize the base fence with fence_init. In case of error it returns NULL. The caller should allocte the fences array with num_fences size and fill it with the fences it wants to add to the object. Ownership of this array is take and fence_put is used on each fence on release. If signal_on_any is true the fence array signals if any fence in the array signals, otherwise it signals when all fences in the array signal.COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |