failover 568 drivers/infiniband/core/cm_msgs.h static inline void cm_rep_set_failover(struct cm_rep_msg *rep_msg, u8 failover) failover 571 drivers/infiniband/core/cm_msgs.h ((failover & 0x3) << 1)); failover 5087 drivers/net/ethernet/ibm/ibmvnic.c static DEVICE_ATTR_WO(failover); failover 710 drivers/net/net_failover.c struct failover *net_failover_create(struct net_device *standby_dev) failover 714 drivers/net/net_failover.c struct failover *failover; failover 765 drivers/net/net_failover.c failover = failover_register(failover_dev, &net_failover_ops); failover 766 drivers/net/net_failover.c if (IS_ERR(failover)) { failover 767 drivers/net/net_failover.c err = PTR_ERR(failover); failover 771 drivers/net/net_failover.c return failover; failover 793 drivers/net/net_failover.c void net_failover_destroy(struct failover *failover) failover 799 drivers/net/net_failover.c if (!failover) failover 802 drivers/net/net_failover.c failover_dev = rcu_dereference(failover->failover_dev); failover 817 drivers/net/net_failover.c failover_unregister(failover); failover 231 drivers/net/virtio_net.c struct failover *failover; failover 3147 drivers/net/virtio_net.c vi->failover = net_failover_create(vi->dev); failover 3148 drivers/net/virtio_net.c if (IS_ERR(vi->failover)) { failover 3149 drivers/net/virtio_net.c err = PTR_ERR(vi->failover); failover 3196 drivers/net/virtio_net.c net_failover_destroy(vi->failover); failover 3231 drivers/net/virtio_net.c net_failover_destroy(vi->failover); failover 31 include/net/failover.h struct failover *failover_register(struct net_device *dev, failover 33 include/net/failover.h void failover_unregister(struct failover *failover); failover 30 include/net/net_failover.h struct failover *net_failover_create(struct net_device *standby_dev); failover 31 include/net/net_failover.h void net_failover_destroy(struct failover *failover); failover 23 net/core/failover.c struct failover *failover; failover 26 net/core/failover.c list_for_each_entry(failover, &failover_list, list) { failover 27 net/core/failover.c failover_dev = rtnl_dereference(failover->failover_dev); failover 29 net/core/failover.c *ops = rtnl_dereference(failover->ops); failover 242 net/core/failover.c struct failover *failover_register(struct net_device *dev, failover 245 net/core/failover.c struct failover *failover; failover 250 net/core/failover.c failover = kzalloc(sizeof(*failover), GFP_KERNEL); failover 251 net/core/failover.c if (!failover) failover 254 net/core/failover.c rcu_assign_pointer(failover->ops, ops); failover 257 net/core/failover.c rcu_assign_pointer(failover->failover_dev, dev); failover 260 net/core/failover.c list_add_tail(&failover->list, &failover_list); failover 267 net/core/failover.c return failover; failover 278 net/core/failover.c void failover_unregister(struct failover *failover) failover 282 net/core/failover.c failover_dev = rcu_dereference(failover->failover_dev); failover 291 net/core/failover.c list_del(&failover->list); failover 294 net/core/failover.c kfree(failover);