Lines Matching refs:pptr
732 struct rb_node **pptr, u32 * pid) in htb_lookup_leaf() argument
737 struct rb_node **pptr; in htb_lookup_leaf() member
743 sp->pptr = pptr; in htb_lookup_leaf()
747 if (!*sp->pptr && *sp->pid) { in htb_lookup_leaf()
751 *sp->pptr = in htb_lookup_leaf()
757 if (!*sp->pptr) { /* we are at right end; rewind & go up */ in htb_lookup_leaf()
758 *sp->pptr = sp->root; in htb_lookup_leaf()
759 while ((*sp->pptr)->rb_left) in htb_lookup_leaf()
760 *sp->pptr = (*sp->pptr)->rb_left; in htb_lookup_leaf()
763 if (!*sp->pptr) { in htb_lookup_leaf()
767 htb_next_rb_node(sp->pptr); in htb_lookup_leaf()
771 cl = rb_entry(*sp->pptr, struct htb_class, node[prio]); in htb_lookup_leaf()
775 sp->pptr = cl->un.inner.ptr + prio; in htb_lookup_leaf()