tag | line | file | source code |
slave | 169 | drivers/net/eql.c | static void eql_delete_slave(slave_t *slave); /* */ |
slave | 180 | drivers/net/eql.c | static int eql_insert_slave(slave_queue_t *queue, slave_t *slave); /* */ |
slave | 181 | drivers/net/eql.c | static slave_t *eql_remove_slave(slave_queue_t *queue, slave_t *slave); /* */ |
slave | 189 | drivers/net/eql.c | static inline slave_t *eql_next_slave(slave_queue_t *queue, slave_t *slave); /* */ |
slave | 191 | drivers/net/eql.c | static inline void eql_set_best_slave(slave_queue_t *queue, slave_t *slave); /* */ |
slave | 360 | drivers/net/eql.c | slave_t *slave; |
slave | 370 | drivers/net/eql.c | slave = eql_best_slave (eql->queue); |
slave | 383 | drivers/net/eql.c | slave->bytes_queued += skb->len; |
slave | 520 | drivers/net/eql.c | slave_t *slave; |
slave | 541 | drivers/net/eql.c | slave = eql_find_slave_dev (eql->queue, slave_dev); |
slave | 542 | drivers/net/eql.c | if (slave != 0) |
slave | 544 | drivers/net/eql.c | sc.priority = slave->priority; |
slave | 561 | drivers/net/eql.c | slave_t *slave; |
slave | 582 | drivers/net/eql.c | slave = eql_find_slave_dev (eql->queue, slave_dev); |
slave | 583 | drivers/net/eql.c | if (slave != 0) |
slave | 585 | drivers/net/eql.c | slave->priority = sc.priority; |
slave | 586 | drivers/net/eql.c | slave->priority_bps = sc.priority; |
slave | 587 | drivers/net/eql.c | slave->priority_Bps = sc.priority / 8; |
slave | 686 | drivers/net/eql.c | slave_t *slave; |
slave | 688 | drivers/net/eql.c | slave = (slave_t *) kmalloc (sizeof (slave_t), GFP_KERNEL); |
slave | 689 | drivers/net/eql.c | if (slave) |
slave | 691 | drivers/net/eql.c | memset(slave, 0, sizeof (slave_t)); |
slave | 692 | drivers/net/eql.c | return slave; |
slave | 700 | drivers/net/eql.c | eql_delete_slave(slave_t *slave) |
slave | 702 | drivers/net/eql.c | kfree (slave); |
slave | 710 | drivers/net/eql.c | slave_Bps(slave_t *slave) |
slave | 712 | drivers/net/eql.c | return (slave->priority_Bps); |
slave | 717 | drivers/net/eql.c | slave_bps(slave_t *slave) |
slave | 719 | drivers/net/eql.c | return (slave->priority_bps); |
slave | 814 | drivers/net/eql.c | eql_insert_slave(slave_queue_t *queue, slave_t *slave) |
slave | 822 | drivers/net/eql.c | duplicate_slave = eql_find_slave_dev (queue, slave->dev); |
slave | 831 | drivers/net/eql.c | slave->next = queue->head->next; |
slave | 832 | drivers/net/eql.c | queue->head->next = slave; |
slave | 846 | drivers/net/eql.c | eql_remove_slave(slave_queue_t *queue, slave_t *slave) |
slave | 855 | drivers/net/eql.c | while (curr != slave && |
slave | 863 | drivers/net/eql.c | if (curr == slave) |
slave | 882 | drivers/net/eql.c | slave_t *slave; |
slave | 888 | drivers/net/eql.c | slave = eql_new_slave (); |
slave | 889 | drivers/net/eql.c | slave->dev = dev; |
slave | 890 | drivers/net/eql.c | slave->priority = EQL_DEFAULT_SLAVE_PRIORITY; |
slave | 891 | drivers/net/eql.c | slave->priority_bps = EQL_DEFAULT_SLAVE_PRIORITY; |
slave | 892 | drivers/net/eql.c | slave->priority_Bps = EQL_DEFAULT_SLAVE_PRIORITY / 8; |
slave | 893 | drivers/net/eql.c | slave->next = queue->head->next; |
slave | 894 | drivers/net/eql.c | queue->head->next = slave; |
slave | 983 | drivers/net/eql.c | slave_t *slave = 0; |
slave | 988 | drivers/net/eql.c | for (i = 1, slave = eql_first_slave (queue); |
slave | 990 | drivers/net/eql.c | i++, slave = eql_next_slave (queue, slave)) |
slave | 1001 | drivers/net/eql.c | if (slave != 0) |
slave | 1003 | drivers/net/eql.c | bytes_queued = slave->bytes_queued; |
slave | 1004 | drivers/net/eql.c | priority_Bps = slave->priority_Bps; |
slave | 1006 | drivers/net/eql.c | if ( slave->dev != 0) |
slave | 1008 | drivers/net/eql.c | if ((slave->dev->flags & IFF_UP) == IFF_UP ) |
slave | 1016 | drivers/net/eql.c | best_slave = slave; |
slave | 1025 | drivers/net/eql.c | slave_corpse = slave; |
slave | 1050 | drivers/net/eql.c | slave_t *slave = 0; |
slave | 1052 | drivers/net/eql.c | slave = eql_first_slave(queue); |
slave | 1054 | drivers/net/eql.c | while (slave != 0 && slave->dev != dev && slave != 0) |
slave | 1057 | drivers/net/eql.c | if (slave->dev != 0) |
slave | 1058 | drivers/net/eql.c | printk ("eql: find_slave_dev; looked at '%s'...\n", slave->dev->name); |
slave | 1063 | drivers/net/eql.c | slave = slave->next; |
slave | 1066 | drivers/net/eql.c | return slave; |
slave | 1080 | drivers/net/eql.c | eql_next_slave(slave_queue_t *queue, slave_t *slave) |
slave | 1082 | drivers/net/eql.c | return slave->next; |
slave | 1088 | drivers/net/eql.c | eql_set_best_slave(slave_queue_t *queue, slave_t *slave) |
slave | 1090 | drivers/net/eql.c | queue->best_slave = slave; |
slave | 1141 | drivers/net/eql.c | slave_t *slave; |
slave | 1149 | drivers/net/eql.c | for (i = 1, slave = eql_first_slave (eql->queue); |
slave | 1151 | drivers/net/eql.c | i++, slave = eql_next_slave (eql->queue, slave)) |
slave | 1153 | drivers/net/eql.c | if (slave != 0) |
slave | 1155 | drivers/net/eql.c | if ((slave->dev->flags & IFF_UP) == IFF_UP ) |
slave | 1157 | drivers/net/eql.c | slave->bytes_queued -= slave->priority_Bps; |
slave | 1159 | drivers/net/eql.c | if (slave->bytes_queued < 0) |
slave | 1160 | drivers/net/eql.c | slave->bytes_queued = 0; |
slave | 1164 | drivers/net/eql.c | slave_corpse = slave; |
slave | 44 | include/linux/if_eql.h | struct slave *next; |
slave | 154 | include/linux/netdevice.h | struct device *slave; /* Slave device */ |