Lines Matching refs:context
36 * @context: execution context this fence belongs to, returned by
38 * @seqno: the sequence number of this fence inside the execution context,
91 u64 context;
147 * Return the name of the context this fence belongs to. This is a
170 * This function can be called from atomic context, but not
171 * from irq context, so normal spinlocks can be used.
218 * have an optimized version for the case where a process context is
236 * Can be called from irq context. This callback is optional. If it is
263 void dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops, spinlock_t *lock, u64 context, u64 seqno);
448 * @f2: the second fence's seqno from the same context
452 * from the same context, since a seqno is not common across contexts.
469 * @f1: the first fence from the same context
470 * @f2: the second fence from the same context
473 * from the same context, since a seqno is not re-used across contexts.
477 if (WARN_ON(f1->context != f2->context)) {
486 * @f1: the first fence from the same context
487 * @f2: the second fence from the same context
490 * signaled last. Both fences must be from the same context, since a seqno is
495 if (WARN_ON(f1->context != f2->context)) {
594 pr_info("f %llu#%llu: " fmt, __ff->context, __ff->seqno, ##args); \
600 pr_warn("f %llu#%llu: " fmt, __ff->context, __ff->seqno, ##args); \
606 pr_err("f %llu#%llu: " fmt, __ff->context, __ff->seqno, ##args); \