/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sched/ |
H A D | sch_api.c | 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) argument 883 if (tca[TCA_OPTIONS]) { 886 err = sch->ops->change(sch, tca[TCA_OPTION 758 qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, struct Qdisc *p, u32 parent, u32 handle, struct nlattr **tca, int *errp) argument 961 struct nlattr *tca[TCA_MAX + 1]; local 1021 struct nlattr *tca[TCA_MAX + 1]; local 1336 struct nlattr *tca[TCA_MAX + 1]; local [all...] |
H A D | cls_cgroup.c | 166 u32 handle, struct nlattr **tca, 175 if (!tca[TCA_OPTIONS]) 196 err = nla_parse_nested(tb, TCA_CGROUP_MAX, tca[TCA_OPTIONS], 201 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &cgroup_ext_map); 165 cls_cgroup_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_basic.c | 169 struct nlattr **tca, unsigned long *arg) 176 if (tca[TCA_OPTIONS] == NULL) 179 err = nla_parse_nested(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], 187 return basic_set_parms(tp, f, base, tb, tca[TCA_RATE]); 213 err = basic_set_parms(tp, f, base, tb, tca[TCA_RATE]); 168 basic_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_fw.c | 198 struct nlattr **tb, struct nlattr **tca, unsigned long base) 205 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &fw_ext_map); 240 struct nlattr **tca, 245 struct nlattr *opt = tca[TCA_OPTIONS]; 259 return fw_change_attrs(tp, f, tb, tca, base); 286 err = fw_change_attrs(tp, f, tb, tca, base); 197 fw_change_attrs(struct tcf_proto *tp, struct fw_filter *f, struct nlattr **tb, struct nlattr **tca, unsigned long base) argument 238 fw_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_api.c | 124 struct nlattr *tca[TCA_MAX + 1]; local 164 err = nlmsg_parse(n, sizeof(*t), tca, TCA_MAX, NULL); 215 if (tca[TCA_KIND] == NULL || !protocol) 230 tp_ops = tcf_proto_lookup_ops(tca[TCA_KIND]); 233 struct nlattr *kind = tca[TCA_KIND]; 273 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) 318 err = tp->ops->change(tp, cl, t->tcm_handle, tca, &fh);
|
H A D | sch_drr.c | 66 struct nlattr **tca, unsigned long *arg) 70 struct nlattr *opt = tca[TCA_OPTIONS]; 90 if (tca[TCA_RATE]) { 93 tca[TCA_RATE]); 118 if (tca[TCA_RATE]) { 121 tca[TCA_RATE]); 65 drr_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_route.c | 421 struct nlattr **tca, 427 struct nlattr *opt = tca[TCA_OPTIONS]; 448 tca[TCA_RATE], 0); 471 tca[TCA_RATE], 1); 419 route4_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_tcindex.c | 331 struct nlattr **tca, unsigned long *arg) 333 struct nlattr *opt = tca[TCA_OPTIONS]; 339 pr_debug("tcindex_change(tp %p,handle 0x%08x,tca %p,arg %p),opt %p," 341 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); 350 return tcindex_set_parms(tp, base, handle, p, r, tb, tca[TCA_RATE]); 330 tcindex_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | act_api.c | 960 struct nlattr *tca[TCA_ACT_MAX + 1]; local 964 ret = nlmsg_parse(n, sizeof(struct tcamsg), tca, TCA_ACT_MAX, NULL); 968 if (tca[TCA_ACT_TAB] == NULL) { 986 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, pid, ovr); 991 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, 995 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n,
|
H A D | cls_flow.c | 414 u32 handle, struct nlattr **tca, 419 struct nlattr *opt = tca[TCA_OPTIONS]; 454 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &flow_ext_map); 413 flow_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_rsvp.h | 421 struct nlattr **tca, 428 struct nlattr *opt = tca[TCA_OPTIONS-1]; 442 err = tcf_exts_validate(tp, tb, tca[TCA_RATE-1], &e, &rsvp_ext_map); 419 rsvp_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | sch_dsmark.c | 114 struct nlattr **tca, unsigned long *arg) 117 struct nlattr *opt = tca[TCA_OPTIONS]; 113 dsmark_change(struct Qdisc *sch, u32 classid, u32 parent, struct nlattr **tca, unsigned long *arg) argument
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sched/ |
H A D | sch_api.c | 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) argument 883 if (tca[TCA_OPTIONS]) { 886 err = sch->ops->change(sch, tca[TCA_OPTION 758 qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, struct Qdisc *p, u32 parent, u32 handle, struct nlattr **tca, int *errp) argument 961 struct nlattr *tca[TCA_MAX + 1]; local 1021 struct nlattr *tca[TCA_MAX + 1]; local 1336 struct nlattr *tca[TCA_MAX + 1]; local [all...] |
H A D | cls_cgroup.c | 166 u32 handle, struct nlattr **tca, 175 if (!tca[TCA_OPTIONS]) 196 err = nla_parse_nested(tb, TCA_CGROUP_MAX, tca[TCA_OPTIONS], 201 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &cgroup_ext_map); 165 cls_cgroup_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_basic.c | 169 struct nlattr **tca, unsigned long *arg) 176 if (tca[TCA_OPTIONS] == NULL) 179 err = nla_parse_nested(tb, TCA_BASIC_MAX, tca[TCA_OPTIONS], 187 return basic_set_parms(tp, f, base, tb, tca[TCA_RATE]); 213 err = basic_set_parms(tp, f, base, tb, tca[TCA_RATE]); 168 basic_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_fw.c | 198 struct nlattr **tb, struct nlattr **tca, unsigned long base) 205 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &fw_ext_map); 240 struct nlattr **tca, 245 struct nlattr *opt = tca[TCA_OPTIONS]; 259 return fw_change_attrs(tp, f, tb, tca, base); 286 err = fw_change_attrs(tp, f, tb, tca, base); 197 fw_change_attrs(struct tcf_proto *tp, struct fw_filter *f, struct nlattr **tb, struct nlattr **tca, unsigned long base) argument 238 fw_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_api.c | 124 struct nlattr *tca[TCA_MAX + 1]; local 164 err = nlmsg_parse(n, sizeof(*t), tca, TCA_MAX, NULL); 215 if (tca[TCA_KIND] == NULL || !protocol) 230 tp_ops = tcf_proto_lookup_ops(tca[TCA_KIND]); 233 struct nlattr *kind = tca[TCA_KIND]; 273 } else if (tca[TCA_KIND] && nla_strcmp(tca[TCA_KIND], tp->ops->kind)) 318 err = tp->ops->change(tp, cl, t->tcm_handle, tca, &fh);
|
H A D | sch_drr.c | 66 struct nlattr **tca, unsigned long *arg) 70 struct nlattr *opt = tca[TCA_OPTIONS]; 90 if (tca[TCA_RATE]) { 93 tca[TCA_RATE]); 118 if (tca[TCA_RATE]) { 121 tca[TCA_RATE]); 65 drr_change_class(struct Qdisc *sch, u32 classid, u32 parentid, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_route.c | 421 struct nlattr **tca, 427 struct nlattr *opt = tca[TCA_OPTIONS]; 448 tca[TCA_RATE], 0); 471 tca[TCA_RATE], 1); 419 route4_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_tcindex.c | 331 struct nlattr **tca, unsigned long *arg) 333 struct nlattr *opt = tca[TCA_OPTIONS]; 339 pr_debug("tcindex_change(tp %p,handle 0x%08x,tca %p,arg %p),opt %p," 341 tp, handle, tca, arg, opt, p, r, arg ? *arg : 0L); 350 return tcindex_set_parms(tp, base, handle, p, r, tb, tca[TCA_RATE]); 330 tcindex_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | act_api.c | 960 struct nlattr *tca[TCA_ACT_MAX + 1]; local 964 ret = nlmsg_parse(n, sizeof(struct tcamsg), tca, TCA_ACT_MAX, NULL); 968 if (tca[TCA_ACT_TAB] == NULL) { 986 ret = tcf_action_add(net, tca[TCA_ACT_TAB], n, pid, ovr); 991 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n, 995 ret = tca_action_gd(net, tca[TCA_ACT_TAB], n,
|
H A D | cls_flow.c | 414 u32 handle, struct nlattr **tca, 419 struct nlattr *opt = tca[TCA_OPTIONS]; 454 err = tcf_exts_validate(tp, tb, tca[TCA_RATE], &e, &flow_ext_map); 413 flow_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
H A D | cls_rsvp.h | 421 struct nlattr **tca, 428 struct nlattr *opt = tca[TCA_OPTIONS-1]; 442 err = tcf_exts_validate(tp, tb, tca[TCA_RATE-1], &e, &rsvp_ext_map); 419 rsvp_change(struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg) argument
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/s390/cio/ |
H A D | fcx.c | 107 dcw = (struct dcw *) &tccb->tca[offset]; 165 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; 287 * by @cmd, @flags, @cd, @cd_count and @count to the tca of the tccb. Return 307 /* Add dcw to tca. */ 308 dcw = (struct dcw *) &tccb->tca[tca_offset];
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/s390/cio/ |
H A D | fcx.c | 107 dcw = (struct dcw *) &tccb->tca[offset]; 165 tcat = (struct tccb_tcat *) &tccb->tca[tca_size(tccb)]; 287 * by @cmd, @flags, @cd, @cd_count and @count to the tca of the tccb. Return 307 /* Add dcw to tca. */ 308 dcw = (struct dcw *) &tccb->tca[tca_offset];
|