Lines Matching refs:arg
1423 struct check_loop_arg arg; in check_loop() local
1428 arg.w.stop = arg.w.skip = arg.w.count = 0; in check_loop()
1429 arg.w.fn = check_loop_fn; in check_loop()
1430 arg.depth = depth; in check_loop()
1431 arg.p = p; in check_loop()
1432 q->ops->cl_ops->walk(q, &arg.w); in check_loop()
1433 return arg.w.stop ? -ELOOP : 0; in check_loop()
1441 struct check_loop_arg *arg = (struct check_loop_arg *)w; in check_loop_fn() local
1445 if (leaf == arg->p || arg->depth > 7) in check_loop_fn()
1447 return check_loop(leaf, arg->p, arg->depth + 1); in check_loop_fn()
2079 static int tcf_node_bind(struct tcf_proto *tp, void *n, struct tcf_walker *arg) in tcf_node_bind() argument
2081 struct tcf_bind_args *a = (void *)arg; in tcf_node_bind()
2118 struct tcf_bind_args arg = {}; in tc_bind_class_walker() local
2120 arg.w.fn = tcf_node_bind; in tc_bind_class_walker()
2121 arg.classid = a->clid; in tc_bind_class_walker()
2122 arg.base = cl; in tc_bind_class_walker()
2123 arg.cl = a->new_cl; in tc_bind_class_walker()
2124 tp->ops->walk(tp, &arg.w, true); in tc_bind_class_walker()
2317 struct qdisc_walker *arg) in qdisc_class_dump() argument
2319 struct qdisc_dump_args *a = (struct qdisc_dump_args *)arg; in qdisc_class_dump()
2330 struct qdisc_dump_args arg; in tc_dump_tclass_qdisc() local
2341 arg.w.fn = qdisc_class_dump; in tc_dump_tclass_qdisc()
2342 arg.skb = skb; in tc_dump_tclass_qdisc()
2343 arg.cb = cb; in tc_dump_tclass_qdisc()
2344 arg.w.stop = 0; in tc_dump_tclass_qdisc()
2345 arg.w.skip = cb->args[1]; in tc_dump_tclass_qdisc()
2346 arg.w.count = 0; in tc_dump_tclass_qdisc()
2347 q->ops->cl_ops->walk(q, &arg.w); in tc_dump_tclass_qdisc()
2348 cb->args[1] = arg.w.count; in tc_dump_tclass_qdisc()
2349 if (arg.w.stop) in tc_dump_tclass_qdisc()