Searched refs:netdev_lock_type (Results 1 - 1 of 1) sorted by relevance

/linux-master/net/core/
H A Ddev.c439 static const unsigned short netdev_lock_type[] = { variable
473 static struct lock_class_key netdev_xmit_lock_key[ARRAY_SIZE(netdev_lock_type)];
474 static struct lock_class_key netdev_addr_lock_key[ARRAY_SIZE(netdev_lock_type)];
480 for (i = 0; i < ARRAY_SIZE(netdev_lock_type); i++)
481 if (netdev_lock_type[i] == dev_type)
484 return ARRAY_SIZE(netdev_lock_type) - 1;

Completed in 218 milliseconds