Searched refs:k_lock (Results 1 – 6 of 6) sorted by relevance
88 spin_lock_init(&k->k_lock); in klist_init()96 spin_lock(&k->k_lock); in add_head()98 spin_unlock(&k->k_lock); in add_head()103 spin_lock(&k->k_lock); in add_tail()105 spin_unlock(&k->k_lock); in add_tail()151 spin_lock(&k->k_lock); in klist_add_behind()153 spin_unlock(&k->k_lock); in klist_add_behind()167 spin_lock(&k->k_lock); in klist_add_before()169 spin_unlock(&k->k_lock); in klist_add_before()214 spin_lock(&k->k_lock); in klist_put()[all …]
19 spinlock_t k_lock; member26 { .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \
96 spin_lock(&cont->containers.k_lock); in attribute_container_unregister()102 spin_unlock(&cont->containers.k_lock); in attribute_container_unregister()
1427 spin_lock(&drv->p->klist_devices.k_lock); in driver_detach()1429 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach()1437 spin_unlock(&drv->p->klist_devices.k_lock); in driver_detach()
1140 spin_lock(&device_klist->k_lock); in bus_sort_breadthfirst()1147 spin_unlock(&device_klist->k_lock); in bus_sort_breadthfirst()
2643 scoped_guard(spinlock, &sp->klist_drivers.k_lock) { in dev_driver_uevent()