Home
last modified time | relevance | path

Searched refs:spinlock (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/linux-6.6.21/fs/ocfs2/dlm/
Ddlmthread.c46 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
52 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
78 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
109 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
110 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
135 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
136 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
140 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
141 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmmaster.c164 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
181 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
183 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
191 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
202 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
207 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
217 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
236 spin_lock(&dlm->spinlock); in dlm_put_mle()
240 spin_unlock(&dlm->spinlock); in dlm_put_mle()
255 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmrecovery.c103 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
113 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
121 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
309 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
311 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
322 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
333 spin_unlock(&dlm->spinlock); in dlm_is_node_recovered()
381 spin_lock(&dlm->spinlock); in dlm_in_recovery()
[all …]
Ddlmunlock.c114 spin_lock(&res->spinlock); in dlmunlock_common()
118 spin_unlock(&res->spinlock); in dlmunlock_common()
125 spin_lock(&lock->spinlock); in dlmunlock_common()
164 spin_unlock(&lock->spinlock); in dlmunlock_common()
165 spin_unlock(&res->spinlock); in dlmunlock_common()
168 spin_lock(&res->spinlock); in dlmunlock_common()
169 spin_lock(&lock->spinlock); in dlmunlock_common()
230 spin_unlock(&lock->spinlock); in dlmunlock_common()
231 spin_unlock(&res->spinlock); in dlmunlock_common()
235 spin_lock(&res->spinlock); in dlmunlock_common()
[all …]
Ddlmdomain.c160 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
183 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
215 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
219 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
221 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
225 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
238 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
240 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
414 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
429 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
/linux-6.6.21/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c177 spin_lock(&drvdata->spinlock); in reset_store()
269 spin_unlock(&drvdata->spinlock); in reset_store()
303 spin_lock(&drvdata->spinlock); in mode_store()
440 spin_unlock(&drvdata->spinlock); in mode_store()
469 spin_lock(&drvdata->spinlock); in pe_store()
471 spin_unlock(&drvdata->spinlock); in pe_store()
476 spin_unlock(&drvdata->spinlock); in pe_store()
504 spin_lock(&drvdata->spinlock); in event_store()
525 spin_unlock(&drvdata->spinlock); in event_store()
553 spin_lock(&drvdata->spinlock); in event_instren_store()
[all …]
Dcoresight-etm3x-sysfs.c52 spin_lock_irqsave(&drvdata->spinlock, flags); in etmsr_show()
58 spin_unlock_irqrestore(&drvdata->spinlock, flags); in etmsr_show()
79 spin_lock(&drvdata->spinlock); in reset_store()
89 spin_unlock(&drvdata->spinlock); in reset_store()
120 spin_lock(&drvdata->spinlock); in mode_store()
171 spin_unlock(&drvdata->spinlock); in mode_store()
176 spin_unlock(&drvdata->spinlock); in mode_store()
302 spin_lock(&drvdata->spinlock); in addr_idx_store()
304 spin_unlock(&drvdata->spinlock); in addr_idx_store()
318 spin_lock(&drvdata->spinlock); in addr_single_show()
[all …]
Dcoresight-tmc-etf.c185 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
187 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
195 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
238 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
256 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
299 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
334 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
337 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
342 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
353 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
[all …]
Dcoresight-cti-sysfs.c87 spin_lock(&drvdata->spinlock); in enable_show()
91 spin_unlock(&drvdata->spinlock); in enable_show()
137 spin_lock(&drvdata->spinlock); in powered_show()
139 spin_unlock(&drvdata->spinlock); in powered_show()
184 spin_lock(&drvdata->spinlock); in coresight_cti_reg_show()
187 spin_unlock(&drvdata->spinlock); in coresight_cti_reg_show()
205 spin_lock(&drvdata->spinlock); in coresight_cti_reg_store()
208 spin_unlock(&drvdata->spinlock); in coresight_cti_reg_store()
267 spin_lock(&drvdata->spinlock); in cti_reg32_show()
277 spin_unlock(&drvdata->spinlock); in cti_reg32_show()
[all …]
Dcoresight-cti-core.c96 spin_lock_irqsave(&drvdata->spinlock, flags); in cti_enable_hw()
111 spin_unlock_irqrestore(&drvdata->spinlock, flags); in cti_enable_hw()
119 spin_unlock_irqrestore(&drvdata->spinlock, flags); in cti_enable_hw()
128 spin_lock(&drvdata->spinlock); in cti_cpuhp_enable_hw()
141 spin_unlock(&drvdata->spinlock); in cti_cpuhp_enable_hw()
146 spin_unlock(&drvdata->spinlock); in cti_cpuhp_enable_hw()
156 spin_lock(&drvdata->spinlock); in cti_disable_hw()
180 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
185 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
201 spin_lock(&drvdata->spinlock); in cti_write_intack()
[all …]
/linux-6.6.21/drivers/gpu/drm/
Ddrm_lock.c65 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
77 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
129 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
133 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
136 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
189 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
191 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
216 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
218 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
294 spin_lock_bh(&lock_data->spinlock); in drm_legacy_idlelock_take()
[all …]
/linux-6.6.21/drivers/tty/
Dn_hdlc.c119 spinlock_t spinlock; member
272 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
275 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
280 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
327 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
329 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
598 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
605 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
613 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
618 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
[all …]
/linux-6.6.21/drivers/comedi/drivers/
Ddas800.c236 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
244 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
251 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
254 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
379 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
382 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
403 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
405 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
442 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_interrupt()
451 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_interrupt()
[all …]
/linux-6.6.21/sound/drivers/
Dmtpav.c127 spinlock_t spinlock; member
312 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
314 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
342 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
347 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
360 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
365 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
378 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
383 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
398 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
[all …]
/linux-6.6.21/drivers/watchdog/
Dof_xilinx_wdt.c43 spinlock_t spinlock; /* spinlock for register handling */ member
60 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
71 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
83 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
92 spin_unlock(&xdev->spinlock); in xilinx_wdt_stop()
106 spin_lock(&xdev->spinlock); in xilinx_wdt_keepalive()
112 spin_unlock(&xdev->spinlock); in xilinx_wdt_keepalive()
137 spin_lock(&xdev->spinlock); in xwdt_selftest()
148 spin_unlock(&xdev->spinlock); in xwdt_selftest()
218 spin_lock_init(&xdev->spinlock); in xwdt_probe()
Dwdt977.c58 static DEFINE_SPINLOCK(spinlock);
80 spin_lock_irqsave(&spinlock, flags); in wdt977_start()
116 spin_unlock_irqrestore(&spinlock, flags); in wdt977_start()
129 spin_lock_irqsave(&spinlock, flags); in wdt977_stop()
161 spin_unlock_irqrestore(&spinlock, flags); in wdt977_stop()
175 spin_lock_irqsave(&spinlock, flags); in wdt977_keepalive()
190 spin_unlock_irqrestore(&spinlock, flags); in wdt977_keepalive()
233 spin_lock_irqsave(&spinlock, flags); in wdt977_get_status()
248 spin_unlock_irqrestore(&spinlock, flags); in wdt977_get_status()
Dw83977f_wdt.c47 static DEFINE_SPINLOCK(spinlock);
70 spin_lock_irqsave(&spinlock, flags); in wdt_start()
126 spin_unlock_irqrestore(&spinlock, flags); in wdt_start()
141 spin_lock_irqsave(&spinlock, flags); in wdt_stop()
180 spin_unlock_irqrestore(&spinlock, flags); in wdt_stop()
196 spin_lock_irqsave(&spinlock, flags); in wdt_keepalive()
211 spin_unlock_irqrestore(&spinlock, flags); in wdt_keepalive()
257 spin_lock_irqsave(&spinlock, flags); in wdt_get_status()
272 spin_unlock_irqrestore(&spinlock, flags); in wdt_get_status()
/linux-6.6.21/drivers/accessibility/speakup/
Dspeakup_apollo.c153 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
155 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
159 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
165 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
171 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
177 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
185 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
199 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
201 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dsynth.c40 .spinlock = __SPIN_LOCK_UNLOCKED(speakup_info.spinlock),
71 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up()
73 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up()
77 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up()
80 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up()
87 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up()
93 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up()
105 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up()
109 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in _spk_do_catch_up()
119 spin_lock_irqsave(&speakup_info.spinlock, flags); in _spk_do_catch_up()
[all …]
Dspeakup_decext.c167 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
169 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
173 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
176 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
196 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
198 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()
Dkobjects.c39 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_show()
74 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_show()
132 spin_lock_irqsave(&speakup_info.spinlock, flags); in chars_chartab_store()
220 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store()
241 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show()
258 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show()
275 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store()
278 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
285 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
304 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
[all …]
Dspeakup_keypc.c189 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
191 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
195 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
198 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
204 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
209 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
223 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
225 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
240 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
243 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_acntpc.c188 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
190 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
194 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
203 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
208 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
220 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
222 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
234 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
237 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
/linux-6.6.21/drivers/gpio/
Dgpio-ml-ioh.c87 spinlock_t spinlock; member
98 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_set()
106 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_set()
124 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_output()
137 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_output()
148 spin_lock_irqsave(&chip->spinlock, flags); in ioh_gpio_direction_input()
153 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_gpio_direction_input()
257 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_type()
297 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_type()
327 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_disable()
[all …]
Dgpio-pch.c100 spinlock_t spinlock; member
109 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
117 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
135 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
149 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
160 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
165 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
267 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
279 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
376 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
[all …]

12345678910>>...12