Searched refs:NETDEV_HASHENTRIES (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/net/core/ |
H A D | net-procfs.c | 43 } while (bucket < NETDEV_HASHENTRIES); in dev_from_bucket() 59 if (get_bucket(*pos) >= NETDEV_HASHENTRIES) in dev_seq_start()
|
H A D | rtnetlink.c | 2261 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_dump_ifinfo() 4661 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_fdb_dump() 6015 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_stats_dump()
|
H A D | dev.c | 217 return &net->dev_index_head[ifindex & (NETDEV_HASHENTRIES - 1)]; in dev_index_hash() 11371 hash = kmalloc_array(NETDEV_HASHENTRIES, sizeof(*hash), GFP_KERNEL); in netdev_create_hash() 11373 for (i = 0; i < NETDEV_HASHENTRIES; i++) in netdev_create_hash()
|
/openbmc/linux/include/net/ |
H A D | net_namespace.h | 59 #define NETDEV_HASHENTRIES (1 << NETDEV_HASHBITS) macro
|
/openbmc/linux/net/mctp/ |
H A D | device.c | 130 for (; mcb->h < NETDEV_HASHENTRIES; mcb->h++, mcb->idx = 0) { in mctp_dump_addrinfo()
|
/openbmc/linux/net/ipv4/ |
H A D | devinet.c | 1903 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr() 2304 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_netconf_dump_devconf() 2332 if (h == NETDEV_HASHENTRIES) { in inet_netconf_dump_devconf() 2343 if (h == NETDEV_HASHENTRIES + 1) { in inet_netconf_dump_devconf()
|
/openbmc/linux/net/ipv6/ |
H A D | addrconf.c | 754 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_netconf_dump_devconf() 782 if (h == NETDEV_HASHENTRIES) { in inet6_netconf_dump_devconf() 793 if (h == NETDEV_HASHENTRIES + 1) { in inet6_netconf_dump_devconf() 5379 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_addr() 6081 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_ifinfo()
|