Home
last modified time | relevance | path

Searched refs:work_lock (Results 1 – 21 of 21) sorted by relevance

/linux-3.4.99/drivers/power/
Dtosa_battery.c32 struct mutex work_lock; /* protects data */ member
163 mutex_lock(&bat->work_lock); in tosa_bat_update()
196 mutex_unlock(&bat->work_lock); in tosa_bat_update()
356 mutex_init(&tosa_bat_main.work_lock); in tosa_bat_probe()
357 mutex_init(&tosa_bat_jacket.work_lock); in tosa_bat_probe()
Dcollie_battery.c35 struct mutex work_lock; /* protects data */ member
159 mutex_lock(&bat->work_lock); in collie_bat_update()
192 mutex_unlock(&bat->work_lock); in collie_bat_update()
322 mutex_init(&collie_bat_main.work_lock); in collie_bat_probe()
Dz2_battery.c28 struct mutex work_lock; member
100 mutex_lock(&charger->work_lock); in z2_batt_update()
114 mutex_unlock(&charger->work_lock); in z2_batt_update()
207 mutex_init(&charger->work_lock); in z2_batt_probe()
Dwm97xx_battery.c29 static DEFINE_MUTEX(work_lock);
111 mutex_lock(&work_lock); in wm97xx_bat_update()
125 mutex_unlock(&work_lock); in wm97xx_bat_update()
/linux-3.4.99/fs/cachefiles/
Drdwr.c58 spin_lock(&object->work_lock); in cachefiles_read_waiter()
60 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
137 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue()
139 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue()
165 spin_lock_irq(&object->work_lock); in cachefiles_read_copier()
172 spin_unlock_irq(&object->work_lock); in cachefiles_read_copier()
214 spin_lock_irq(&object->work_lock); in cachefiles_read_copier()
217 spin_unlock_irq(&object->work_lock); in cachefiles_read_copier()
Dmain.c48 spin_lock_init(&object->work_lock); in cachefiles_object_init_once()
Dinternal.h41 spinlock_t work_lock; member
/linux-3.4.99/drivers/vhost/
Dvhost.c111 spin_lock_irq(&dev->work_lock); in vhost_work_seq_done()
113 spin_unlock_irq(&dev->work_lock); in vhost_work_seq_done()
122 spin_lock_irq(&dev->work_lock); in vhost_work_flush()
125 spin_unlock_irq(&dev->work_lock); in vhost_work_flush()
127 spin_lock_irq(&dev->work_lock); in vhost_work_flush()
129 spin_unlock_irq(&dev->work_lock); in vhost_work_flush()
145 spin_lock_irqsave(&dev->work_lock, flags); in vhost_work_queue()
151 spin_unlock_irqrestore(&dev->work_lock, flags); in vhost_work_queue()
201 spin_lock_irq(&dev->work_lock); in vhost_worker()
209 spin_unlock_irq(&dev->work_lock); in vhost_worker()
[all …]
Dvhost.h158 spinlock_t work_lock; member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1318 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down()
1320 spin_unlock_irq(&adapter->work_lock); in cxgb_down()
1462 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close()
1464 spin_unlock_irq(&adapter->work_lock); in __cxgb_close()
2630 spin_lock_irq(&adapter->work_lock); in check_link_status()
2632 spin_unlock_irq(&adapter->work_lock); in check_link_status()
2757 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task()
2760 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task()
2824 spin_lock_irq(&adapter->work_lock); in ext_intr_task()
2831 spin_unlock_irq(&adapter->work_lock); in ext_intr_task()
[all …]
Dadapter.h266 spinlock_t work_lock; member
/linux-3.4.99/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c287 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close()
288 spin_unlock(&adapter->work_lock); in cxgb_close()
908 spin_lock(&adapter->work_lock); in mac_stats_task()
912 spin_unlock(&adapter->work_lock); in mac_stats_task()
1066 spin_lock_init(&adapter->work_lock); in init_one()
Dcommon.h254 spinlock_t work_lock; member
/linux-3.4.99/fs/ocfs2/dlm/
Ddlmrecovery.c164 spin_lock(&dlm->work_lock); in dlm_dispatch_work()
166 spin_unlock(&dlm->work_lock); in dlm_dispatch_work()
872 spin_lock(&dlm->work_lock); in dlm_request_all_locks_handler()
874 spin_unlock(&dlm->work_lock); in dlm_request_all_locks_handler()
1500 spin_lock(&dlm->work_lock); in dlm_mig_lockres_handler()
1502 spin_unlock(&dlm->work_lock); in dlm_mig_lockres_handler()
Ddlmmaster.c2041 spin_lock(&dlm->work_lock); in dlm_dispatch_assert_master()
2043 spin_unlock(&dlm->work_lock); in dlm_dispatch_assert_master()
2293 spin_lock(&dlm->work_lock); in dlm_deref_lockres_handler()
2295 spin_unlock(&dlm->work_lock); in dlm_deref_lockres_handler()
Ddlmcommon.h180 spinlock_t work_lock; member
Ddlmdomain.c2081 spin_lock_init(&dlm->work_lock); in dlm_alloc_ctxt()
/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_def.h710 spinlock_t work_lock; member
Dql4_os.c3196 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_post_work()
3198 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_post_work()
3247 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_do_work()
3249 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_do_work()
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_os.c3341 spin_lock_init(&vha->work_lock); in qla2x00_create_host()
3382 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_post_work()
3384 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_post_work()
3482 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_do_work()
3484 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_do_work()
Dqla_def.h2874 spinlock_t work_lock; member