Lines Matching refs:tt_index
159 struct mu3h_sch_tt *tt, **tt_index, **ptt;
170 tt_index = NULL;
172 tt_index = utt->hcpriv;
173 if (!tt_index) { /* Create the index array */
174 tt_index = kcalloc(utt->hub->maxchild,
175 sizeof(*tt_index), GFP_KERNEL);
176 if (!tt_index)
178 utt->hcpriv = tt_index;
181 ptt = &tt_index[udev->ttport - 1];
192 kfree(tt_index);
207 struct mu3h_sch_tt *tt, **tt_index, **ptt;
215 tt_index = utt->hcpriv;
216 ptt = &tt_index[udev->ttport - 1];
217 /* How many entries are left in tt_index? */
219 cnt += !!tt_index[i];
221 tt_index = NULL;
234 kfree(tt_index);