Lines Matching defs:next
11 * The above copyright notice and this permission notice (including the next
274 * not zero, our slot contains the next layer in the tree (unless
279 struct i915_syncmap *next;
285 next = kzalloc(sizeof(*next) + KSYNCMAP * sizeof(next),
287 if (unlikely(!next))
293 next->height = above + p->height;
294 next->prefix = __sync_branch_prefix(next, id);
299 __sync_child(p->parent)[idx] = next;
302 next->parent = p->parent;
306 __sync_set_child(next, idx, p);
307 p->parent = next;
310 p = next;
316 /* Descend into the next layer */
319 next = __sync_child(p)[idx];
320 if (!next) {
321 next = __sync_alloc_leaf(p, id);
322 if (unlikely(!next))
325 __sync_set_child(p, idx, next);
326 p = next;
330 p = next;