Lines Matching refs:slave_t
160 static slave_t *eql_new_slave(void); /* */
161 static void eql_delete_slave(slave_t *slave); /* */
172 static int eql_insert_slave(slave_queue_t *queue, slave_t *slave); /* */
173 static slave_t *eql_remove_slave(slave_queue_t *queue, slave_t *slave); /* */
179 static inline slave_t *eql_best_slave(slave_queue_t *queue); /* */
180 static inline slave_t *eql_first_slave(slave_queue_t *queue); /* */
181 static inline slave_t *eql_next_slave(slave_queue_t *queue, slave_t *slave); /* */
183 static inline void eql_set_best_slave(slave_queue_t *queue, slave_t *slave); /* */
186 static slave_t *eql_find_slave_dev(slave_queue_t *queue, struct net_device *dev); /* */
360 static inline slave_t *eql_first_slave(slave_queue_t *queue) in eql_first_slave()
366 static inline slave_t *eql_next_slave(slave_queue_t *queue, slave_t *slave) in eql_next_slave()
371 static inline void eql_set_best_slave(slave_queue_t *queue, slave_t *slave) in eql_set_best_slave()
379 slave_t *best_slave = 0; in eql_schedule_slaves()
380 slave_t *slave_corpse = 0; in eql_schedule_slaves()
392 eql_set_best_slave (queue, (slave_t *) 0); in eql_schedule_slaves()
401 slave_t *slave = 0; in eql_schedule_slaves()
478 static inline slave_t *eql_best_slave(slave_queue_t *queue) in eql_best_slave()
488 slave_t *slave; in eql_slave_xmit()
591 slave_t *s = eql_new_slave (); in eql_enslave()
652 slave_t *slave; in eql_g_slave_cfg()
686 slave_t *slave; in eql_s_slave_cfg()
768 static slave_t *eql_new_slave(void) in eql_new_slave()
770 slave_t *slave; in eql_new_slave()
772 slave = (slave_t *) kmalloc (sizeof (slave_t), GFP_KERNEL); in eql_new_slave()
774 memset(slave, 0, sizeof (slave_t)); in eql_new_slave()
779 static void eql_delete_slave(slave_t *slave) in eql_delete_slave()
787 static long slave_Bps(slave_t *slave)
792 static long slave_bps(slave_t *slave)
802 slave_t *head_slave; in eql_new_slave_queue()
803 slave_t *tail_slave; in eql_new_slave_queue()
837 slave_t *zapped; in eql_delete_slave_queue()
854 static int eql_insert_slave(slave_queue_t *queue, slave_t *slave) in eql_insert_slave()
863 slave_t *duplicate_slave = 0; in eql_insert_slave()
882 static slave_t *eql_remove_slave(slave_queue_t *queue, slave_t *slave) in eql_remove_slave()
884 slave_t *prev; in eql_remove_slave()
885 slave_t *curr; in eql_remove_slave()
916 slave_t *prev; in eql_remove_slave_dev()
917 slave_t *curr; in eql_remove_slave_dev()
918 slave_t *target; in eql_remove_slave_dev()
945 static slave_t * eql_find_slave_dev(slave_queue_t *queue, struct net_device *dev) in eql_find_slave_dev()
947 slave_t *slave = 0; in eql_find_slave_dev()
967 slave_t *slave; in eql_timer()
968 slave_t *slave_corpse = 0; in eql_timer()