Lines Matching refs:i915_syncmap
73 struct i915_syncmap { struct
77 struct i915_syncmap *parent; argument
91 void i915_syncmap_init(struct i915_syncmap **root) in i915_syncmap_init()
99 static inline u32 *__sync_seqno(struct i915_syncmap *p) in __sync_seqno()
105 static inline struct i915_syncmap **__sync_child(struct i915_syncmap *p) in __sync_child()
108 return (struct i915_syncmap **)(p + 1); in __sync_child()
112 __sync_branch_idx(const struct i915_syncmap *p, u64 id) in __sync_branch_idx()
118 __sync_leaf_idx(const struct i915_syncmap *p, u64 id) in __sync_leaf_idx()
124 static inline u64 __sync_branch_prefix(const struct i915_syncmap *p, u64 id) in __sync_branch_prefix()
129 static inline u64 __sync_leaf_prefix(const struct i915_syncmap *p, u64 id) in __sync_leaf_prefix()
154 bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno) in i915_syncmap_is_later()
156 struct i915_syncmap *p; in i915_syncmap_is_later()
198 static struct i915_syncmap *
199 __sync_alloc_leaf(struct i915_syncmap *parent, u64 id) in __sync_alloc_leaf()
201 struct i915_syncmap *p; in __sync_alloc_leaf()
214 static inline void __sync_set_seqno(struct i915_syncmap *p, u64 id, u32 seqno) in __sync_set_seqno()
222 static inline void __sync_set_child(struct i915_syncmap *p, in __sync_set_child()
224 struct i915_syncmap *child) in __sync_set_child()
230 static noinline int __sync_set(struct i915_syncmap **root, u64 id, u32 seqno) in __sync_set()
232 struct i915_syncmap *p = *root; in __sync_set()
279 struct i915_syncmap *next; in __sync_set()
353 int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno) in i915_syncmap_set()
355 struct i915_syncmap *p = *root; in i915_syncmap_set()
369 static void __sync_free(struct i915_syncmap *p) in __sync_free()
395 void i915_syncmap_free(struct i915_syncmap **root) in i915_syncmap_free()
397 struct i915_syncmap *p; in i915_syncmap_free()