i915_syncmap
static inline struct i915_syncmap **__sync_child(struct i915_syncmap *p)
return (struct i915_syncmap **)(p + 1);
__sync_branch_idx(const struct i915_syncmap *p, u64 id)
__sync_leaf_idx(const struct i915_syncmap *p, u64 id)
static inline u64 __sync_branch_prefix(const struct i915_syncmap *p, u64 id)
static inline u64 __sync_leaf_prefix(const struct i915_syncmap *p, u64 id)
bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno)
struct i915_syncmap *p;
static struct i915_syncmap *
__sync_alloc_leaf(struct i915_syncmap *parent, u64 id)
struct i915_syncmap *p;
static inline void __sync_set_seqno(struct i915_syncmap *p, u64 id, u32 seqno)
static inline void __sync_set_child(struct i915_syncmap *p,
struct i915_syncmap *child)
static noinline int __sync_set(struct i915_syncmap **root, u64 id, u32 seqno)
struct i915_syncmap *p = *root;
struct i915_syncmap *next;
int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno)
struct i915_syncmap *p = *root;
static void __sync_free(struct i915_syncmap *p)
void i915_syncmap_free(struct i915_syncmap **root)
struct i915_syncmap *p;
struct i915_syncmap *parent;
void i915_syncmap_init(struct i915_syncmap **root)
static inline u32 *__sync_seqno(struct i915_syncmap *p)
struct i915_syncmap;
void i915_syncmap_init(struct i915_syncmap **root);
int i915_syncmap_set(struct i915_syncmap **root, u64 id, u32 seqno);
bool i915_syncmap_is_later(struct i915_syncmap **root, u64 id, u32 seqno);
void i915_syncmap_free(struct i915_syncmap **root);
struct i915_syncmap *sync;