Lines Matching refs:arg
1429 struct check_loop_arg arg; in check_loop() local
1434 arg.w.stop = arg.w.skip = arg.w.count = 0; in check_loop()
1435 arg.w.fn = check_loop_fn; in check_loop()
1436 arg.depth = depth; in check_loop()
1437 arg.p = p; in check_loop()
1438 q->ops->cl_ops->walk(q, &arg.w); in check_loop()
1439 return arg.w.stop ? -ELOOP : 0; in check_loop()
1447 struct check_loop_arg *arg = (struct check_loop_arg *)w; in check_loop_fn() local
1451 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1453 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
1995 static int tcf_node_bind(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_bind() argument
1997 struct tcf_bind_args *a = (void *)arg; in tcf_node_bind()
2034 struct tcf_bind_args arg = {}; in tc_bind_class_walker() local
2036 arg.w.fn = tcf_node_bind; in tc_bind_class_walker()
2037 arg.classid = a->clid; in tc_bind_class_walker()
2038 arg.base = cl; in tc_bind_class_walker()
2039 arg.cl = a->new_cl; in tc_bind_class_walker()
2040 tp->ops->walk(tp, &arg.w, true); in tc_bind_class_walker()
2211 struct qdisc_walker *arg) in qdisc_class_dump() argument
2213 struct qdisc_dump_args *a = (struct qdisc_dump_args *)arg; in qdisc_class_dump()
2224 struct qdisc_dump_args arg; in tc_dump_tclass_qdisc() local
2235 arg.w.fn = qdisc_class_dump; in tc_dump_tclass_qdisc()
2236 arg.skb = skb; in tc_dump_tclass_qdisc()
2237 arg.cb = cb; in tc_dump_tclass_qdisc()
2238 arg.w.stop = 0; in tc_dump_tclass_qdisc()
2239 arg.w.skip = cb->args[1]; in tc_dump_tclass_qdisc()
2240 arg.w.count = 0; in tc_dump_tclass_qdisc()
2241 q->ops->cl_ops->walk(q, &arg.w); in tc_dump_tclass_qdisc()
2242 cb->args[1] = arg.w.count; in tc_dump_tclass_qdisc()
2243 if (arg.w.stop) in tc_dump_tclass_qdisc()