Home
last modified time | relevance | path

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

/linux-6.12.1/net/devlink/
Dport.c503 spin_lock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
526 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
540 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
1078 spin_lock_init(&devlink_port->type_lock); in devl_port_register_with_ops()
1212 spin_lock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
1231 spin_unlock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
Dtrap.c1477 spin_lock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
1480 spin_unlock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
/linux-6.12.1/drivers/md/
Ddm-core.h65 struct mutex type_lock; member
Ddm.c2234 mutex_destroy(&md->type_lock); in cleanup_mapped_device()
2276 mutex_init(&md->type_lock); in alloc_dev()
2512 mutex_lock(&md->type_lock); in dm_lock_md_type()
2517 mutex_unlock(&md->type_lock); in dm_unlock_md_type()
2522 BUG_ON(!mutex_is_locked(&md->type_lock)); in dm_set_md_type()
/linux-6.12.1/include/net/
Ddevlink.h128 spinlock_t type_lock; /* Protects type and type_eth/ib member