Lines Matching defs:arg
71 static int t4_sched_bind_unbind_op(struct port_info *pi, void *arg,
84 qe = (struct sched_queue_entry *)arg;
105 fe = (struct sched_flowc_entry *)arg;
351 static int t4_sched_class_bind_unbind_op(struct port_info *pi, void *arg,
356 if (!arg)
361 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg;
370 struct ch_sched_flowc *fe = (struct ch_sched_flowc *)arg;
389 * @arg: Entity opaque data
394 * and bound to the class specified in @arg.
396 int cxgb4_sched_class_bind(struct net_device *dev, void *arg,
405 if (!arg)
410 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg;
416 struct ch_sched_flowc *fe = (struct ch_sched_flowc *)arg;
431 return t4_sched_class_bind_unbind_op(pi, arg, type, true);
438 * @arg: Entity opaque data
443 int cxgb4_sched_class_unbind(struct net_device *dev, void *arg,
452 if (!arg)
457 struct ch_sched_queue *qe = (struct ch_sched_queue *)arg;
463 struct ch_sched_flowc *fe = (struct ch_sched_flowc *)arg;
475 return t4_sched_class_bind_unbind_op(pi, arg, type, false);