Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_merge_view.h37 struct mutex work_lock; member
171 mutex_lock(&mdi->work_lock); in has_merge_lookup_work()
173 mutex_unlock(&mdi->work_lock); in has_merge_lookup_work()
182 mutex_lock(&mdi->work_lock); in is_merge_lookup_end()
184 mutex_unlock(&mdi->work_lock); in is_merge_lookup_end()
Dinode_merge.c411 mutex_lock(&mdi->work_lock); in merge_lookup_work_func()
415 mutex_lock(&mdi->work_lock); in merge_lookup_work_func()
428 mutex_unlock(&mdi->work_lock); in merge_lookup_work_func()
508 mutex_lock(&mdi->work_lock); in lookup_merge_normal()
529 mutex_unlock(&mdi->work_lock); in lookup_merge_normal()
687 mutex_init(&mdi->work_lock); in init_hmdfs_dentry_info_merge()
/kernel/linux/linux-5.10/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.c25 struct mutex work_lock; member
96 mutex_lock(&charger->work_lock); in z2_batt_update()
111 mutex_unlock(&charger->work_lock); in z2_batt_update()
207 mutex_init(&charger->work_lock); in z2_batt_probe()
Dcollie_battery.c31 struct mutex work_lock; /* protects data */ member
155 mutex_lock(&bat->work_lock); in collie_bat_update()
188 mutex_unlock(&bat->work_lock); in collie_bat_update()
334 mutex_init(&collie_bat_main.work_lock); in collie_bat_probe()
Dwm97xx_battery.c23 static DEFINE_MUTEX(work_lock);
101 mutex_lock(&work_lock); in wm97xx_bat_update()
115 mutex_unlock(&work_lock); in wm97xx_bat_update()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/kernel/sched/
Dcpufreq_schedutil.c39 struct mutex work_lock; member
603 mutex_lock(&sg_policy->work_lock);
605 mutex_unlock(&sg_policy->work_lock);
739 mutex_init(&sg_policy->work_lock);
754 mutex_destroy(&sg_policy->work_lock);
926 mutex_lock(&sg_policy->work_lock);
928 mutex_unlock(&sg_policy->work_lock);
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/
Dbacking-dev.c269 spin_lock_bh(&wb->work_lock); in wb_wakeup_delayed()
272 spin_unlock_bh(&wb->work_lock); in wb_wakeup_delayed()
303 spin_lock_init(&wb->work_lock); in wb_init()
338 spin_lock_bh(&wb->work_lock); in wb_shutdown()
340 spin_unlock_bh(&wb->work_lock); in wb_shutdown()
343 spin_unlock_bh(&wb->work_lock); in wb_shutdown()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c1326 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down()
1328 spin_unlock_irq(&adapter->work_lock); in cxgb_down()
1469 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close()
1471 spin_unlock_irq(&adapter->work_lock); in __cxgb_close()
2664 spin_lock_irq(&adapter->work_lock); in check_link_status()
2666 spin_unlock_irq(&adapter->work_lock); in check_link_status()
2791 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task()
2794 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task()
2858 spin_lock_irq(&adapter->work_lock); in ext_intr_task()
2865 spin_unlock_irq(&adapter->work_lock); in ext_intr_task()
[all …]
Dadapter.h265 spinlock_t work_lock; member
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dqla_gs.c3586 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft_done()
3588 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft_done()
3776 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3779 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3798 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3800 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_async_gpnft_gnnft_sp_done()
3843 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft()
3845 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft()
3854 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_async_gnnft()
3856 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_async_gnnft()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dbacking-dev-defs.h142 spinlock_t work_lock; /* protects work_list & dwork scheduling */ member
/kernel/linux/linux-5.10/drivers/block/rsxx/
Ddma.c584 mutex_lock(&ctrl->work_lock); in rsxx_schedule_issue()
586 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_issue()
595 mutex_lock(&ctrl->work_lock); in rsxx_schedule_done()
597 mutex_unlock(&ctrl->work_lock); in rsxx_schedule_done()
824 mutex_init(&ctrl->work_lock); in rsxx_dma_ctrl_init()
Drsxx_priv.h104 struct mutex work_lock; member
/kernel/linux/linux-5.10/fs/ufs/
Dufs.h31 spinlock_t work_lock; /* protects sync_work and work_queued */ member
Dsuper.c722 spin_lock(&sbi->work_lock); in delayed_sync_fs()
724 spin_unlock(&sbi->work_lock); in delayed_sync_fs()
734 spin_lock(&sbi->work_lock); in ufs_mark_sb_dirty()
740 spin_unlock(&sbi->work_lock); in ufs_mark_sb_dirty()
815 spin_lock_init(&sbi->work_lock); in ufs_fill_super()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb/
Dcxgb2.c281 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close()
282 spin_unlock(&adapter->work_lock); in cxgb_close()
912 spin_lock(&adapter->work_lock); in mac_stats_task()
916 spin_unlock(&adapter->work_lock); in mac_stats_task()
1061 spin_lock_init(&adapter->work_lock); in init_one()
Dcommon.h255 spinlock_t work_lock; member
/kernel/linux/linux-5.10/fs/
Dfs-writeback.c155 spin_lock_bh(&wb->work_lock); in wb_wakeup()
158 spin_unlock_bh(&wb->work_lock); in wb_wakeup()
185 spin_lock_bh(&wb->work_lock); in wb_queue_work()
193 spin_unlock_bh(&wb->work_lock); in wb_queue_work()
1953 spin_lock_bh(&wb->work_lock); in get_next_work_item()
1959 spin_unlock_bh(&wb->work_lock); in get_next_work_item()

12