Home
last modified time | relevance | path

Searched refs:slave_is_standby (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/
H A Dnet_failover.c463 bool slave_is_standby; in net_failover_slave_pre_register() local
468 slave_is_standby = slave_dev->dev.parent == failover_dev->dev.parent; in net_failover_slave_pre_register()
469 if (slave_is_standby ? standby_dev : primary_dev) { in net_failover_slave_pre_register()
472 slave_is_standby ? "standby" : "primary"); in net_failover_slave_pre_register()
480 if (!slave_is_standby && (!slave_dev->dev.parent || in net_failover_slave_pre_register()
499 bool slave_is_standby; in net_failover_slave_register() local
540 if (slave_is_standby) { in net_failover_slave_register()
558 slave_is_standby ? "standby" : "primary", slave_dev->name); in net_failover_slave_register()
594 bool slave_is_standby; in net_failover_slave_unregister() local
612 if (slave_is_standby) { in net_failover_slave_unregister()
[all …]