Lines Matching defs:fences
3 * dma-fence-array: aggregate fences to be waited together
32 * Propagate the first error reported by any of our fences, but only
87 if (dma_fence_add_callback(array->fences[i], &cb[i].cb,
89 int error = array->fences[i]->error;
120 dma_fence_put(array->fences[i]);
122 kfree(array->fences);
137 * @num_fences: [in] number of fences to add in the array
138 * @fences: [in] array containing the fences
147 * The caller should allocate the fences array with num_fences size
148 * and fill it with the fences it wants to add to the object. Ownership of this
152 * signals, otherwise it signals when all fences in the array signal.
155 struct dma_fence **fences,
175 array->fences = fences;
184 * dma_fence_match_context - Check if all fences are from the given context
186 * @context: [in] fence context to check all fences against
188 * Checks the provided fence or, for a fence array, all fences in the array
201 if (array->fences[i]->context != context)