Home
last modified time | relevance | path

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

/openbmc/linux/net/devlink/
H A Dport.c456 spin_lock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
479 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
493 spin_unlock_bh(&devlink_port->type_lock); in devlink_nl_port_fill()
1017 spin_lock_init(&devlink_port->type_lock); in devl_port_register_with_ops()
1151 spin_lock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
1170 spin_unlock_bh(&devlink_port->type_lock); in __devlink_port_type_set()
H A Dtrap.c1478 spin_lock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
1481 spin_unlock(&in_devlink_port->type_lock); in devlink_trap_report_metadata_set()
/openbmc/linux/drivers/md/
H A Ddm-core.h65 struct mutex type_lock; member
H A Ddm.c2022 mutex_destroy(&md->type_lock); in cleanup_mapped_device()
2063 mutex_init(&md->type_lock); in alloc_dev()
2297 mutex_lock(&md->type_lock); in dm_lock_md_type()
2302 mutex_unlock(&md->type_lock); in dm_unlock_md_type()
2307 BUG_ON(!mutex_is_locked(&md->type_lock)); in dm_set_md_type()
/openbmc/linux/include/net/
H A Ddevlink.h128 spinlock_t type_lock; /* Protects type and type_eth/ib member