Searched refs:eql (Results 1 - 4 of 4) sorted by relevance

/linux-4.1.27/drivers/net/
H A Deql.c31 * $Log: eql.c,v $
144 equalizer_t *eql = (equalizer_t *) param; eql_timer() local
147 spin_lock(&eql->queue.lock); eql_timer()
148 head = &eql->queue.all_slaves; list_for_each_safe()
157 eql_kill_one_slave(&eql->queue, slave); list_for_each_safe()
161 spin_unlock(&eql->queue.lock);
163 eql->timer.expires = jiffies + EQL_DEFAULT_RESCHED_IVAL;
164 add_timer(&eql->timer);
179 equalizer_t *eql = netdev_priv(dev); eql_setup() local
181 init_timer(&eql->timer); eql_setup()
182 eql->timer.data = (unsigned long) eql; eql_setup()
183 eql->timer.expires = jiffies + EQL_DEFAULT_RESCHED_IVAL; eql_setup()
184 eql->timer.function = eql_timer; eql_setup()
186 spin_lock_init(&eql->queue.lock); eql_setup()
187 INIT_LIST_HEAD(&eql->queue.all_slaves); eql_setup()
188 eql->queue.master_dev = dev; eql_setup()
207 equalizer_t *eql = netdev_priv(dev); eql_open() local
213 BUG_ON(!list_empty(&eql->queue.all_slaves)); eql_open()
215 eql->min_slaves = 1; eql_open()
216 eql->max_slaves = EQL_DEFAULT_MAX_SLAVES; /* 4 usually... */ eql_open()
218 add_timer(&eql->timer); eql_open()
250 equalizer_t *eql = netdev_priv(dev); eql_close() local
257 del_timer_sync(&eql->timer); eql_close()
259 eql_kill_slave_queue(&eql->queue); eql_close()
335 equalizer_t *eql = netdev_priv(dev); eql_slave_xmit() local
338 spin_lock(&eql->queue.lock); eql_slave_xmit()
340 slave = __eql_schedule_slaves(&eql->queue); eql_slave_xmit()
354 spin_unlock(&eql->queue.lock); eql_slave_xmit()
381 equalizer_t *eql = netdev_priv(queue->master_dev); eql_is_full() local
383 if (queue->num_slaves >= eql->max_slaves) eql_is_full()
425 equalizer_t *eql = netdev_priv(master_dev); eql_enslave() local
437 spin_lock_bh(&eql->queue.lock); eql_enslave()
438 ret = __eql_insert_slave(&eql->queue, s); eql_enslave()
442 spin_unlock_bh(&eql->queue.lock); eql_enslave()
453 equalizer_t *eql = netdev_priv(master_dev); eql_emancipate() local
466 spin_lock_bh(&eql->queue.lock); eql_emancipate()
468 slave_t *slave = __eql_find_slave_dev(&eql->queue, slave_dev); eql_emancipate()
470 eql_kill_one_slave(&eql->queue, slave); eql_emancipate()
474 spin_unlock_bh(&eql->queue.lock); eql_emancipate()
481 equalizer_t *eql = netdev_priv(dev); eql_g_slave_cfg() local
496 spin_lock_bh(&eql->queue.lock); eql_g_slave_cfg()
498 slave = __eql_find_slave_dev(&eql->queue, slave_dev); eql_g_slave_cfg()
504 spin_unlock_bh(&eql->queue.lock); eql_g_slave_cfg()
515 equalizer_t *eql; eql_s_slave_cfg() local
529 eql = netdev_priv(dev); eql_s_slave_cfg()
530 spin_lock_bh(&eql->queue.lock); eql_s_slave_cfg()
532 slave = __eql_find_slave_dev(&eql->queue, slave_dev); eql_s_slave_cfg()
540 spin_unlock_bh(&eql->queue.lock); eql_s_slave_cfg()
547 equalizer_t *eql; eql_g_master_cfg() local
553 eql = netdev_priv(dev); eql_g_master_cfg()
554 mc.max_slaves = eql->max_slaves; eql_g_master_cfg()
555 mc.min_slaves = eql->min_slaves; eql_g_master_cfg()
565 equalizer_t *eql; eql_s_master_cfg() local
572 eql = netdev_priv(dev); eql_s_master_cfg()
573 eql->max_slaves = mc.max_slaves; eql_s_master_cfg()
574 eql->min_slaves = mc.min_slaves; eql_s_master_cfg()
588 dev_eql = alloc_netdev(sizeof(equalizer_t), "eql", NET_NAME_UNKNOWN, eql_init_module()
/linux-4.1.27/net/sched/
H A Dsch_teql.c44 like tunnels, use a normal eql device.
/linux-4.1.27/net/core/
H A Dneighbour.c1197 * things such as shaper, eql, and sch_teql can end up neigh_update()
/linux-4.1.27/drivers/net/bonding/
H A Dbond_main.c5 * Licensed under the GPL. Based on dummy.c, and eql.c devices.

Completed in 199 milliseconds