Lines Matching refs:tab
51 e = &s->tab[p->u.params.class]; in t4_sched_class_fw_cmd()
120 end = &s->tab[s->sched_size]; in t4_sched_queue_lookup()
121 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_queue_lookup()
223 e = &s->tab[qe->param.class]; in t4_sched_queue_bind()
388 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
389 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
404 end = &s->tab[s->sched_size]; in t4_sched_class_lookup()
405 for (e = &s->tab[0]; e != end; ++e) { in t4_sched_class_lookup()
523 memset(&s->tab[i], 0, sizeof(struct sched_class)); in t4_init_sched()
524 s->tab[i].idx = i; in t4_init_sched()
525 s->tab[i].state = SCHED_STATE_UNUSED; in t4_init_sched()
526 INIT_LIST_HEAD(&s->tab[i].queue_list); in t4_init_sched()
527 spin_lock_init(&s->tab[i].lock); in t4_init_sched()
528 atomic_set(&s->tab[i].refcnt, 0); in t4_init_sched()
549 e = &s->tab[i]; in t4_cleanup_sched()