Lines Matching refs:dep
142 struct fd_batch *dep; in batch_flush_reset_dependencies() local
144 foreach_batch(dep, cache, batch->dependents_mask) { in batch_flush_reset_dependencies()
146 fd_batch_flush(dep, false); in batch_flush_reset_dependencies()
147 fd_batch_reference(&dep, NULL); in batch_flush_reset_dependencies()
317 struct fd_batch *dep; in batch_depends_on() local
322 foreach_batch(dep, cache, batch->dependents_mask) in batch_depends_on()
323 if (batch_depends_on(batch, dep)) in batch_depends_on()
330 batch_add_dep(struct fd_batch *batch, struct fd_batch *dep) in batch_add_dep() argument
332 if (batch->dependents_mask & (1 << dep->idx)) in batch_add_dep()
338 if (batch_depends_on(dep, batch)) { in batch_add_dep()
339 DBG("%p: flush forced on %p!", batch, dep); in batch_add_dep()
341 fd_batch_flush(dep, false); in batch_add_dep()
345 fd_batch_reference_locked(&other, dep); in batch_add_dep()
346 batch->dependents_mask |= (1 << dep->idx); in batch_add_dep()
347 DBG("%p: added dependency on %p", batch, dep); in batch_add_dep()
369 struct fd_batch *dep; in fd_batch_resource_used() local
370 foreach_batch(dep, cache, rsc->batch_mask) { in fd_batch_resource_used()
376 fd_batch_reference(&b, dep); in fd_batch_resource_used()