Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/core/
Ddev.c410 static const unsigned short netdev_lock_type[] = { variable
444 static struct lock_class_key netdev_xmit_lock_key[ARRAY_SIZE(netdev_lock_type)];
445 static struct lock_class_key netdev_addr_lock_key[ARRAY_SIZE(netdev_lock_type)];
451 for (i = 0; i < ARRAY_SIZE(netdev_lock_type); i++) in netdev_lock_pos()
452 if (netdev_lock_type[i] == dev_type) in netdev_lock_pos()
455 return ARRAY_SIZE(netdev_lock_type) - 1; in netdev_lock_pos()