tag | line | file | source code |
eql | 213 | drivers/net/eql.c | equalizer_t *eql = 0; |
eql | 225 | drivers/net/eql.c | eql = (equalizer_t *) dev->priv; |
eql | 227 | drivers/net/eql.c | eql->stats = kmalloc (sizeof (struct enet_statistics), GFP_KERNEL); |
eql | 228 | drivers/net/eql.c | if (eql->stats == NULL) |
eql | 234 | drivers/net/eql.c | memset (eql->stats, 0, sizeof (struct enet_statistics)); |
eql | 236 | drivers/net/eql.c | init_timer (&eql->timer); |
eql | 237 | drivers/net/eql.c | eql->timer.data = (unsigned long) dev->priv; |
eql | 238 | drivers/net/eql.c | eql->timer.expires = jiffies+EQL_DEFAULT_RESCHED_IVAL; |
eql | 239 | drivers/net/eql.c | eql->timer.function = &eql_timer; |
eql | 240 | drivers/net/eql.c | eql->timer_on = 0; |
eql | 282 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) dev->priv; |
eql | 295 | drivers/net/eql.c | eql->queue = new_queue; |
eql | 296 | drivers/net/eql.c | eql->queue->lock = 0; |
eql | 297 | drivers/net/eql.c | eql->min_slaves = 1; |
eql | 298 | drivers/net/eql.c | eql->max_slaves = EQL_DEFAULT_MAX_SLAVES; /* 4 usually... */ |
eql | 301 | drivers/net/eql.c | eql->timer_on = 1; |
eql | 302 | drivers/net/eql.c | add_timer (&eql->timer); |
eql | 313 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) dev->priv; |
eql | 327 | drivers/net/eql.c | eql->timer_on = 0; |
eql | 328 | drivers/net/eql.c | del_timer (&eql->timer); |
eql | 330 | drivers/net/eql.c | eql_delete_slave_queue (eql->queue); |
eql | 363 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) dev->priv; |
eql | 370 | drivers/net/eql.c | eql_schedule_slaves (eql->queue); |
eql | 372 | drivers/net/eql.c | slave_dev = eql_best_slave_dev (eql->queue); |
eql | 373 | drivers/net/eql.c | slave = eql_best_slave (eql->queue); |
eql | 380 | drivers/net/eql.c | dev->name, eql_number_slaves (eql->queue), skb->len, |
eql | 384 | drivers/net/eql.c | eql->stats->tx_packets++; |
eql | 394 | drivers/net/eql.c | eql->stats->tx_dropped++; |
eql | 403 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) dev->priv; |
eql | 404 | drivers/net/eql.c | return eql->stats; |
eql | 452 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) master_dev->priv; |
eql | 458 | drivers/net/eql.c | eql_insert_slave (eql->queue, s); |
eql | 487 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) master_dev->priv; |
eql | 489 | drivers/net/eql.c | eql_remove_slave_dev (eql->queue, slave_dev); |
eql | 499 | drivers/net/eql.c | equalizer_t *eql; |
eql | 513 | drivers/net/eql.c | eql = (equalizer_t *) dev->priv; |
eql | 518 | drivers/net/eql.c | slave = eql_find_slave_dev (eql->queue, slave_dev); |
eql | 536 | drivers/net/eql.c | equalizer_t *eql; |
eql | 552 | drivers/net/eql.c | eql = (equalizer_t *) dev->priv; |
eql | 557 | drivers/net/eql.c | slave = eql_find_slave_dev (eql->queue, slave_dev); |
eql | 572 | drivers/net/eql.c | equalizer_t *eql; |
eql | 586 | drivers/net/eql.c | eql = (equalizer_t *) dev->priv; |
eql | 587 | drivers/net/eql.c | mc.max_slaves = eql->max_slaves; |
eql | 588 | drivers/net/eql.c | mc.min_slaves = eql->min_slaves; |
eql | 598 | drivers/net/eql.c | equalizer_t *eql; |
eql | 612 | drivers/net/eql.c | eql = (equalizer_t *) dev->priv; |
eql | 613 | drivers/net/eql.c | eql->max_slaves = mc.max_slaves; |
eql | 614 | drivers/net/eql.c | eql->min_slaves = mc.min_slaves; |
eql | 694 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) queue->master_dev->priv; |
eql | 696 | drivers/net/eql.c | if (eql_number_slaves (queue) == eql->max_slaves) |
eql | 1038 | drivers/net/eql.c | equalizer_t *eql = (equalizer_t *) param; |
eql | 1043 | drivers/net/eql.c | if ( ! eql_is_empty (eql->queue) ) |
eql | 1046 | drivers/net/eql.c | for (i = 1, slave = eql_first_slave (eql->queue); |
eql | 1047 | drivers/net/eql.c | i <= eql_number_slaves (eql->queue); |
eql | 1048 | drivers/net/eql.c | i++, slave = eql_next_slave (eql->queue, slave)) |
eql | 1066 | drivers/net/eql.c | eql_delete_slave (eql_remove_slave (eql->queue, slave_corpse)); |
eql | 1070 | drivers/net/eql.c | if (eql->timer_on != 0) |
eql | 1072 | drivers/net/eql.c | eql->timer.expires = jiffies+EQL_DEFAULT_RESCHED_IVAL; |
eql | 1073 | drivers/net/eql.c | add_timer (&eql->timer); |