Searched refs:NETDEV_HASHENTRIES (Results 1 – 5 of 5) sorted by relevance
35 #define NETDEV_HASHENTRIES (1 << NETDEV_HASHBITS) macro
217 return &net->dev_index_head[ifindex & (NETDEV_HASHENTRIES - 1)]; in dev_index_hash()4076 } while (bucket < NETDEV_HASHENTRIES); in dev_from_bucket()4092 if (get_bucket(*pos) >= NETDEV_HASHENTRIES) in dev_seq_start()6313 hash = kmalloc(sizeof(*hash) * NETDEV_HASHENTRIES, GFP_KERNEL); in netdev_create_hash()6315 for (i = 0; i < NETDEV_HASHENTRIES; i++) in netdev_create_hash()
1081 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in rtnl_dump_ifinfo()
1304 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet_dump_ifaddr()
3791 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_addr()4147 for (h = s_h; h < NETDEV_HASHENTRIES; h++, s_idx = 0) { in inet6_dump_ifinfo()