Lines Matching refs:next
279 struct i915_syncmap *next; in __sync_set() local
285 next = kzalloc(sizeof(*next) + KSYNCMAP * sizeof(next), in __sync_set()
287 if (unlikely(!next)) in __sync_set()
293 next->height = above + p->height; in __sync_set()
294 next->prefix = __sync_branch_prefix(next, id); in __sync_set()
299 __sync_child(p->parent)[idx] = next; in __sync_set()
302 next->parent = p->parent; in __sync_set()
306 __sync_set_child(next, idx, p); in __sync_set()
307 p->parent = next; in __sync_set()
310 p = next; in __sync_set()
319 next = __sync_child(p)[idx]; in __sync_set()
320 if (!next) { in __sync_set()
321 next = __sync_alloc_leaf(p, id); in __sync_set()
322 if (unlikely(!next)) in __sync_set()
325 __sync_set_child(p, idx, next); in __sync_set()
326 p = next; in __sync_set()
330 p = next; in __sync_set()