Lines Matching refs:l
91 int l = 0; in idr_mark_full() local
101 if (!(p = pa[++l])) in idr_mark_full()
137 int l, id, oid; in sub_alloc() local
143 l = idp->layers; in sub_alloc()
144 pa[l--] = NULL; in sub_alloc()
149 n = (id >> (IDR_BITS*l)) & IDR_MASK; in sub_alloc()
154 l++; in sub_alloc()
156 id = (id | ((1 << (IDR_BITS * l)) - 1)) + 1; in sub_alloc()
159 if (!(p = pa[l])) { in sub_alloc()
167 sh = IDR_BITS * (l + 1); in sub_alloc()
174 sh = IDR_BITS*l; in sub_alloc()
179 if (l == 0) in sub_alloc()
188 new->layer = l-1; in sub_alloc()
192 pa[l--] = p; in sub_alloc()
196 pa[l] = p; in sub_alloc()