Lines Matching refs:assigned_slave
287 struct slave *assigned_slave; in tlb_choose_channel() local
292 assigned_slave = hash_table[hash_index].tx_slave; in tlb_choose_channel()
293 if (!assigned_slave) { in tlb_choose_channel()
294 assigned_slave = tlb_get_least_loaded_slave(bond); in tlb_choose_channel()
296 if (assigned_slave) { in tlb_choose_channel()
298 &(SLAVE_TLB_INFO(assigned_slave)); in tlb_choose_channel()
301 hash_table[hash_index].tx_slave = assigned_slave; in tlb_choose_channel()
315 if (assigned_slave) { in tlb_choose_channel()
321 return assigned_slave; in tlb_choose_channel()
466 struct slave *assigned_slave = rlb_next_rx_slave(bond); in rlb_clear_slave() local
468 if (assigned_slave) { in rlb_clear_slave()
469 rx_hash_table[index].slave = assigned_slave; in rlb_clear_slave()
639 struct slave *assigned_slave; in rlb_choose_channel() local
657 assigned_slave = client_info->slave; in rlb_choose_channel()
658 if (assigned_slave) { in rlb_choose_channel()
660 return assigned_slave; in rlb_choose_channel()
675 assigned_slave = rlb_next_rx_slave(bond); in rlb_choose_channel()
677 if (assigned_slave) { in rlb_choose_channel()
685 client_info->slave = assigned_slave; in rlb_choose_channel()
717 return assigned_slave; in rlb_choose_channel()
767 struct slave *assigned_slave; in rlb_rebalance() local
778 assigned_slave = rlb_next_rx_slave(bond); in rlb_rebalance()
779 if (assigned_slave && (client_info->slave != assigned_slave)) { in rlb_rebalance()
780 client_info->slave = assigned_slave; in rlb_rebalance()