Lines Matching refs:l2tab
266 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e)
270 for (e = &d->l2tab[1]; atomic_load_acq_int(&e->refcnt); ++e) ;
282 for (p = &d->l2tab[hash].first; *p; p = &(*p)->next)
355 for (e = d->l2tab[hash].first; e; e = e->next)
368 e->next = d->l2tab[hash].first;
369 d->l2tab[hash].first = e;
437 for (e = d->l2tab[hash].first; e; e = e->next)
485 for (e = d->l2tab[hash].first; e; e = e->next)
548 d->rover = &d->l2tab[1]; /* entry 0 is not used */
553 d->l2tab[i].idx = i;
554 d->l2tab[i].state = L2T_STATE_UNUSED;
555 mtx_init(&d->l2tab[i].lock, "L2TAB", NULL, MTX_DEF);
556 atomic_store_rel_int(&d->l2tab[i].refcnt, 0);
559 setup_timer(&d->l2tab[i].update_timer, update_timer_cb,
560 (unsigned long)&d->l2tab[i]);
576 del_timer_sync(&d->l2tab[i].update_timer);
592 return pos >= d->nentries ? NULL : &d->l2tab[pos];