Lines Matching refs:i915_syncmap
73 struct i915_syncmap { struct
77 struct i915_syncmap *parent; argument
80 DECLARE_FLEX_ARRAY(struct i915_syncmap *, child); argument
88 void i915_syncmap_init(struct i915_syncmap **root) in i915_syncmap_init()
96 static inline u32 *__sync_seqno(struct i915_syncmap *p) in __sync_seqno()
102 static inline struct i915_syncmap **__sync_child(struct i915_syncmap *p) in __sync_child()
109 __sync_branch_idx(const struct i915_syncmap *p, u64 id) in __sync_branch_idx()
115 __sync_leaf_idx(const struct i915_syncmap *p, u64 id) in __sync_leaf_idx()
121 static inline u64 __sync_branch_prefix(const struct i915_syncmap *p, u64 id) in __sync_branch_prefix()
126 static inline u64 __sync_leaf_prefix(const struct i915_syncmap *p, u64 id) in __sync_leaf_prefix()
151 bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno) in i915_syncmap_is_later()
153 struct i915_syncmap *p; in i915_syncmap_is_later()
195 static struct i915_syncmap *
196 __sync_alloc_leaf(struct i915_syncmap *parent, u64 id) in __sync_alloc_leaf()
198 struct i915_syncmap *p; in __sync_alloc_leaf()
211 static inline void __sync_set_seqno(struct i915_syncmap *p, u64 id, u32 seqno) in __sync_set_seqno()
219 static inline void __sync_set_child(struct i915_syncmap *p, in __sync_set_child()
221 struct i915_syncmap *child) in __sync_set_child()
227 static noinline int __sync_set(struct i915_syncmap **root, u64 id, u32 seqno) in __sync_set()
229 struct i915_syncmap *p = *root; in __sync_set()
276 struct i915_syncmap *next; in __sync_set()
350 int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno) in i915_syncmap_set()
352 struct i915_syncmap *p = *root; in i915_syncmap_set()
366 static void __sync_free(struct i915_syncmap *p) in __sync_free()
392 void i915_syncmap_free(struct i915_syncmap **root) in i915_syncmap_free()
394 struct i915_syncmap *p; in i915_syncmap_free()