Home | History | Annotate | Download | only in gen

Lines Matching defs:lastidx

812 	 * we keep the path updated only for lastidx-1.
813 * vpp is what path_pptr(t, path, lastidx) would be.
817 unsigned int lastidx;
832 lastidx = path->p_lastidx;
833 KASSERT(lastidx == RADIX_TREE_INVALID_HEIGHT ||
834 lastidx == t->t_height ||
835 !entry_match_p(*path_pptr(t, path, lastidx), tagmask));
837 if (lastidx == RADIX_TREE_INVALID_HEIGHT) {
842 lastidx = 0;
843 vpp = path_pptr(t, path, lastidx);
848 vpp = path_pptr(t, path, lastidx);
854 KASSERT(lastidx == t->t_height);
870 if (lastidx == 0) {
878 n = path_node(t, path, lastidx - 1);
892 lastidx--;
893 vpp = path_pptr(t, path, lastidx);
902 while (entry_match_p(*vpp, tagmask) && lastidx < t->t_height) {
907 path->p_refs[lastidx].pptr = vpp;
910 lastidx++;