Lines Matching full:leaf

146 static int check_seqno(struct i915_syncmap *leaf, unsigned int idx, u32 seqno)  in check_seqno()  argument
148 if (leaf->height) { in check_seqno()
149 pr_err("%s: not a leaf, height is %d\n", in check_seqno()
150 __func__, leaf->height); in check_seqno()
154 if (__sync_seqno(leaf)[idx] != seqno) { in check_seqno() local
156 __func__, idx, __sync_seqno(leaf)[idx], seqno); in check_seqno()
172 pr_err("Inserting first context=%llx did not return leaf (height=%d, prefix=%llx\n", in check_one()
211 * Check that inserting a new id, creates a leaf and only that leaf. in igt_syncmap_one()
247 pr_err("Inserting context=%llx did not return leaf (height=%d, prefix=%llx\n", in check_leaf()
253 …pr_err("First entry into leaf (context=%llx) does not contain a single entry, found %x (count=%d)!… in check_leaf()
290 * is always a leaf. in igt_syncmap_join_above()
322 pr_err("Leaf misplaced in parent!\n"); in igt_syncmap_join_above()
353 … pr_err("Inserting context=%llx (order=%d, step=%d) did not return leaf (height=%d, prefix=%llx\n", in igt_syncmap_join_below()
408 * Each leaf holds KSYNCMAP seqno. Check that when we create KSYNCMAP in igt_syncmap_neighbours()
409 * neighbouring ids, they all fit into the same leaf. in igt_syncmap_neighbours()
426 pr_err("Inserting context=%llx did not return leaf (height=%d, prefix=%llx\n", in igt_syncmap_neighbours()
433 …pr_err("Inserting neighbouring context=0x%llx+%d, did not fit into the same leaf bitmap=%x (%d), e… in igt_syncmap_neighbours()
460 * leaf holding the single id. in igt_syncmap_compact()
476 … pr_err("Inserting context=%llx (order=%d, idx=%d) did not return leaf (height=%d, prefix=%llx\n", in igt_syncmap_compact()
486 pr_err("Parent (join) of last leaf was not the sync!\n"); in igt_syncmap_compact()
506 /* Each of our children should be a leaf */ in igt_syncmap_compact()
508 struct i915_syncmap *leaf = __sync_child(sync)[idx]; in igt_syncmap_compact() local
510 if (leaf->height) { in igt_syncmap_compact()
511 pr_err("Child %d is a not leaf!\n", idx); in igt_syncmap_compact()
516 if (leaf->parent != sync) { in igt_syncmap_compact()
523 if (!is_power_of_2(leaf->bitmap)) { in igt_syncmap_compact()
525 idx, leaf->bitmap, hweight32(leaf->bitmap)); in igt_syncmap_compact()
530 if (leaf->bitmap != BIT(idx)) { in igt_syncmap_compact()
532 idx, ilog2(leaf->bitmap), idx); in igt_syncmap_compact()