Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 200 of 225) sorted by relevance

12

/linux-4.4.14/fs/ocfs2/dlm/
Ddlmthread.c65 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
71 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
73 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
97 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
127 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
128 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
153 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
154 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
158 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
159 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmmaster.c181 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
198 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
200 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
208 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
219 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
224 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
234 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
253 spin_lock(&dlm->spinlock); in dlm_put_mle()
257 spin_unlock(&dlm->spinlock); in dlm_put_mle()
272 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmrecovery.c120 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
130 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
138 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
146 spin_lock(&dlm->spinlock); in dlm_reset_recovery()
148 spin_unlock(&dlm->spinlock); in dlm_reset_recovery()
333 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
335 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
344 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
346 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
355 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
[all …]
Ddlmdomain.c174 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
198 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
230 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
234 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
236 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
240 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
253 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
255 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
431 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
446 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
Ddlmunlock.c130 spin_lock(&res->spinlock); in dlmunlock_common()
134 spin_unlock(&res->spinlock); in dlmunlock_common()
141 spin_lock(&lock->spinlock); in dlmunlock_common()
180 spin_unlock(&lock->spinlock); in dlmunlock_common()
181 spin_unlock(&res->spinlock); in dlmunlock_common()
184 spin_lock(&res->spinlock); in dlmunlock_common()
185 spin_lock(&lock->spinlock); in dlmunlock_common()
243 spin_unlock(&lock->spinlock); in dlmunlock_common()
244 spin_unlock(&res->spinlock); in dlmunlock_common()
443 spin_lock(&res->spinlock); in dlm_unlock_lock_handler()
[all …]
Ddlmconvert.c83 spin_lock(&res->spinlock); in dlmconvert_master()
93 spin_unlock(&res->spinlock); in dlmconvert_master()
128 assert_spin_locked(&res->spinlock); in __dlmconvert_master()
133 spin_lock(&lock->spinlock); in __dlmconvert_master()
235 spin_unlock(&lock->spinlock); in __dlmconvert_master()
270 spin_lock(&res->spinlock); in dlmconvert_remote()
324 spin_unlock(&res->spinlock); in dlmconvert_remote()
330 spin_lock(&res->spinlock); in dlmconvert_remote()
348 spin_unlock(&res->spinlock); in dlmconvert_remote()
486 spin_lock(&res->spinlock); in dlm_convert_lock_handler()
[all …]
Ddlmlock.c128 spin_lock(&res->spinlock); in dlmlock_master()
135 spin_unlock(&res->spinlock); in dlmlock_master()
183 spin_unlock(&res->spinlock); in dlmlock_master()
230 spin_lock(&res->spinlock); in dlmlock_remote()
233 spin_unlock(&res->spinlock); in dlmlock_remote()
242 spin_unlock(&res->spinlock); in dlmlock_remote()
248 spin_lock(&res->spinlock); in dlmlock_remote()
284 spin_unlock(&res->spinlock); in dlmlock_remote()
400 spin_lock_init(&newlock->spinlock); in dlm_init_lock()
515 spin_lock(&res->spinlock); in dlm_create_lock_handler()
[all …]
Ddlmast.c67 assert_spin_locked(&lock->spinlock); in dlm_should_cancel_bast()
119 spin_lock(&lock->spinlock); in __dlm_queue_ast()
143 spin_unlock(&lock->spinlock); in __dlm_queue_ast()
177 spin_lock(&lock->spinlock); in __dlm_queue_bast()
180 spin_unlock(&lock->spinlock); in __dlm_queue_bast()
200 spin_lock(&res->spinlock); in dlm_update_lvb()
217 spin_unlock(&res->spinlock); in dlm_update_lvb()
362 spin_lock(&res->spinlock); in dlm_proxy_ast_handler()
404 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
433 spin_unlock(&res->spinlock); in dlm_proxy_ast_handler()
Ddlmdebug.c52 spin_lock(&res->spinlock); in dlm_print_one_lock_resource()
54 spin_unlock(&res->spinlock); in dlm_print_one_lock_resource()
60 assert_spin_locked(&res->spinlock); in dlm_print_lockres_refmap()
76 spin_lock(&lock->spinlock); in __dlm_print_lock()
94 spin_unlock(&lock->spinlock); in __dlm_print_lock()
102 assert_spin_locked(&res->spinlock); in __dlm_print_one_lock_resource()
394 spin_lock(&dlm->spinlock); in debug_purgelist_print()
399 spin_lock(&res->spinlock); in debug_purgelist_print()
405 spin_unlock(&res->spinlock); in debug_purgelist_print()
407 spin_unlock(&dlm->spinlock); in debug_purgelist_print()
[all …]
Ddlmcommon.h63 spinlock_t spinlock; member
136 spinlock_t spinlock; member
270 assert_spin_locked(&dlm->spinlock); in __dlm_set_joining_node()
328 spinlock_t spinlock; member
362 spinlock_t spinlock; member
801 assert_spin_locked(&res->spinlock); in __dlm_lockres_state_to_status()
1134 assert_spin_locked(&res->spinlock); in dlm_set_lockres_owner()
1143 assert_spin_locked(&res->spinlock); in dlm_change_lockres_owner()
/linux-4.4.14/drivers/hwtracing/coresight/
Dcoresight-etm4x.c76 spin_lock_irqsave(&drvdata->spinlock, flags); in etm4_trace_id()
83 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etm4_trace_id()
191 spin_lock(&drvdata->spinlock); in etm4_enable()
204 spin_unlock(&drvdata->spinlock); in etm4_enable()
209 spin_unlock(&drvdata->spinlock); in etm4_enable()
247 spin_lock(&drvdata->spinlock); in etm4_disable()
256 spin_unlock(&drvdata->spinlock); in etm4_disable()
433 spin_lock(&drvdata->spinlock); in reset_store()
527 spin_unlock(&drvdata->spinlock); in reset_store()
553 spin_lock(&drvdata->spinlock); in mode_store()
[all …]
Dcoresight-etm3x.c328 spin_lock_irqsave(&drvdata->spinlock, flags); in etm_trace_id()
334 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etm_trace_id()
346 spin_lock(&drvdata->spinlock); in etm_enable()
363 spin_unlock(&drvdata->spinlock); in etm_enable()
368 spin_unlock(&drvdata->spinlock); in etm_enable()
407 spin_lock(&drvdata->spinlock); in etm_disable()
416 spin_unlock(&drvdata->spinlock); in etm_disable()
472 spin_lock_irqsave(&drvdata->spinlock, flags); in etmsr_show()
478 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etmsr_show()
498 spin_lock(&drvdata->spinlock); in reset_store()
[all …]
Dcoresight-tmc.c122 spinlock_t spinlock; member
247 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable()
249 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable()
265 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable()
366 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable()
382 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable()
433 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_prepare()
452 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_prepare()
457 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_read_prepare()
466 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_read_unprepare()
[all …]
Dcoresight-etb10.c86 spinlock_t spinlock; member
142 spin_lock_irqsave(&drvdata->spinlock, flags); in etb_enable()
145 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etb_enable()
244 spin_lock_irqsave(&drvdata->spinlock, flags); in etb_disable()
248 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etb_disable()
268 spin_lock_irqsave(&drvdata->spinlock, flags); in etb_dump()
274 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etb_dump()
343 spin_lock_irqsave(&drvdata->spinlock, flags); in status_show()
356 spin_unlock_irqrestore(&drvdata->spinlock, flags); in status_show()
447 spin_lock_init(&drvdata->spinlock); in etb_probe()
Dcoresight-etm.h199 spinlock_t spinlock; member
Dcoresight-etm4x.h288 spinlock_t spinlock; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_lock.c78 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
80 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
105 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
107 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
183 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
195 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
257 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
261 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
264 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
298 spin_lock_bh(&lock_data->spinlock); in drm_legacy_idlelock_take()
[all …]
Ddrm_drv.c99 spin_lock_init(&master->lock.spinlock); in drm_master_create()
/linux-4.4.14/drivers/watchdog/
Dof_xilinx_wdt.c46 spinlock_t spinlock; member
55 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
66 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
76 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
85 spin_unlock(&xdev->spinlock); in xilinx_wdt_stop()
96 spin_lock(&xdev->spinlock); in xilinx_wdt_keepalive()
102 spin_unlock(&xdev->spinlock); in xilinx_wdt_keepalive()
127 spin_lock(&xdev->spinlock); in xwdt_selftest()
138 spin_unlock(&xdev->spinlock); in xwdt_selftest()
195 spin_lock_init(&xdev->spinlock); in xwdt_probe()
Dwdt977.c62 static DEFINE_SPINLOCK(spinlock);
84 spin_lock_irqsave(&spinlock, flags); in wdt977_start()
120 spin_unlock_irqrestore(&spinlock, flags); in wdt977_start()
133 spin_lock_irqsave(&spinlock, flags); in wdt977_stop()
165 spin_unlock_irqrestore(&spinlock, flags); in wdt977_stop()
179 spin_lock_irqsave(&spinlock, flags); in wdt977_keepalive()
194 spin_unlock_irqrestore(&spinlock, flags); in wdt977_keepalive()
237 spin_lock_irqsave(&spinlock, flags); in wdt977_get_status()
252 spin_unlock_irqrestore(&spinlock, flags); in wdt977_get_status()
Dw83977f_wdt.c52 static DEFINE_SPINLOCK(spinlock);
75 spin_lock_irqsave(&spinlock, flags); in wdt_start()
131 spin_unlock_irqrestore(&spinlock, flags); in wdt_start()
146 spin_lock_irqsave(&spinlock, flags); in wdt_stop()
185 spin_unlock_irqrestore(&spinlock, flags); in wdt_stop()
201 spin_lock_irqsave(&spinlock, flags); in wdt_keepalive()
216 spin_unlock_irqrestore(&spinlock, flags); in wdt_keepalive()
262 spin_lock_irqsave(&spinlock, flags); in wdt_get_status()
277 spin_unlock_irqrestore(&spinlock, flags); in wdt_get_status()
Die6xx_wdt.c84 struct spinlock unlock_sequence;
/linux-4.4.14/drivers/staging/comedi/drivers/
Ddas800.c247 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
255 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
262 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
265 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
390 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
393 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
414 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
416 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
453 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_interrupt()
462 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_interrupt()
[all …]
Daddi_apci_2032.c47 spinlock_t spinlock; /* protects the following members */ member
146 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cmd()
152 spin_unlock_irqrestore(&subpriv->spinlock, flags); in apci2032_int_cmd()
163 spin_lock_irqsave(&subpriv->spinlock, flags); in apci2032_int_cancel()
166 spin_unlock_irqrestore(&subpriv->spinlock, flags); in apci2032_int_cancel()
188 spin_lock(&subpriv->spinlock); in apci2032_interrupt()
218 spin_unlock(&subpriv->spinlock); in apci2032_interrupt()
289 spin_lock_init(&subpriv->spinlock); in apci2032_auto_attach()
Dpcmuio.c128 spinlock_t spinlock; /* protects member variables */ member
320 spin_lock_irqsave(&chip->spinlock, flags); in pcmuio_handle_intr_subdev()
342 spin_unlock_irqrestore(&chip->spinlock, flags); in pcmuio_handle_intr_subdev()
423 spin_lock_irqsave(&chip->spinlock, flags); in pcmuio_cancel()
426 spin_unlock_irqrestore(&chip->spinlock, flags); in pcmuio_cancel()
444 spin_lock_irqsave(&chip->spinlock, flags); in pcmuio_inttrig_start_intr()
449 spin_unlock_irqrestore(&chip->spinlock, flags); in pcmuio_inttrig_start_intr()
465 spin_lock_irqsave(&chip->spinlock, flags); in pcmuio_cmd()
474 spin_unlock_irqrestore(&chip->spinlock, flags); in pcmuio_cmd()
550 spin_lock_init(&chip->spinlock); in pcmuio_attach()
Damplc_pc236_common.c35 spin_lock_irqsave(&dev->spinlock, flags); in pc236_intr_update()
39 spin_unlock_irqrestore(&dev->spinlock, flags); in pc236_intr_update()
56 spin_lock_irqsave(&dev->spinlock, flags); in pc236_intr_check()
63 spin_unlock_irqrestore(&dev->spinlock, flags); in pc236_intr_check()
Dpcmmio.c189 spinlock_t spinlock; /* protects the member variables */ member
341 spin_lock_irqsave(&devpriv->spinlock, flags); in pcmmio_handle_dio_intr()
363 spin_unlock_irqrestore(&devpriv->spinlock, flags); in pcmmio_handle_dio_intr()
425 spin_lock_irqsave(&devpriv->spinlock, flags); in pcmmio_cancel()
428 spin_unlock_irqrestore(&devpriv->spinlock, flags); in pcmmio_cancel()
444 spin_lock_irqsave(&devpriv->spinlock, flags); in pcmmio_inttrig_start_intr()
448 spin_unlock_irqrestore(&devpriv->spinlock, flags); in pcmmio_inttrig_start_intr()
462 spin_lock_irqsave(&devpriv->spinlock, flags); in pcmmio_cmd()
471 spin_unlock_irqrestore(&devpriv->spinlock, flags); in pcmmio_cmd()
689 spin_lock_init(&devpriv->spinlock); in pcmmio_attach()
Dcb_pcidas.c425 spin_lock_irqsave(&dev->spinlock, flags); in cb_pcidas_ao_nofifo_insn_write()
430 spin_unlock_irqrestore(&dev->spinlock, flags); in cb_pcidas_ao_nofifo_insn_write()
459 spin_lock_irqsave(&dev->spinlock, flags); in cb_pcidas_ao_fifo_insn_write()
465 spin_unlock_irqrestore(&dev->spinlock, flags); in cb_pcidas_ao_fifo_insn_write()
837 spin_lock_irqsave(&dev->spinlock, flags); in cb_pcidas_ai_cmd()
857 spin_unlock_irqrestore(&dev->spinlock, flags); in cb_pcidas_ai_cmd()
977 spin_lock_irqsave(&dev->spinlock, flags); in cb_pcidas_ai_cancel()
981 spin_unlock_irqrestore(&dev->spinlock, flags); in cb_pcidas_ai_cancel()
1021 spin_lock_irqsave(&dev->spinlock, flags); in cb_pcidas_ao_inttrig()
1032 spin_unlock_irqrestore(&dev->spinlock, flags); in cb_pcidas_ao_inttrig()
[all …]
Damplc_dio200_common.c104 spinlock_t spinlock; member
250 spin_lock_irqsave(&subpriv->spinlock, flags); in dio200_inttrig_start_intr()
255 spin_unlock_irqrestore(&subpriv->spinlock, flags); in dio200_inttrig_start_intr()
294 spin_lock_irqsave(&subpriv->spinlock, flags); in dio200_handle_read_intr()
346 spin_unlock_irqrestore(&subpriv->spinlock, flags); in dio200_handle_read_intr()
359 spin_lock_irqsave(&subpriv->spinlock, flags); in dio200_subdev_intr_cancel()
363 spin_unlock_irqrestore(&subpriv->spinlock, flags); in dio200_subdev_intr_cancel()
425 spin_lock_irqsave(&subpriv->spinlock, flags); in dio200_subdev_intr_cmd()
434 spin_unlock_irqrestore(&subpriv->spinlock, flags); in dio200_subdev_intr_cmd()
453 spin_lock_init(&subpriv->spinlock); in dio200_subdev_intr_init()
Dgsc_hpdi.c215 spin_lock_irqsave(&dev->spinlock, flags); in gsc_hpdi_interrupt()
225 spin_unlock_irqrestore(&dev->spinlock, flags); in gsc_hpdi_interrupt()
228 spin_lock_irqsave(&dev->spinlock, flags); in gsc_hpdi_interrupt()
235 spin_unlock_irqrestore(&dev->spinlock, flags); in gsc_hpdi_interrupt()
268 spin_lock_irqsave(&dev->spinlock, flags); in gsc_hpdi_abort_dma()
272 spin_unlock_irqrestore(&dev->spinlock, flags); in gsc_hpdi_abort_dma()
320 spin_lock_irqsave(&dev->spinlock, flags); in gsc_hpdi_cmd()
323 spin_unlock_irqrestore(&dev->spinlock, flags); in gsc_hpdi_cmd()
Ddas1800.c641 spin_lock_irqsave(&dev->spinlock, flags); in das1800_ai_poll()
643 spin_unlock_irqrestore(&dev->spinlock, flags); in das1800_ai_poll()
660 spin_lock(&dev->spinlock); in das1800_interrupt()
665 spin_unlock(&dev->spinlock); in das1800_interrupt()
673 spin_unlock(&dev->spinlock); in das1800_interrupt()
974 spin_lock_irqsave(&dev->spinlock, irq_flags); in program_chanlist()
986 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in program_chanlist()
1083 spin_lock_irqsave(&dev->spinlock, irq_flags); in das1800_ai_rinsn()
1109 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das1800_ai_rinsn()
1133 spin_lock_irqsave(&dev->spinlock, irq_flags); in das1800_ao_winsn()
[all …]
Ddas16.c485 spin_lock_irqsave(&dev->spinlock, spin_flags); in das16_interrupt()
487 spin_unlock_irqrestore(&dev->spinlock, spin_flags); in das16_interrupt()
515 spin_unlock_irqrestore(&dev->spinlock, spin_flags); in das16_interrupt()
533 spin_lock_irqsave(&dev->spinlock, flags); in das16_timer_interrupt()
536 spin_unlock_irqrestore(&dev->spinlock, flags); in das16_timer_interrupt()
746 spin_lock_irqsave(&dev->spinlock, flags); in das16_cmd_exec()
762 spin_unlock_irqrestore(&dev->spinlock, flags); in das16_cmd_exec()
773 spin_lock_irqsave(&dev->spinlock, flags); in das16_cancel()
791 spin_unlock_irqrestore(&dev->spinlock, flags); in das16_cancel()
Ddas08.c198 spin_lock(&dev->spinlock); in das08_ai_insn_read()
202 spin_unlock(&dev->spinlock); in das08_ai_insn_read()
278 spin_lock(&dev->spinlock); in das08_do_insn_bits()
282 spin_unlock(&dev->spinlock); in das08_do_insn_bits()
Dcb_pcidas64.c1228 spin_lock_irqsave(&dev->spinlock, flags); in abort_dma()
1232 spin_unlock_irqrestore(&dev->spinlock, flags); in abort_dma()
1249 spin_lock_irqsave(&dev->spinlock, flags); in disable_ai_interrupts()
1256 spin_unlock_irqrestore(&dev->spinlock, flags); in disable_ai_interrupts()
1278 spin_lock_irqsave(&dev->spinlock, flags); in enable_ai_interrupts()
1282 spin_unlock_irqrestore(&dev->spinlock, flags); in enable_ai_interrupts()
1352 spin_lock_irqsave(&dev->spinlock, flags); in disable_ai_pacing()
1356 spin_unlock_irqrestore(&dev->spinlock, flags); in disable_ai_pacing()
1433 spin_lock_irqsave(&dev->spinlock, flags); in init_stc_registers()
1457 spin_unlock_irqrestore(&dev->spinlock, flags); in init_stc_registers()
[all …]
Daddi_apci_1500.c69 spin_lock_irqsave(&dev->spinlock, flags); in z8536_read()
72 spin_unlock_irqrestore(&dev->spinlock, flags); in z8536_read()
82 spin_lock_irqsave(&dev->spinlock, flags); in z8536_write()
85 spin_unlock_irqrestore(&dev->spinlock, flags); in z8536_write()
96 spin_lock_irqsave(&dev->spinlock, flags); in z8536_reset()
103 spin_unlock_irqrestore(&dev->spinlock, flags); in z8536_reset()
Ddas16m1.c464 spin_lock_irqsave(&dev->spinlock, flags); in das16m1_poll()
467 spin_unlock_irqrestore(&dev->spinlock, flags); in das16m1_poll()
482 spin_lock(&dev->spinlock); in das16m1_interrupt()
488 spin_unlock(&dev->spinlock); in das16m1_interrupt()
497 spin_unlock(&dev->spinlock); in das16m1_interrupt()
Dadl_pci9111.c479 spin_lock_irqsave(&dev->spinlock, irq_flags); in pci9111_interrupt()
488 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in pci9111_interrupt()
499 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in pci9111_interrupt()
518 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in pci9111_interrupt()
Dni_labpc_common.c116 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
119 spin_unlock_irqrestore(&dev->spinlock, flags); in labpc_cancel()
745 spin_lock_irqsave(&dev->spinlock, flags); in labpc_ai_cmd()
760 spin_unlock_irqrestore(&dev->spinlock, flags); in labpc_ai_cmd()
913 spin_lock_irqsave(&dev->spinlock, flags); in labpc_ao_insn_write()
916 spin_unlock_irqrestore(&dev->spinlock, flags); in labpc_ao_insn_write()
Dni_pcidio.c370 spin_lock_irqsave(&dev->spinlock, irq_flags); in ni_pcidio_poll()
376 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in ni_pcidio_poll()
400 spin_lock(&dev->spinlock); in nidio_interrupt()
486 spin_unlock(&dev->spinlock); in nidio_interrupt()
Dpcl816.c458 spin_lock_irqsave(&dev->spinlock, flags); in pcl816_ai_poll()
477 spin_unlock_irqrestore(&dev->spinlock, flags); in pcl816_ai_poll()
Djr3_pci.c604 spin_lock_irqsave(&dev->spinlock, flags); in jr3_pci_poll_dev()
631 spin_unlock_irqrestore(&dev->spinlock, flags); in jr3_pci_poll_dev()
Dpcl812.c870 spin_lock_irqsave(&dev->spinlock, flags); in pcl812_ai_poll()
888 spin_unlock_irqrestore(&dev->spinlock, flags); in pcl812_ai_poll()
Ds626.c1519 spin_lock_irqsave(&dev->spinlock, flags); in s626_irq_handler()
1548 spin_unlock_irqrestore(&dev->spinlock, flags); in s626_irq_handler()
Dni_mio_common.c1684 spin_lock_irqsave(&dev->spinlock, flags); in ni_ai_poll()
1691 spin_unlock_irqrestore(&dev->spinlock, flags); in ni_ai_poll()
5011 spin_lock_irqsave(&dev->spinlock, flags); in ni_E_interrupt()
5049 spin_unlock_irqrestore(&dev->spinlock, flags); in ni_E_interrupt()
/linux-4.4.14/drivers/staging/speakup/
Dspeakup_soft.c183 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
185 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
197 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
200 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
217 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
222 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_read()
232 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
249 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_read()
252 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_read()
[all …]
Dspeakup_apollo.c151 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
153 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
157 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
163 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
168 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
174 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
183 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
187 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
199 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_decext.c169 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
171 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
175 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
178 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
183 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
199 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
210 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
214 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dsynth.c40 .spinlock = __SPIN_LOCK_UNLOCKED(speakup_info.spinlock),
98 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
100 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
104 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
107 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
112 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
118 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
126 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
130 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_do_catch_up()
140 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_do_catch_up()
[all …]
Dspeakup_acntpc.c191 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
193 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
200 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
205 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
210 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
222 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
224 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
236 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
239 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_keypc.c192 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
194 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
198 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
201 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
206 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
211 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
225 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
227 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
242 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
245 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_dectlk.c221 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
223 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
239 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
242 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
247 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
254 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
262 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
264 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
275 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
279 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dkobjects.c38 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_show()
73 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_show()
130 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_store()
215 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store()
236 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show()
253 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show()
270 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store()
273 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
280 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
299 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
[all …]
Dspeakup_dtlk.c204 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
206 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
209 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
212 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
217 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
222 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
228 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
230 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
236 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
239 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_decpc.c386 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
388 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
392 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
395 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
400 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
406 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
414 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
416 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
427 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
431 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dmain.c1159 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_shift()
1181 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_shift()
1188 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_handle_latin()
1191 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_latin()
1195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_latin()
1204 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_handle_latin()
1483 spin_lock_irqsave(&speakup_info.spinlock, flags); in pre_handle_cursor()
1487 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
1494 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
1497 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in pre_handle_cursor()
[all …]
Di18n.c562 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_msg_set()
566 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_msg_set()
599 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_reset_msg_group()
606 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_reset_msg_group()
622 spin_lock_irqsave(&speakup_info.spinlock, flags); in spk_free_user_msgs()
629 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in spk_free_user_msgs()
Dthread.c26 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_thread()
36 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_thread()
Ddevsynth.c33 spin_lock_irqsave(&speakup_info.spinlock, flags); in speakup_file_write()
35 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in speakup_file_write()
Dserialio.c99 spin_lock_irqsave(&speakup_info.spinlock, flags); in synth_readbuf_handler()
107 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in synth_readbuf_handler()
Dspk_types.h195 spinlock_t spinlock; member
/linux-4.4.14/sound/drivers/
Dmtpav.c144 spinlock_t spinlock; member
329 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
331 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
359 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
364 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
377 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
382 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
395 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
400 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
415 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
[all …]
/linux-4.4.14/sound/soc/intel/common/
Dsst-ipc.c65 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in tx_wait_done()
81 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in tx_wait_done()
92 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_message()
96 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
112 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_message()
166 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
169 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
177 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
187 spin_unlock_irqrestore(&ipc->dsp->spinlock, flags); in ipc_tx_msgs()
250 spin_lock_irqsave(&ipc->dsp->spinlock, flags); in sst_ipc_drop_all()
[all …]
Dsst-dsp.c96 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write()
98 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write()
107 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read()
109 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read()
119 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write64()
121 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write64()
130 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read64()
132 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read64()
222 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
224 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
[all …]
Dsst-dsp-priv.h267 spinlock_t spinlock; /* IPC locking */ member
/linux-4.4.14/drivers/gpio/
Dgpio-ml-ioh.c101 spinlock_t spinlock; member
112 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set()
120 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set()
138 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_output()
151 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_output()
162 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_input()
167 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_input()
273 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_type()
313 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_type()
343 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_disable()
[all …]
Dgpio-pch.c106 spinlock_t spinlock; member
115 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
123 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
141 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
154 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
165 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
169 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
256 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
289 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
395 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
[all …]
Dgpio-tb10x.c56 spinlock_t spinlock; member
80 spin_lock_irqsave(&gpio->spinlock, flags); in tb10x_set_bits()
87 spin_unlock_irqrestore(&gpio->spinlock, flags); in tb10x_set_bits()
192 spin_lock_init(&tb10x_gpio->spinlock); in tb10x_gpio_probe()
Dgpiolib.h83 extern struct spinlock gpio_lock;
/linux-4.4.14/drivers/base/
Ddma-coherent.c17 spinlock_t spinlock; member
50 spin_lock_init(&dma_mem->spinlock); in dma_init_coherent_memory()
129 spin_lock_irqsave(&mem->spinlock, flags); in dma_mark_declared_memory_occupied()
132 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_mark_declared_memory_occupied()
170 spin_lock_irqsave(&mem->spinlock, flags); in dma_alloc_from_coherent()
185 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_alloc_from_coherent()
190 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_alloc_from_coherent()
222 spin_lock_irqsave(&mem->spinlock, flags); in dma_release_from_coherent()
224 spin_unlock_irqrestore(&mem->spinlock, flags); in dma_release_from_coherent()
/linux-4.4.14/drivers/tty/
Dn_hdlc.c128 spinlock_t spinlock; member
216 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in flush_tx_queue()
221 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in flush_tx_queue()
396 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
399 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
404 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
464 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
466 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
766 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
771 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
[all …]
/linux-4.4.14/kernel/locking/
DMakefile16 obj-$(CONFIG_SMP) += spinlock.o
19 obj-$(CONFIG_PROVE_LOCKING) += spinlock.o
23 obj-$(CONFIG_DEBUG_SPINLOCK) += spinlock.o
25 obj-$(CONFIG_RWSEM_GENERIC_SPINLOCK) += rwsem-spinlock.o
/linux-4.4.14/drivers/video/fbdev/
Dpxa3xx-gcu.c106 spinlock_t spinlock; member
260 spin_lock(&priv->spinlock); in pxa3xx_gcu_handle_irq()
294 spin_unlock(&priv->spinlock); in pxa3xx_gcu_handle_irq()
415 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
418 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
424 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
427 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
439 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_write()
455 spin_unlock_irqrestore(&priv->spinlock, flags); in pxa3xx_gcu_write()
469 spin_lock_irqsave(&priv->spinlock, flags); in pxa3xx_gcu_ioctl()
[all …]
/linux-4.4.14/drivers/net/irda/
Ddonauboe.c607 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_checkstuck()
614 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_checkstuck()
831 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_probe()
838 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_probe()
906 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_probe()
908 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_probe()
996 spin_lock_irqsave(&self->spinlock, flags); in toshoboe_hard_xmit()
1006 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
1014 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
1021 spin_unlock_irqrestore(&self->spinlock, flags); in toshoboe_hard_xmit()
[all …]
Ddonauboe.h352 spinlock_t spinlock; member
/linux-4.4.14/drivers/media/rc/
Dwinbond-cir.c204 spinlock_t spinlock; member
490 spin_lock_irqsave(&data->spinlock, flags); in wbcir_irq_handler()
496 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_irq_handler()
518 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_irq_handler()
534 spin_lock_irqsave(&data->spinlock, flags); in wbcir_set_carrier_report()
537 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_set_carrier_report()
561 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_set_carrier_report()
595 spin_lock_irqsave(&data->spinlock, flags); in wbcir_txcarrier()
597 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_txcarrier()
607 spin_unlock_irqrestore(&data->spinlock, flags); in wbcir_txcarrier()
[all …]
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty.c399 spin_lock_init(&self->spinlock); in ircomm_tty_install()
540 spin_lock_irqsave(&self->spinlock, flags); in ircomm_tty_do_softint()
545 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_tty_do_softint()
559 spin_lock_irqsave(&self->spinlock, flags); in ircomm_tty_do_softint()
564 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_tty_do_softint()
631 spin_lock_irqsave(&self->spinlock, flags); in ircomm_tty_write()
682 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_tty_write()
699 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_tty_write()
742 spin_lock_irqsave(&self->spinlock, flags); in ircomm_tty_write_room()
747 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_tty_write_room()
[all …]
Dircomm_param.c111 spin_lock_irqsave(&self->spinlock, flags); in ircomm_param_request()
117 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_param_request()
133 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_param_request()
138 spin_unlock_irqrestore(&self->spinlock, flags); in ircomm_param_request()
/linux-4.4.14/drivers/infiniband/ulp/srpt/
Dib_srpt.c125 spin_lock_irqsave(&ch->spinlock, flags); in srpt_get_ch_state()
127 spin_unlock_irqrestore(&ch->spinlock, flags); in srpt_get_ch_state()
137 spin_lock_irqsave(&ch->spinlock, flags); in srpt_set_ch_state()
140 spin_unlock_irqrestore(&ch->spinlock, flags); in srpt_set_ch_state()
156 spin_lock_irqsave(&ch->spinlock, flags); in srpt_test_and_set_ch_state()
160 spin_unlock_irqrestore(&ch->spinlock, flags); in srpt_test_and_set_ch_state()
718 spin_lock_irqsave(&ioctx->spinlock, flags); in srpt_get_cmd_state()
720 spin_unlock_irqrestore(&ioctx->spinlock, flags); in srpt_get_cmd_state()
738 spin_lock_irqsave(&ioctx->spinlock, flags); in srpt_set_cmd_state()
742 spin_unlock_irqrestore(&ioctx->spinlock, flags); in srpt_set_cmd_state()
[all …]
Dib_srpt.h236 spinlock_t spinlock; member
316 spinlock_t spinlock; member
403 spinlock_t spinlock; member
/linux-4.4.14/net/rds/
Diw_rdma.c101 spin_lock_irq(&iwdev->spinlock);
134 spin_unlock_irq(&iwdev->spinlock);
140 spin_unlock_irq(&iwdev->spinlock);
156 spin_lock_irq(&rds_iwdev->spinlock);
158 spin_unlock_irq(&rds_iwdev->spinlock);
168 spin_lock_irq(&rds_iwdev->spinlock);
176 spin_unlock_irq(&rds_iwdev->spinlock);
207 spin_lock(&rds_iwdev->spinlock);
209 spin_unlock(&rds_iwdev->spinlock);
222 spin_lock_irq(&rds_iwdev->spinlock);
[all …]
Dib_rdma.c140 spin_lock_irq(&rds_ibdev->spinlock); in rds_ib_add_ipaddr()
142 spin_unlock_irq(&rds_ibdev->spinlock); in rds_ib_add_ipaddr()
153 spin_lock_irq(&rds_ibdev->spinlock); in rds_ib_remove_ipaddr()
161 spin_unlock_irq(&rds_ibdev->spinlock); in rds_ib_remove_ipaddr()
195 spin_lock(&rds_ibdev->spinlock); in rds_ib_add_conn()
197 spin_unlock(&rds_ibdev->spinlock); in rds_ib_add_conn()
211 spin_lock_irq(&rds_ibdev->spinlock); in rds_ib_remove_conn()
214 spin_unlock_irq(&rds_ibdev->spinlock); in rds_ib_remove_conn()
Diw.c82 spin_lock_init(&rds_iwdev->spinlock); in rds_iw_add_one()
136 spin_lock_irq(&rds_iwdev->spinlock); in rds_iw_remove_one()
141 spin_unlock_irq(&rds_iwdev->spinlock); in rds_iw_remove_one()
Dib.c84 spin_lock_irqsave(&rds_ibdev->spinlock, flags); in rds_ib_dev_shutdown()
87 spin_unlock_irqrestore(&rds_ibdev->spinlock, flags); in rds_ib_dev_shutdown()
145 spin_lock_init(&rds_ibdev->spinlock); in rds_ib_add_one()
Diw.h192 spinlock_t spinlock; /* protect the above */ member
313 __rds_iw_destroy_conns(&rds_iwdev->conn_list, &rds_iwdev->spinlock); in rds_iw_destroy_conns()
Dib.h220 spinlock_t spinlock; /* protect the above */ member
Diw_cm.c747 lock_ptr = ic->rds_iwdev ? &ic->rds_iwdev->spinlock : &iw_nodev_conns_lock; in rds_iw_conn_free()
Dib_cm.c894 lock_ptr = ic->rds_ibdev ? &ic->rds_ibdev->spinlock : &ib_nodev_conns_lock; in rds_ib_conn_free()
/linux-4.4.14/drivers/media/usb/stkwebcam/
Dstk-webcam.c323 spin_lock_irqsave(&dev->spinlock, flags); in stk_isoc_handler()
401 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_isoc_handler()
403 spin_lock_irqsave(&dev->spinlock, flags); in stk_isoc_handler()
411 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_isoc_handler()
553 spin_lock_irqsave(&dev->spinlock, flags); in stk_free_sio_buffers()
558 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_free_sio_buffers()
671 spin_lock_irqsave(&dev->spinlock, flags); in stk_read()
676 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_read()
690 spin_lock_irqsave(&dev->spinlock, flags); in stk_read()
692 spin_unlock_irqrestore(&dev->spinlock, flags); in stk_read()
[all …]
Dstk-webcam.h114 spinlock_t spinlock; member
/linux-4.4.14/drivers/staging/rdma/ehca/
Dehca_eq.c64 spin_lock_init(&eq->spinlock); in ehca_create_eq()
160 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eq()
162 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eq()
Dehca_cq.c61 spin_lock_irqsave(&cq->spinlock, flags); in ehca_cq_assign_qp()
63 spin_unlock_irqrestore(&cq->spinlock, flags); in ehca_cq_assign_qp()
79 spin_lock_irqsave(&cq->spinlock, flags); in ehca_cq_unassign_qp()
91 spin_unlock_irqrestore(&cq->spinlock, flags); in ehca_cq_unassign_qp()
160 spin_lock_init(&my_cq->spinlock); in ehca_create_cq()
Dehca_qp.c426 spin_lock_irqsave(&cq->spinlock, flags); in del_from_err_list()
431 spin_unlock_irqrestore(&cq->spinlock, flags); in del_from_err_list()
1185 spin_lock_irqsave(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1188 spin_unlock_irqrestore(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1193 spin_lock_irqsave(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1196 spin_unlock_irqrestore(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1200 spin_lock_irqsave(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1204 spin_unlock_irqrestore(&my_qp->send_cq->spinlock, flags); in check_for_left_cqes()
1206 spin_lock_irqsave(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
1210 spin_unlock_irqrestore(&my_qp->recv_cq->spinlock, flags); in check_for_left_cqes()
[all …]
Dehca_classes.h84 spinlock_t spinlock; member
241 spinlock_t spinlock; member
Dehca_reqs.c890 spin_lock_irqsave(&my_cq->spinlock, flags); in ehca_poll_cq()
922 spin_unlock_irqrestore(&my_cq->spinlock, flags); in ehca_poll_cq()
948 spin_lock_irqsave(&my_cq->spinlock, spl_flags); in ehca_req_notify_cq()
950 spin_unlock_irqrestore(&my_cq->spinlock, spl_flags); in ehca_req_notify_cq()
Dehca_main.c986 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
988 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eqs()
990 spin_lock_irqsave(&eq->spinlock, flags); in ehca_poll_eqs()
992 spin_unlock_irqrestore(&eq->spinlock, flags); in ehca_poll_eqs()
Dehca_irq.c618 spin_lock(&eq->spinlock); in ehca_process_eq()
620 spin_unlock(&eq->spinlock); in ehca_process_eq()
/linux-4.4.14/Documentation/devicetree/bindings/hwlock/
Domap-hwspinlock.txt21 hwspinlock: spinlock@4a0f6000 {
24 ti,hwmods = "spinlock";
Dsirf,hwspinlock.txt1 SIRF Hardware spinlock device Binding
/linux-4.4.14/sound/soc/intel/skylake/
Dskl-sst-dsp.c260 spin_lock(&ctx->spinlock); in skl_dsp_sst_interrupt()
266 spin_unlock(&ctx->spinlock); in skl_dsp_sst_interrupt()
280 spin_unlock(&ctx->spinlock); in skl_dsp_sst_interrupt()
307 spin_lock_init(&sst->spinlock); in skl_dsp_ctx_init()
/linux-4.4.14/net/irda/irnet/
Dirnet_irda.c68 spin_lock_bh(&irnet_events.spinlock); in irnet_post_event()
96 spin_unlock_bh(&irnet_events.spinlock); in irnet_post_event()
568 spin_lock_bh(&irnet_server.spinlock); in irda_irnet_connect()
570 spin_unlock_bh(&irnet_server.spinlock); in irda_irnet_connect()
628 spin_lock_bh(&irnet_server.spinlock); in irda_irnet_destroy()
631 spin_unlock_bh(&irnet_server.spinlock); in irda_irnet_destroy()
764 spin_lock_bh(&irnet_server.spinlock); in irnet_find_socket()
818 spin_unlock_bh(&irnet_server.spinlock); in irnet_find_socket()
1740 spin_lock_bh(&irnet_server.spinlock); in irnet_proc_show()
1792 spin_unlock_bh(&irnet_server.spinlock); in irnet_proc_show()
[all …]
Dirnet_irda.h51 spinlock_t spinlock; /* Serialize access to the list */ member
Dirnet.h501 spinlock_t spinlock; /* Serialize access to the event log */ member
/linux-4.4.14/sound/soc/intel/baytrail/
Dsst-baytrail-ipc.c298 spin_unlock_irqrestore(&sst->spinlock, *flags); in sst_byt_process_notification()
300 spin_lock_irqsave(&sst->spinlock, *flags); in sst_byt_process_notification()
319 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_irq_thread()
344 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_irq_thread()
365 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_stream_new()
371 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_stream_new()
467 spin_lock_irqsave(&sst->spinlock, flags); in sst_byt_stream_free()
470 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_byt_stream_free()
Dsst-baytrail-dsp.c185 spin_lock(&sst->spinlock); in sst_byt_irq()
202 spin_unlock(&sst->spinlock); in sst_byt_irq()
/linux-4.4.14/drivers/usb/gadget/function/
Df_hid.c53 spinlock_t spinlock; member
207 spin_lock_irqsave(&hidg->spinlock, flags); in f_hidg_read()
213 spin_unlock_irqrestore(&hidg->spinlock, flags); in f_hidg_read()
220 spin_lock_irqsave(&hidg->spinlock, flags); in f_hidg_read()
228 spin_unlock_irqrestore(&hidg->spinlock, flags); in f_hidg_read()
241 spin_lock_irqsave(&hidg->spinlock, flags); in f_hidg_read()
244 spin_unlock_irqrestore(&hidg->spinlock, flags); in f_hidg_read()
383 spin_lock_irqsave(&hidg->spinlock, flags); in hidg_set_report_complete()
385 spin_unlock_irqrestore(&hidg->spinlock, flags); in hidg_set_report_complete()
654 spin_lock_init(&hidg->spinlock); in hidg_bind()
/linux-4.4.14/Documentation/locking/
Dspinlocks.txt3 The most basic primitive for locking is spinlock.
14 spinlock itself will guarantee the global lock, so it will guarantee that
26 spinlock for most things - using more than one spinlock can make things a
40 touches a shared variable has to agree about the spinlock they want
107 (and the equivalent read-write versions too, of course). The spinlock will
113 play with the spinlock is that you can get deadlocks:
Dlglock.txt99 From the locking semantics it is a spinlock. It could be called a
100 locality aware spinlock. lg_local_* behaves like a per_cpu
101 spinlock and lg_global_* like a global spinlock.
133 * in PREEMPT_RT the spinlock becomes an rt-mutex and can sleep but
Dmutex-design.txt32 In its most basic form it also includes a wait-queue and a spinlock
63 The MCS lock (proposed by Mellor-Crummey and Scott) is a simple spinlock
66 cacheline bouncing that common test-and-set spinlock implementations
70 the MCS spinlock queue when they need to reschedule. This further helps
Drt-mutex.txt43 support. [If that is not available then the rt-mutex internal spinlock
Dlockdep-design.txt249 spinlock_t will consume 8192 lock classes -unless- each spinlock
/linux-4.4.14/arch/ia64/sn/kernel/
Dbte.c145 if (spin_trylock(&bte->spinlock)) { in bte_copy()
149 spin_unlock(&bte->spinlock); in bte_copy()
208 spin_unlock_irqrestore(&bte->spinlock, irq_flags); in bte_copy()
462 spin_lock_init(&mynodepda->bte_if[i].spinlock); in bte_init_node()
Dbte_error.c195 spin_lock(&err_nodepda->bte_if[i].spinlock); in bte_error_handler()
229 spin_unlock(&err_nodepda->bte_if[i].spinlock); in bte_error_handler()
/linux-4.4.14/include/asm-generic/
Dspinlock.h8 #error need an architecture specific asm/spinlock.h
Dvmlinux.lds.h444 *(.spinlock.text) \
/linux-4.4.14/drivers/staging/fsl-mc/bus/
Dmc-sys.c92 spin_lock_init(&mc_io->spinlock); in fsl_create_mc_io()
406 spin_lock_irqsave(&mc_io->spinlock, irq_flags); in mc_send_command()
441 spin_unlock_irqrestore(&mc_io->spinlock, irq_flags); in mc_send_command()
/linux-4.4.14/drivers/crypto/ux500/cryp/
Dcryp.h244 struct spinlock ctx_lock;
249 struct spinlock power_state_spinlock;
/linux-4.4.14/sound/usb/caiaq/
Daudio.c67 spin_lock(&cdev->spinlock); in activate_substream()
74 spin_unlock(&cdev->spinlock); in activate_substream()
82 spin_lock_irqsave(&cdev->spinlock, flags); in deactivate_substream()
89 spin_unlock_irqrestore(&cdev->spinlock, flags); in deactivate_substream()
321 spin_lock(&cdev->spinlock); in snd_usb_caiaq_pcm_pointer()
336 spin_unlock(&cdev->spinlock); in snd_usb_caiaq_pcm_pointer()
675 spin_lock(&cdev->spinlock); in read_completed()
678 spin_unlock(&cdev->spinlock); in read_completed()
Ddevice.h73 spinlock_t spinlock; member
Ddevice.c432 spin_lock_init(&cdev->spinlock); in create_card()
/linux-4.4.14/arch/s390/lib/
DMakefile7 lib-$(CONFIG_SMP) += spinlock.o
/linux-4.4.14/Documentation/networking/
Dnetdevices.txt68 Synchronization: __netif_tx_lock spinlock.
90 Synchronization: netif_tx_lock spinlock; all TX queues frozen.
95 Synchronization: netif_addr_lock spinlock.
/linux-4.4.14/fs/jffs2/
DREADME.Locking71 erase_completion_lock spinlock
99 inocache_lock spinlock
102 This spinlock protects the hashed list (c->inocache_list) of the
107 This spinlock also covers allocation of new inode numbers, which is
113 the inocache_lock spinlock.
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc-sys.h94 spinlock_t spinlock; /* serializes mc_send_command() */ member
/linux-4.4.14/Documentation/devicetree/
Dtodo.txt7 - Switch to RCU for tree updates and get rid of global spinlock
/linux-4.4.14/drivers/crypto/ux500/hash/
Dhash_alg.h369 struct spinlock ctx_lock;
372 struct spinlock power_state_lock;
/linux-4.4.14/include/linux/
Dvmpressure.h16 struct spinlock sr_lock;
Dspinlock_types.h64 typedef struct spinlock { struct
Dlglock.h69 #define lglock spinlock
/linux-4.4.14/drivers/media/pci/zoran/
Dzoran_driver.c510 spin_lock_irqsave(&zr->spinlock, flags); in zoran_v4l_queue_frame()
554 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_v4l_queue_frame()
616 spin_lock_irqsave(&zr->spinlock, flags); in v4l_sync()
627 spin_unlock_irqrestore(&zr->spinlock, flags); in v4l_sync()
691 spin_lock_irqsave(&zr->spinlock, flags); in zoran_jpg_queue_frame()
720 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_jpg_queue_frame()
815 spin_lock_irqsave(&zr->spinlock, flags); in jpg_sync()
833 spin_unlock_irqrestore(&zr->spinlock, flags); in jpg_sync()
885 spin_lock_irqsave(&zr->spinlock, flags); in zoran_close_end_session()
889 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_close_end_session()
[all …]
Dzoran_device.c650 spin_lock_irqsave(&zr->spinlock, flags); in wait_grab_pending()
652 spin_unlock_irqrestore(&zr->spinlock, flags); in wait_grab_pending()
1347 spin_lock_irqsave(&zr->spinlock, flags); in zoran_irq()
1359 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_irq()
1363 spin_lock_irqsave(&zr->spinlock, flags); in zoran_irq()
1535 spin_unlock_irqrestore(&zr->spinlock, flags); in zoran_irq()
Dzoran.h300 spinlock_t spinlock; /* Spinlock */ member
/linux-4.4.14/Documentation/RCU/
DlistRCU.txt217 the reader-writer lock would become a spinlock in this sort of code.
230 per-entry spinlock, and, if the "deleted" flag is set, pretends that the
232 return holding the per-entry spinlock, as ipc_lock() does in fact do.
239 spinlock to the audit_entry structure, and modify audit_filter_task()
271 flag under the spinlock as follows:
302 in conjunction with a per-entry spinlock in order to allow the search
Drcuref.txt74 overkill, since we hold the update-side spinlock. One might instead
DUP.txt110 acquired elsewhere using an _irq variant of the spinlock
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-driver.c453 spin_lock(&go->spinlock); in frame_boundary()
457 spin_unlock(&go->spinlock); in frame_boundary()
471 spin_lock(&go->spinlock); in frame_boundary()
479 spin_unlock(&go->spinlock); in frame_boundary()
714 spin_lock_init(&go->spinlock); in go7007_alloc()
Dgo7007-v4l2.c394 spin_lock_irqsave(&go->spinlock, flags); in go7007_buf_queue()
396 spin_unlock_irqrestore(&go->spinlock, flags); in go7007_buf_queue()
469 spin_lock_irqsave(&go->spinlock, flags); in go7007_stop_streaming()
471 spin_unlock_irqrestore(&go->spinlock, flags); in go7007_stop_streaming()
Dgo7007-priv.h183 spinlock_t spinlock; member
/linux-4.4.14/include/net/irda/
Dircomm_tty.h100 spinlock_t spinlock; member
/linux-4.4.14/arch/x86/xen/
DMakefile21 obj-$(CONFIG_PARAVIRT_SPINLOCKS)+= spinlock.o
/linux-4.4.14/arch/xtensa/kernel/
Dvmlinux.lds.S97 *(.spinlock.literal .spinlock.text)
/linux-4.4.14/Documentation/devicetree/bindings/arm/omap/
Domap.txt30 spinlock@1 {
31 compatible = "ti,omap4-spinlock";
32 ti,hwmods = "spinlock";
/linux-4.4.14/arch/m68k/include/asm/
DKbuild30 generic-y += spinlock.h
/linux-4.4.14/Documentation/vm/
Dsplit_page_table_lock4 Originally, mm->page_table_lock spinlock protected all page tables of the
84 - if spinlock_t fits into long, we use page->ptr as spinlock, so we
Dbalance7 sleep due to holding a spinlock or is in interrupt context. The second may
Dpage_migration104 to access the page via the mapping to block on the radix tree spinlock.
/linux-4.4.14/arch/powerpc/include/asm/
Dpgtable-ppc64.h614 struct spinlock;
615 static inline int pmd_move_must_withdraw(struct spinlock *new_pmd_ptl, in pmd_move_must_withdraw()
616 struct spinlock *old_pmd_ptl) in pmd_move_must_withdraw()
Dmmu-hash64.h515 struct spinlock;
532 struct spinlock *cop_lockp; /* guard acop and cop_pid */
/linux-4.4.14/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c266 spin_lock_init(&eq->spinlock); in ehea_create_eq()
328 spin_lock_irqsave(&eq->spinlock, flags); in ehea_poll_eq()
330 spin_unlock_irqrestore(&eq->spinlock, flags); in ehea_poll_eq()
340 spin_lock_irqsave(&eq->spinlock, flags); in ehea_destroy_eq_res()
343 spin_unlock_irqrestore(&eq->spinlock, flags); in ehea_destroy_eq_res()
Dehea.h276 spinlock_t spinlock; member
/linux-4.4.14/drivers/usb/serial/
Dmxuport.c163 spinlock_t spinlock; /* Protects msr_state */ member
357 spin_lock_irqsave(&mxport->spinlock, flags); in mxuport_msr_event()
385 spin_unlock_irqrestore(&mxport->spinlock, flags); in mxuport_msr_event()
753 spin_lock_irqsave(&mxport->spinlock, flags); in mxuport_tiocmget()
758 spin_unlock_irqrestore(&mxport->spinlock, flags); in mxuport_tiocmget()
1122 spin_lock_init(&mxport->spinlock); in mxuport_port_probe()
/linux-4.4.14/Documentation/scsi/
DChangeLog.ips75 - Use linux/spinlock.h instead of asm/spinlock.h for kernels
/linux-4.4.14/Documentation/zh_CN/
Dio_ordering.txt28 而达到保证目的。驱动程序通常在spinlock保护的临界区退出之前使用这种技术。
/linux-4.4.14/drivers/hwspinlock/
DKconfig43 spinlock or just want a bare minimum kernel.
/linux-4.4.14/Documentation/virtual/kvm/
Dcpuid.txt55 || || spinlock support.
Dhypercalls.txt77 kernel mode for an event to occur (ex: a spinlock to become available) can
Dlocking.txt157 Comment: it is a spinlock since it is used in mmu notifier.
/linux-4.4.14/arch/ia64/
DKconfig.debug56 and restore instructions. It's useful for tracking down spinlock
/linux-4.4.14/arch/nios2/include/asm/
DKbuild53 generic-y += spinlock.h
/linux-4.4.14/Documentation/
Datomic_ops.txt7 maintainers on how to implement atomic counter, bitops, and spinlock
412 as a spinlock for SMP safety. Sparc32 lacked a "compare and swap"
566 atomically acquire the given spinlock and perform the decrement
568 with the spinlock.
571 Simply satisfy the spinlock grab requirements, which is make
572 sure the spinlock operation is globally visible before any
636 spinlock being acquired.
Dvolatile-considered-harmful.txt34 want to play with that data will be waiting on the lock. The spinlock
Dgcov.txt25 # gcov -o /sys/kernel/debug/gcov/tmp/linux-out/kernel spinlock.c
Dkernel-docs.txt356 Keywords: locks, locking, spinlock, semaphore, atomic, race
366 * Title: "Global spinlock list and usage"
369 Keywords: spinlock.
Dclk.txt245 The enable lock is a spinlock and is held across calls to the .enable,
Dhwspinlock.txt5 Hardware spinlock modules provide hardware assistance for synchronization
/linux-4.4.14/arch/ia64/include/asm/sn/
Dbte.h197 spinlock_t spinlock; member
/linux-4.4.14/arch/h8300/include/asm/
DKbuild61 generic-y += spinlock.h
/linux-4.4.14/drivers/base/regmap/
Dinternal.h55 spinlock_t spinlock; member
Dregmap.c348 __acquires(&map->spinlock) in regmap_lock_spinlock()
353 spin_lock_irqsave(&map->spinlock, flags); in regmap_lock_spinlock()
358 __releases(&map->spinlock) in regmap_unlock_spinlock()
361 spin_unlock_irqrestore(&map->spinlock, map->spinlock_flags); in regmap_unlock_spinlock()
550 spin_lock_init(&map->spinlock); in __regmap_init()
553 lockdep_set_class_and_name(&map->spinlock, in __regmap_init()
/linux-4.4.14/arch/mips/
DKconfig.debug110 bool "Enable spinlock timing tests in debugfs"
114 Add several files to the debugfs to test spinlock speed.
/linux-4.4.14/sound/soc/samsung/
Di2s.c99 spinlock_t spinlock; member
1259 spin_lock_init(&pri_dai->spinlock); in samsung_i2s_probe()
1260 pri_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()
1326 sec_dai->lock = &pri_dai->spinlock; in samsung_i2s_probe()
/linux-4.4.14/Documentation/filesystems/
Dgfs2-glocks.txt8 1. A spinlock (gl_lockref.lock) which protects the internal state such
85 Operation | GLF_LOCK bit lock held | gl_lockref.lock spinlock held
96 N.B. Operations must not drop either the bit lock or the spinlock
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfwsignal.c487 spinlock_t spinlock; member
554 __acquires(&fws->spinlock) in brcmf_fws_lock()
556 spin_lock_irqsave(&fws->spinlock, fws->flags); in brcmf_fws_lock()
560 __releases(&fws->spinlock) in brcmf_fws_unlock()
562 spin_unlock_irqrestore(&fws->spinlock, fws->flags); in brcmf_fws_unlock()
2132 spin_lock_init(&fws->spinlock); in brcmf_fws_init()
/linux-4.4.14/sound/soc/intel/haswell/
Dsst-haswell-ipc.c784 spin_lock_irqsave(&sst->spinlock, flags); in hsw_irq_thread()
823 spin_unlock_irqrestore(&sst->spinlock, flags); in hsw_irq_thread()
990 spin_lock_irqsave(&sst->spinlock, flags); in sst_hsw_stream_new()
1000 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_hsw_stream_new()
1038 spin_lock_irqsave(&sst->spinlock, flags); in sst_hsw_stream_free()
1041 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_hsw_stream_free()
Dsst-haswell-dsp.c222 spin_lock(&sst->spinlock); in hsw_irq()
246 spin_unlock(&sst->spinlock); in hsw_irq()
/linux-4.4.14/drivers/staging/comedi/
Dcomedidev.h540 spinlock_t spinlock; /* generic spin-lock for low-level driver */ member
/linux-4.4.14/Documentation/gpio/
Dconsumer.txt155 for spinlock-safe GPIOs it is OK to use them before tasking is enabled, as part
213 IRQ handler, and those accessors must be used instead of spinlock-safe
218 spinlock-safe calls.
Dgpio-legacy.txt141 a task context. However, for spinlock-safe GPIOs it's OK to use them
219 spinlock-safe accessors without the cansleep() name suffix.
223 the same as the spinlock-safe calls.
258 a task context. However, for spinlock-safe GPIOs it's OK to request GPIOs
/linux-4.4.14/Documentation/video4linux/
Dvideobuf62 need to be an interrupt-safe spinlock which is used to protect (at least)
103 VIDEOBUF_QUEUED. Note that this function is called with the queue spinlock
169 structure for this video device, irqlock is an interrupt-safe spinlock to
/linux-4.4.14/Documentation/ide/
DChangeLog.ide-tape.1995-2002161 * spinlock with private per-tape spinlock.
/linux-4.4.14/drivers/staging/most/aim-network/
Dnetworking.c78 static struct spinlock list_lock;
/linux-4.4.14/drivers/staging/most/aim-v4l2/
Dvideo.c63 static struct spinlock list_lock;
/linux-4.4.14/arch/arm/boot/dts/
Dam33xx.dtsi357 hwspinlock: spinlock@480ca000 {
360 ti,hwmods = "spinlock";
Domap4.dtsi397 hwspinlock: spinlock@4a0f6000 {
400 ti,hwmods = "spinlock";
Dam4372.dtsi445 hwspinlock: spinlock@480ca000 {
448 ti,hwmods = "spinlock";
Domap5.dtsi446 hwspinlock: spinlock@4a0f6000 {
449 ti,hwmods = "spinlock";
Ddra7.dtsi809 hwspinlock: spinlock@4a0f6000 {
812 ti,hwmods = "spinlock";
/linux-4.4.14/Documentation/arm/
DIXP4xx89 three local register accesses plus a spinlock, but in some
/linux-4.4.14/scripts/
Dspelling.txt922 spinlcok||spinlock
923 spinock||spinlock
/linux-4.4.14/drivers/block/paride/
DTransition-notes114 immediate release of spinlock and beginning of execution of ps_tq on
/linux-4.4.14/Documentation/dmaengine/
Dclient.txt116 drivers may hold a spinlock between a successful preparation and
/linux-4.4.14/include/drm/
DdrmP.h364 spinlock_t spinlock; member
/linux-4.4.14/arch/arm/mach-ixp4xx/
DKconfig217 plus a spinlock, but in some cases the performance hit is
/linux-4.4.14/Documentation/scheduler/
Dcompletion.txt224 queue spinlock. Any such concurrent calls to complete() or complete_all()
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dentry.S79 ; spinlock if CONFIG_PREEMPT.
/linux-4.4.14/Documentation/input/
Dinput-programming.txt103 not be called from an interrupt or with a spinlock held.
/linux-4.4.14/lib/
DKconfig.debug934 Say Y here and build SMP to catch missing spinlock initialization
935 and certain other kinds of spinlock errors commonly made. This is
936 best used in conjunction with the NMI watchdog so that spinlock
970 This feature will check whether any held lock (spinlock, rwlock,
1063 noisy if they are called inside atomic sections: when a spinlock is
/linux-4.4.14/Documentation/ia64/
Dmca.txt8 holding a spinlock. Trying to get any lock from MCA/INIT state is
/linux-4.4.14/Documentation/PCI/
DMSI-HOWTO.txt498 Most device drivers have a per-device spinlock which is taken in the
504 acquire the spinlock. Such deadlocks can be avoided by using
/linux-4.4.14/Documentation/arm/OMAP/
DDSS78 while holding a spinlock or a readlock.
/linux-4.4.14/Documentation/serial/
Ddriver44 There are three locks. A per-port spinlock, a per-port tmpbuf semaphore,

12