Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/power/supply/
Dtosa_battery.c28 struct mutex work_lock; /* protects data */ member
159 mutex_lock(&bat->work_lock); in tosa_bat_update()
192 mutex_unlock(&bat->work_lock); in tosa_bat_update()
360 mutex_init(&tosa_bat_main.work_lock); in tosa_bat_probe()
361 mutex_init(&tosa_bat_jacket.work_lock); in tosa_bat_probe()
Dz2_battery.c26 struct mutex work_lock; member
94 mutex_lock(&charger->work_lock); in z2_batt_update()
109 mutex_unlock(&charger->work_lock); in z2_batt_update()
205 mutex_init(&charger->work_lock); in z2_batt_probe()
Dwm97xx_battery.c24 static DEFINE_MUTEX(work_lock);
101 mutex_lock(&work_lock); in wm97xx_bat_update()
115 mutex_unlock(&work_lock); in wm97xx_bat_update()
Dcollie_battery.c33 struct mutex work_lock; /* protects data */ member
157 mutex_lock(&bat->work_lock); in collie_bat_update()
190 mutex_unlock(&bat->work_lock); in collie_bat_update()
385 mutex_init(&collie_bat_main.work_lock); in collie_bat_probe()
/Linux-v5.15/fs/hfs/
Dsuper.c62 spin_lock(&sbi->work_lock); in flush_mdb()
64 spin_unlock(&sbi->work_lock); in flush_mdb()
77 spin_lock(&sbi->work_lock); in hfs_mark_mdb_dirty()
83 spin_unlock(&sbi->work_lock); in hfs_mark_mdb_dirty()
392 spin_lock_init(&sbi->work_lock); in hfs_fill_super()
Dhfs_fs.h166 spinlock_t work_lock; /* protects mdb_work and work_queued */ member
/Linux-v5.15/kernel/sched/
Dcpufreq_schedutil.c38 struct mutex work_lock; member
483 mutex_lock(&sg_policy->work_lock); in sugov_work()
485 mutex_unlock(&sg_policy->work_lock); in sugov_work()
619 mutex_init(&sg_policy->work_lock); in sugov_kthread_create()
634 mutex_destroy(&sg_policy->work_lock); in sugov_kthread_stop()
811 mutex_lock(&sg_policy->work_lock); in sugov_limits()
813 mutex_unlock(&sg_policy->work_lock); in sugov_limits()
/Linux-v5.15/fs/cachefiles/
Drdwr.c60 spin_lock(&object->work_lock); in cachefiles_read_waiter()
63 spin_unlock(&object->work_lock); in cachefiles_read_waiter()
141 spin_lock_irq(&object->work_lock); in cachefiles_read_reissue()
143 spin_unlock_irq(&object->work_lock); in cachefiles_read_reissue()
166 spin_lock_irq(&object->work_lock); in cachefiles_read_copier()
173 spin_unlock_irq(&object->work_lock); in cachefiles_read_copier()
218 spin_lock_irq(&object->work_lock); in cachefiles_read_copier()
221 spin_unlock_irq(&object->work_lock); in cachefiles_read_copier()
Dmain.c45 spin_lock_init(&object->work_lock); in cachefiles_object_init_once()
Dinternal.h46 spinlock_t work_lock; member
/Linux-v5.15/fs/affs/
Dsuper.c73 spin_lock(&sbi->work_lock); in flush_superblock()
75 spin_unlock(&sbi->work_lock); in flush_superblock()
88 spin_lock(&sbi->work_lock); in affs_mark_sb_dirty()
94 spin_unlock(&sbi->work_lock); in affs_mark_sb_dirty()
370 spin_lock_init(&sbi->work_lock); in affs_fill_super()
/Linux-v5.15/fs/hfsplus/
Dsuper.c254 spin_lock(&sbi->work_lock); in delayed_sync_fs()
256 spin_unlock(&sbi->work_lock); in delayed_sync_fs()
271 spin_lock(&sbi->work_lock); in hfsplus_mark_mdb_dirty()
277 spin_unlock(&sbi->work_lock); in hfsplus_mark_mdb_dirty()
394 spin_lock_init(&sbi->work_lock); in hfsplus_fill_super()
/Linux-v5.15/mm/
Dbacking-dev.c268 spin_lock_bh(&wb->work_lock); in wb_wakeup_delayed()
271 spin_unlock_bh(&wb->work_lock); in wb_wakeup_delayed()
311 spin_lock_init(&wb->work_lock); in wb_init()
347 spin_lock_bh(&wb->work_lock); in wb_shutdown()
349 spin_unlock_bh(&wb->work_lock); in wb_shutdown()
352 spin_unlock_bh(&wb->work_lock); in wb_shutdown()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1325 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down()
1327 spin_unlock_irq(&adapter->work_lock); in cxgb_down()
1468 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close()
1470 spin_unlock_irq(&adapter->work_lock); in __cxgb_close()
2670 spin_lock_irq(&adapter->work_lock); in check_link_status()
2672 spin_unlock_irq(&adapter->work_lock); in check_link_status()
2797 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task()
2800 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task()
2864 spin_lock_irq(&adapter->work_lock); in ext_intr_task()
2871 spin_unlock_irq(&adapter->work_lock); in ext_intr_task()
[all …]
Dadapter.h265 spinlock_t work_lock; member
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_gs.c3608 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft_done()
3610 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft_done()
3798 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3801 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3820 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3822 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3865 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft()
3867 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft()
3876 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft()
3878 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft()
[all …]
/Linux-v5.15/drivers/block/rsxx/
Ddma.c581 mutex_lock(&ctrl->work_lock); in rsxx_schedule_issue()
583 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_issue()
592 mutex_lock(&ctrl->work_lock); in rsxx_schedule_done()
594 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_done()
822 mutex_init(&ctrl->work_lock); in rsxx_dma_ctrl_init()
Drsxx_priv.h103 struct mutex work_lock; member
/Linux-v5.15/include/linux/
Dbacking-dev-defs.h143 spinlock_t work_lock; /* protects work_list & dwork scheduling */ member
/Linux-v5.15/fs/ufs/
Dufs.h31 spinlock_t work_lock; /* protects sync_work and work_queued */ member
Dsuper.c721 spin_lock(&sbi->work_lock); in delayed_sync_fs()
723 spin_unlock(&sbi->work_lock); in delayed_sync_fs()
733 spin_lock(&sbi->work_lock); in ufs_mark_sb_dirty()
739 spin_unlock(&sbi->work_lock); in ufs_mark_sb_dirty()
814 spin_lock_init(&sbi->work_lock); in ufs_fill_super()
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c282 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close()
283 spin_unlock(&adapter->work_lock); in cxgb_close()
917 spin_lock(&adapter->work_lock); in mac_stats_task()
921 spin_unlock(&adapter->work_lock); in mac_stats_task()
1021 spin_lock_init(&adapter->work_lock); in init_one()
Dcommon.h254 spinlock_t work_lock; member
/Linux-v5.15/fs/
Dfs-writeback.c136 spin_lock_bh(&wb->work_lock); in wb_wakeup()
139 spin_unlock_bh(&wb->work_lock); in wb_wakeup()
166 spin_lock_bh(&wb->work_lock); in wb_queue_work()
174 spin_unlock_bh(&wb->work_lock); in wb_queue_work()
2099 spin_lock_bh(&wb->work_lock); in get_next_work_item()
2105 spin_unlock_bh(&wb->work_lock); in get_next_work_item()
/Linux-v5.15/fs/ocfs2/dlm/
Ddlmrecovery.c137 spin_lock(&dlm->work_lock); in dlm_dispatch_work()
139 spin_unlock(&dlm->work_lock); in dlm_dispatch_work()
854 spin_lock(&dlm->work_lock); in dlm_request_all_locks_handler()
856 spin_unlock(&dlm->work_lock); in dlm_request_all_locks_handler()
1512 spin_lock(&dlm->work_lock); in dlm_mig_lockres_handler()
1514 spin_unlock(&dlm->work_lock); in dlm_mig_lockres_handler()

12