Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
Ddm-core.h62 struct mutex type_lock; member
Ddm.c2005 mutex_destroy(&md->type_lock); in cleanup_mapped_device()
2046 mutex_init(&md->type_lock); in alloc_dev()
2281 mutex_lock(&md->type_lock); in dm_lock_md_type()
2286 mutex_unlock(&md->type_lock); in dm_unlock_md_type()
2291 BUG_ON(!mutex_is_locked(&md->type_lock)); in dm_set_md_type()
/linux-6.1.9/include/net/
Ddevlink.h124 spinlock_t type_lock; /* Protects type and type_dev member
/linux-6.1.9/net/core/
Ddevlink.c1297 spin_lock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
1323 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
1338 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
9925 spin_lock_init(&devlink_port->type_lock); in devl_port_register()
10007 spin_lock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
10010 spin_unlock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
12022 spin_lock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
12025 spin_unlock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()