net: rename reference+tracking helpers
authorJakub Kicinski <kuba@kernel.org>
Wed, 8 Jun 2022 04:39:55 +0000 (21:39 -0700)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Jun 2022 04:52:55 +0000 (21:52 -0700)
commitd62607c3fe45911b2331fac073355a8c914bbde2
tree98e65752bd2625eac69263dc4e41eeafda3c8731
parenta98a62e456e25048e8d64ec452a1c713169d3517
net: rename reference+tracking helpers

Netdev reference helpers have a dev_ prefix for historic
reasons. Renaming the old helpers would be too much churn
but we can rename the tracking ones which are relatively
recent and should be the default for new code.

Rename:
 dev_hold_track()    -> netdev_hold()
 dev_put_track()     -> netdev_put()
 dev_replace_track() -> netdev_ref_replace()

Link: https://lore.kernel.org/r/20220608043955.919359-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
48 files changed:
drivers/net/eql.c
drivers/net/macsec.c
drivers/net/macvlan.c
drivers/net/netconsole.c
drivers/net/vrf.c
include/linux/netdevice.h
include/net/xfrm.h
net/8021q/vlan_dev.c
net/ax25/af_ax25.c
net/ax25/ax25_dev.c
net/bridge/br_if.c
net/core/dev.c
net/core/dev_ioctl.c
net/core/drop_monitor.c
net/core/dst.c
net/core/failover.c
net/core/link_watch.c
net/core/neighbour.c
net/core/net-sysfs.c
net/core/netpoll.c
net/core/pktgen.c
net/ethtool/ioctl.c
net/ethtool/netlink.c
net/ethtool/netlink.h
net/ipv4/devinet.c
net/ipv4/fib_semantics.c
net/ipv4/ipmr.c
net/ipv4/route.c
net/ipv4/xfrm4_policy.c
net/ipv6/addrconf.c
net/ipv6/addrconf_core.c
net/ipv6/ip6_gre.c
net/ipv6/ip6_tunnel.c
net/ipv6/ip6_vti.c
net/ipv6/ip6mr.c
net/ipv6/route.c
net/ipv6/sit.c
net/ipv6/xfrm6_policy.c
net/llc/af_llc.c
net/openvswitch/vport-netdev.c
net/packet/af_packet.c
net/sched/act_mirred.c
net/sched/sch_api.c
net/sched/sch_generic.c
net/smc/smc_pnet.c
net/switchdev/switchdev.c
net/tipc/bearer.c
net/xfrm/xfrm_device.c