Home
last modified time | relevance | path

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

12

/linux/fs/hfs/
H A Dsuper.c64 spin_lock(&sbi->work_lock); in flush_mdb()
66 spin_unlock(&sbi->work_lock); in flush_mdb()
79 spin_lock(&sbi->work_lock); in hfs_mark_mdb_dirty()
85 spin_unlock(&sbi->work_lock); in hfs_mark_mdb_dirty()
328 spin_lock_init(&sbi->work_lock); in hfs_fill_super()
H A Dhfs_fs.h166 spinlock_t work_lock; /* protects mdb_work and work_queued */ member
/linux/kernel/sched/
H A Dcpufreq_schedutil.c31 struct mutex work_lock; member
535 mutex_lock(&sg_policy->work_lock); in sugov_work()
537 mutex_unlock(&sg_policy->work_lock); in sugov_work()
696 mutex_init(&sg_policy->work_lock); in sugov_kthread_create()
711 mutex_destroy(&sg_policy->work_lock); in sugov_kthread_stop()
886 mutex_lock(&sg_policy->work_lock); in sugov_limits()
888 mutex_unlock(&sg_policy->work_lock); in sugov_limits()
/linux/drivers/power/supply/
H A 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()
H A 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/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c1324 spin_lock_irq(&adapter->work_lock); /* sync with PHY intr task */ in cxgb_down()
1326 spin_unlock_irq(&adapter->work_lock); in cxgb_down()
1467 spin_lock_irq(&adapter->work_lock); /* sync with update task */ in __cxgb_close()
1469 spin_unlock_irq(&adapter->work_lock); in __cxgb_close()
2661 spin_lock_irq(&adapter->work_lock); in check_link_status()
2663 spin_unlock_irq(&adapter->work_lock); in check_link_status()
2788 spin_lock_irq(&adapter->work_lock); in t3_adap_check_task()
2791 spin_unlock_irq(&adapter->work_lock); in t3_adap_check_task()
2855 spin_lock_irq(&adapter->work_lock); in ext_intr_task()
2862 spin_unlock_irq(&adapter->work_lock); in ext_intr_task()
[all …]
H A Dadapter.h265 spinlock_t work_lock; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_gs.c3394 spin_lock_irqsave(&vha->work_lock, flags); in qla_fab_scan_finish()
3396 spin_unlock_irqrestore(&vha->work_lock, flags); in qla_fab_scan_finish()
3555 spin_lock_irqsave(&vha->work_lock, flags); in qla_async_scan_sp_done()
3558 spin_unlock_irqrestore(&vha->work_lock, flags); in qla_async_scan_sp_done()
3575 spin_lock_irqsave(&vha->work_lock, flags); in qla_async_scan_sp_done()
3577 spin_unlock_irqrestore(&vha->work_lock, flags); in qla_async_scan_sp_done()
3624 spin_lock_irqsave(&vha->work_lock, flags); in qla_fab_async_scan()
3626 spin_unlock_irqrestore(&vha->work_lock, flags); in qla_fab_async_scan()
3635 spin_unlock_irqrestore(&vha->work_lock, flags); in qla_fab_async_scan()
3645 spin_lock_irqsave(&vha->work_lock, flags); in qla_fab_async_scan()
[all …]
H A Dqla_os.c2876 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_iocb_work_fn()
2878 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_iocb_work_fn()
5091 spin_lock_init(&vha->work_lock); in qla2x00_create_host()
5163 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_post_work()
5169 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_post_work()
5285 spin_lock_irqsave(&fcport->vha->work_lock, flags); in qla24xx_sched_upd_fcport()
5287 spin_unlock_irqrestore(&fcport->vha->work_lock, flags); in qla24xx_sched_upd_fcport()
5294 spin_unlock_irqrestore(&fcport->vha->work_lock, flags); in qla24xx_sched_upd_fcport()
5500 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_do_work()
5502 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_do_work()
[all …]
H A Dqla_target.c1144 spin_lock_irqsave(&vha->work_lock, flags); in qlt_free_session_done()
1148 spin_unlock_irqrestore(&vha->work_lock, flags); in qlt_free_session_done()
1187 spin_lock_irqsave(&sess->vha->work_lock, flags); in qlt_unreg_sess()
1189 spin_unlock_irqrestore(&sess->vha->work_lock, flags); in qlt_unreg_sess()
1199 spin_unlock_irqrestore(&sess->vha->work_lock, flags); in qlt_unreg_sess()
1297 spin_lock_irqsave(&sess->vha->work_lock, flags); in qlt_schedule_sess_for_deletion()
1299 spin_unlock_irqrestore(&sess->vha->work_lock, flags); in qlt_schedule_sess_for_deletion()
1303 spin_unlock_irqrestore(&sess->vha->work_lock, flags); in qlt_schedule_sess_for_deletion()
H A Dqla_init.c527 spin_lock_irqsave(&vha->work_lock, flags); in qla24xx_handle_adisc_event()
533 spin_unlock_irqrestore(&vha->work_lock, flags); in qla24xx_handle_adisc_event()
1934 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_handle_rscn()
1941 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_handle_rscn()
5798 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_configure_n2n_loop()
5800 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_configure_n2n_loop()
5869 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_configure_local_loop()
5871 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_configure_local_loop()
6184 spin_lock_irqsave(&vha->work_lock, flags); in qla2x00_update_fcport()
6186 spin_unlock_irqrestore(&vha->work_lock, flags); in qla2x00_update_fcport()
/linux/fs/
H A Dfs-writeback.c138 spin_lock_irq(&wb->work_lock); in wb_wakeup()
141 spin_unlock_irq(&wb->work_lock); in wb_wakeup()
163 spin_lock_irq(&wb->work_lock); in wb_wakeup_delayed()
166 spin_unlock_irq(&wb->work_lock); in wb_wakeup_delayed()
192 spin_lock_irq(&wb->work_lock); in wb_queue_work()
200 spin_unlock_irq(&wb->work_lock); in wb_queue_work()
2206 spin_lock_irq(&wb->work_lock); in get_next_work_item()
2212 spin_unlock_irq(&wb->work_lock); in get_next_work_item()
/linux/mm/
H A Dbacking-dev.c537 spin_lock_init(&wb->work_lock); in cgwb_kill()
561 spin_lock_irq(&wb->work_lock); in cgwb_create()
563 spin_unlock_irq(&wb->work_lock); in cgwb_create()
566 spin_unlock_irq(&wb->work_lock); in cgwb_create()
H A Dpage-writeback.c3074 spin_lock_irqsave(&wb->work_lock, flags); in __folio_end_writeback()
3077 spin_unlock_irqrestore(&wb->work_lock, flags); in __folio_end_writeback()
/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dcxgb2.c282 spin_lock(&adapter->work_lock); /* sync with update task */ in cxgb_close()
283 spin_unlock(&adapter->work_lock); in cxgb_close()
921 spin_lock(&adapter->work_lock); in mac_stats_task()
925 spin_unlock(&adapter->work_lock); in mac_stats_task()
1016 spin_lock_init(&adapter->work_lock); in init_one()
H A Dcommon.h245 spinlock_t work_lock; member
/linux/include/linux/
H A Dbacking-dev-defs.h139 spinlock_t work_lock; /* protects work_list & dwork scheduling */ member
/linux/fs/ufs/
H A Dufs.h31 spinlock_t work_lock; /* protects sync_work and work_queued */ member
/linux/fs/ocfs2/dlm/
H A 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()
H A Ddlmmaster.c2071 spin_lock(&dlm->work_lock); in dlm_dispatch_assert_master()
2073 spin_unlock(&dlm->work_lock); in dlm_dispatch_assert_master()
2328 spin_lock(&dlm->work_lock); in dlm_deref_lockres_handler()
2330 spin_unlock(&dlm->work_lock); in dlm_deref_lockres_handler()
H A Ddlmcommon.h159 spinlock_t work_lock; member
/linux/fs/affs/
H A Daffs.h105 spinlock_t work_lock; /* protects sb_work and work_queued */ member
/linux/fs/hfsplus/
H A Dhfsplus_fs.h194 spinlock_t work_lock; /* protects sync_work and work_queued */ member
/linux/drivers/scsi/qla4xxx/
H A Dql4_def.h810 spinlock_t work_lock; member
H A Dql4_os.c5220 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_post_work()
5222 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_post_work()
5271 spin_lock_irqsave(&ha->work_lock, flags); in qla4xxx_do_work()
5273 spin_unlock_irqrestore(&ha->work_lock, flags); in qla4xxx_do_work()
8705 spin_lock_init(&ha->work_lock); in qla4xxx_probe_adapter()

12