Lines Matching defs:root
39 * the root. This allows us to access the whole tree via a single pointer
89 * @root: pointer to the #i915_syncmap
91 void i915_syncmap_init(struct i915_syncmap **root)
95 BUILD_BUG_ON(KSYNCMAP > BITS_PER_TYPE((*root)->bitmap));
96 *root = NULL;
142 * @root: pointer to the #i915_syncmap
146 * If we have already synchronised this @root timeline with another (@id) then
154 bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno)
159 p = *root;
189 *root = p;
230 static noinline int __sync_set(struct i915_syncmap **root, u64 id, u32 seqno)
232 struct i915_syncmap *p = *root;
336 *root = p;
342 * @root: pointer to the #i915_syncmap
346 * When we synchronise this @root timeline with another (@id), we also know
353 int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno)
355 struct i915_syncmap *p = *root;
359 * should have preloaded the root for us.
366 return __sync_set(root, id, seqno);
385 * @root: pointer to the #i915_syncmap
392 * Will reinitialise the @root pointer so that the #i915_syncmap is ready for
395 void i915_syncmap_free(struct i915_syncmap **root)
399 p = *root;
407 *root = NULL;