Lines Matching refs:next
11 * The above copyright notice and this permission notice (including the next
271 * not zero, our slot contains the next layer in the tree (unless
276 struct i915_syncmap *next;
282 next = kzalloc(struct_size(next, child, KSYNCMAP),
284 if (unlikely(!next))
290 next->height = above + p->height;
291 next->prefix = __sync_branch_prefix(next, id);
296 __sync_child(p->parent)[idx] = next;
299 next->parent = p->parent;
303 __sync_set_child(next, idx, p);
304 p->parent = next;
307 p = next;
313 /* Descend into the next layer */
316 next = __sync_child(p)[idx];
317 if (!next) {
318 next = __sync_alloc_leaf(p, id);
319 if (unlikely(!next))
322 __sync_set_child(p, idx, next);
323 p = next;
327 p = next;