Lines Matching refs:top
230 p = idp->top; in sub_alloc()
300 p = idp->top; in idr_get_empty_slot()
329 for (new = p; p && p != idp->top; new = p) { in idr_get_empty_slot()
347 rcu_assign_pointer(idp->top, p); in idr_get_empty_slot()
511 struct idr_layer *p = idp->top; in sub_remove()
518 *++paa = &idp->top; in sub_remove()
565 if (idp->top && idp->top->count == 1 && (idp->layers > 1) && in idr_remove()
566 idp->top->ary[0]) { in idr_remove()
573 to_free = idp->top; in idr_remove()
574 p = idp->top->ary[0]; in idr_remove()
575 rcu_assign_pointer(idp->top, p); in idr_remove()
593 *paa = idp->top; in __idr_remove_all()
594 RCU_INIT_POINTER(idp->top, NULL); in __idr_remove_all()
651 p = rcu_dereference_raw(idp->top); in idr_find_slowpath()
696 *paa = rcu_dereference_raw(idp->top); in idr_for_each()
745 p = *paa = rcu_dereference_raw(idp->top); in idr_get_next()
802 p = idp->top; in idr_replace()
1013 struct idr_layer *p = ida->idr.top; in ida_remove()