Searched refs:shared_lock (Results 1 – 3 of 3) sorted by relevance
218 mutex_lock(&bus->shared_lock); in phy_package_join() 241 mutex_unlock(&bus->shared_lock); in phy_package_join() 250 mutex_unlock(&bus->shared_lock); in phy_package_join() 332 if (refcount_dec_and_mutex_lock(&shared->refcnt, &bus->shared_lock)) { in phy_package_leave() 334 mutex_unlock(&bus->shared_lock); in phy_package_leave()
369 mutex_init(&bus->shared_lock); in __mdiobus_register()
413 /** @shared_lock: protect access to the shared element */414 struct mutex shared_lock; member