Home
last modified time | relevance | path

Searched refs:stab (Results 1 – 3 of 3) sorted by relevance

/net/sched/
Dsch_api.c455 struct qdisc_size_table *stab; in qdisc_get_stab() local
479 list_for_each_entry(stab, &qdisc_stab_list, list) { in qdisc_get_stab()
480 if (memcmp(&stab->szopts, s, sizeof(*s))) in qdisc_get_stab()
482 if (tsize > 0 && memcmp(stab->data, tab, tsize * sizeof(u16))) in qdisc_get_stab()
484 stab->refcnt++; in qdisc_get_stab()
485 return stab; in qdisc_get_stab()
488 stab = kmalloc(sizeof(*stab) + tsize * sizeof(u16), GFP_KERNEL); in qdisc_get_stab()
489 if (!stab) in qdisc_get_stab()
492 stab->refcnt = 1; in qdisc_get_stab()
493 stab->szopts = *s; in qdisc_get_stab()
[all …]
Dsch_gred.c353 u8 *stab, u32 max_P, in gred_change_vq() argument
381 ctl->Scell_log, stab, max_P); in gred_change_vq()
400 u8 *stab; in gred_change() local
426 stab = nla_data(tb[TCA_GRED_STAB]); in gred_change()
449 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); in gred_change()
Dsch_generic.c719 qdisc_put_stab(rtnl_dereference(qdisc->stab)); in qdisc_destroy()