Lines Matching defs:arg
64 static int dsmark_graft(struct Qdisc *sch, unsigned long arg,
84 static struct Qdisc *dsmark_leaf(struct Qdisc *sch, unsigned long arg)
117 struct nlattr **tca, unsigned long *arg,
125 pr_debug("%s(sch %p,[qdisc %p],classid %x,parent %x), arg 0x%lx\n",
126 __func__, sch, p, classid, parent, *arg);
128 if (!dsmark_valid_index(p, *arg)) {
142 p->mv[*arg - 1].value = nla_get_u8(tb[TCA_DSMARK_VALUE]);
145 p->mv[*arg - 1].mask = nla_get_u8(tb[TCA_DSMARK_MASK]);
153 static int dsmark_delete(struct Qdisc *sch, unsigned long arg)
157 if (!dsmark_valid_index(p, arg))
160 p->mv[arg - 1].mask = 0xff;
161 p->mv[arg - 1].value = 0;