Lines Matching refs:next
276 struct i915_syncmap *next; in __sync_set() local
282 next = kzalloc(struct_size(next, child, KSYNCMAP), in __sync_set()
284 if (unlikely(!next)) in __sync_set()
290 next->height = above + p->height; in __sync_set()
291 next->prefix = __sync_branch_prefix(next, id); in __sync_set()
296 __sync_child(p->parent)[idx] = next; in __sync_set()
299 next->parent = p->parent; in __sync_set()
303 __sync_set_child(next, idx, p); in __sync_set()
304 p->parent = next; in __sync_set()
307 p = next; in __sync_set()
316 next = __sync_child(p)[idx]; in __sync_set()
317 if (!next) { in __sync_set()
318 next = __sync_alloc_leaf(p, id); in __sync_set()
319 if (unlikely(!next)) in __sync_set()
322 __sync_set_child(p, idx, next); in __sync_set()
323 p = next; in __sync_set()
327 p = next; in __sync_set()