Lines Matching refs:tab
50 e = &s->tab[p->u.params.class]; in t4_sched_class_fw_cmd()
129 end = &s->tab[s->sched_size]; in t4_sched_entry_lookup()
130 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_entry_lookup()
182 return qe ? &pi->sched_tbl->tab[qe->param.class] : NULL; in cxgb4_sched_queue_lookup()
206 e = &pi->sched_tbl->tab[qe->param.class]; in t4_sched_queue_unbind()
244 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
277 e = &pi->sched_tbl->tab[fe->param.class]; in t4_sched_flowc_unbind()
309 e = &s->tab[fe->param.class]; in t4_sched_flowc_bind()
488 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
489 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
504 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
505 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
614 e = &s->tab[classid]; in cxgb4_sched_class_free()
656 s = kvzalloc(struct_size(s, tab, sched_size), GFP_KERNEL); in t4_init_sched()
663 memset(&s->tab[i], 0, sizeof(struct sched_class)); in t4_init_sched()
664 s->tab[i].idx = i; in t4_init_sched()
665 s->tab[i].state = SCHED_STATE_UNUSED; in t4_init_sched()
666 INIT_LIST_HEAD(&s->tab[i].entry_list); in t4_init_sched()
667 atomic_set(&s->tab[i].refcnt, 0); in t4_init_sched()
687 e = &s->tab[i]; in t4_cleanup_sched()