Lines Matching refs:active_node
26 struct active_node { struct
33 #define fetch_node(x) rb_entry(READ_ONCE(x), typeof(struct active_node), node) argument
35 static inline struct active_node *
38 return container_of(active, struct active_node, base); in node_from_active()
48 static inline struct llist_node *barrier_to_ll(struct active_node *node) in barrier_to_ll()
55 __barrier_to_engine(struct active_node *node) in __barrier_to_engine()
61 barrier_to_engine(struct active_node *node) in barrier_to_engine()
67 static inline struct active_node *barrier_from_ll(struct llist_node *x) in barrier_from_ll()
70 struct active_node, base.cb.node); in barrier_from_ll()
130 struct active_node *it, *n; in __active_retire()
223 active_retire(container_of(cb, struct active_node, base.cb)->ref); in node_retire()
233 static struct active_node *__active_lookup(struct i915_active *ref, u64 idx) in __active_lookup()
235 struct active_node *it; in __active_lookup()
292 struct active_node *node; in active_instance()
307 node = rb_entry(parent, struct active_node, node); in active_instance()
367 struct active_node *node, in ____active_del_barrier()
409 __active_del_barrier(struct i915_active *ref, struct active_node *node) in __active_del_barrier()
483 struct active_node *it; in __active_fence()
590 static int flush_barrier(struct active_node *it) in flush_barrier()
607 struct active_node *it, *n; in flush_lazy_signals()
730 struct active_node *it, *n; in await_active()
790 static inline bool is_idle_barrier(struct active_node *node, u64 idx) in is_idle_barrier()
795 static struct active_node *reuse_idle_barrier(struct i915_active *ref, u64 idx) in reuse_idle_barrier()
819 struct active_node *node = in reuse_idle_barrier()
820 rb_entry(p, struct active_node, node); in reuse_idle_barrier()
839 struct active_node *node = in reuse_idle_barrier()
840 rb_entry(p, struct active_node, node); in reuse_idle_barrier()
875 return rb_entry(p, struct active_node, node); in reuse_idle_barrier()
901 struct active_node *node; in i915_active_acquire_preallocate_barrier()
948 struct active_node *node = barrier_from_ll(first); in i915_active_acquire_preallocate_barrier()
974 struct active_node *node = barrier_from_ll(pos); in i915_active_acquire_barrier()
983 struct active_node *it; in i915_active_acquire_barrier()
987 it = rb_entry(parent, struct active_node, node); in i915_active_acquire_barrier()
1182 slab_cache = KMEM_CACHE(active_node, SLAB_HWCACHE_ALIGN); in i915_active_module_init()