Lines Matching refs:tca
760 struct nlattr **tca, int *errp)
763 struct nlattr *kind = tca[TCA_KIND];
825 if (!ops->init || (err = ops->init(sch, tca[TCA_OPTIONS])) == 0) {
826 if (tca[TCA_STAB]) {
827 stab = qdisc_get_stab(tca[TCA_STAB]);
834 if (tca[TCA_RATE]) {
849 root_lock, tca[TCA_RATE]);
878 static int qdisc_change(struct Qdisc *sch, struct nlattr **tca)
883 if (tca[TCA_OPTIONS]) {
886 err = sch->ops->change(sch, tca[TCA_OPTIONS]);
891 if (tca[TCA_STAB]) {
892 stab = qdisc_get_stab(tca[TCA_STAB]);
900 if (tca[TCA_RATE]) {
907 tca[TCA_RATE]);
961 struct nlattr *tca[TCA_MAX + 1];
971 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
997 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id))
1021 struct nlattr *tca[TCA_MAX + 1];
1036 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
1067 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id))
1100 (tca[TCA_KIND] &&
1101 nla_strcmp(tca[TCA_KIND], q->ops->id))))
1116 if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], q->ops->id))
1118 err = qdisc_change(q, tca);
1129 tca, &err);
1142 tca, &err);
1336 struct nlattr *tca[TCA_MAX + 1];
1350 err = nlmsg_parse(n, sizeof(*tcm), tca, TCA_MAX, NULL);
1442 err = cops->change(q, clid, pid, tca, &new_cl);