Searched refs:k_lock (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/include/linux/
H A Dklist.h21 spinlock_t k_lock; member in struct:klist
28 { .k_lock = __SPIN_LOCK_UNLOCKED(_name.k_lock), \
/linux-4.1.27/lib/
H A Dklist.c89 spin_lock_init(&k->k_lock); klist_init()
97 spin_lock(&k->k_lock); add_head()
99 spin_unlock(&k->k_lock); add_head()
104 spin_lock(&k->k_lock); add_tail()
106 spin_unlock(&k->k_lock); add_tail()
152 spin_lock(&k->k_lock); klist_add_behind()
154 spin_unlock(&k->k_lock); klist_add_behind()
168 spin_lock(&k->k_lock); klist_add_before()
170 spin_unlock(&k->k_lock); klist_add_before()
215 spin_lock(&k->k_lock); klist_put()
220 spin_unlock(&k->k_lock); klist_put()
340 spin_lock(&i->i_klist->k_lock); klist_next()
359 spin_unlock(&i->i_klist->k_lock); klist_next()
/linux-4.1.27/drivers/staging/gdm72xx/
H A Dgdm_usb.c45 static DEFINE_SPINLOCK(k_lock);
371 spin_lock_irqsave(&k_lock, flags2); gdm_usb_send()
373 spin_unlock_irqrestore(&k_lock, flags2); gdm_usb_send()
706 spin_lock_irqsave(&k_lock, flags2); k_mode_thread()
713 spin_unlock_irqrestore(&k_lock, flags2); k_mode_thread()
742 spin_lock_irqsave(&k_lock, flags2); k_mode_thread()
746 k_mode_stop, k_lock); k_mode_thread()
747 spin_unlock_irqrestore(&k_lock, flags2); k_mode_thread()
/linux-4.1.27/drivers/base/
H A Dattribute_container.c99 spin_lock(&cont->containers.k_lock); attribute_container_unregister()
105 spin_unlock(&cont->containers.k_lock); attribute_container_unregister()
H A Ddd.c585 spin_lock(&drv->p->klist_devices.k_lock); driver_detach()
587 spin_unlock(&drv->p->klist_devices.k_lock); driver_detach()
595 spin_unlock(&drv->p->klist_devices.k_lock); driver_detach()
H A Dbus.c1038 spin_lock(&device_klist->k_lock); bus_sort_breadthfirst()
1046 spin_unlock(&device_klist->k_lock); bus_sort_breadthfirst()
H A Dplatform.c631 spin_lock(&drv->driver.bus->p->klist_drivers.k_lock); __platform_driver_probe()
636 spin_unlock(&drv->driver.bus->p->klist_drivers.k_lock); __platform_driver_probe()
/linux-4.1.27/drivers/tty/vt/
H A Dkeyboard.c74 k_meta, k_ascii, k_lock, k_lowercase,\
871 static void k_lock(struct vc_data *vc, unsigned char value, char up_flag) k_lock() function

Completed in 193 milliseconds