Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.1/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-v6.1/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c177 spin_lock(&drvdata->spinlock); in reset_store()
271 spin_unlock(&drvdata->spinlock); in reset_store()
302 spin_lock(&drvdata->spinlock); in mode_store()
439 spin_unlock(&drvdata->spinlock); in mode_store()
468 spin_lock(&drvdata->spinlock); in pe_store()
470 spin_unlock(&drvdata->spinlock); in pe_store()
475 spin_unlock(&drvdata->spinlock); in pe_store()
503 spin_lock(&drvdata->spinlock); in event_store()
524 spin_unlock(&drvdata->spinlock); in event_store()
552 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()
88 spin_unlock(&drvdata->spinlock); in reset_store()
119 spin_lock(&drvdata->spinlock); in mode_store()
170 spin_unlock(&drvdata->spinlock); in mode_store()
175 spin_unlock(&drvdata->spinlock); in mode_store()
301 spin_lock(&drvdata->spinlock); in addr_idx_store()
303 spin_unlock(&drvdata->spinlock); in addr_idx_store()
317 spin_lock(&drvdata->spinlock); in addr_single_show()
[all …]
Dcoresight-tmc-etf.c163 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
165 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
173 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
216 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
234 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
277 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
312 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
315 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
320 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
331 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
[all …]
Dcoresight-cti-sysfs.c88 spin_lock(&drvdata->spinlock); in enable_show()
91 spin_unlock(&drvdata->spinlock); in enable_show()
128 spin_lock(&drvdata->spinlock); in powered_show()
130 spin_unlock(&drvdata->spinlock); in powered_show()
175 spin_lock(&drvdata->spinlock); in coresight_cti_reg_show()
178 spin_unlock(&drvdata->spinlock); in coresight_cti_reg_show()
196 spin_lock(&drvdata->spinlock); in coresight_cti_reg_store()
199 spin_unlock(&drvdata->spinlock); in coresight_cti_reg_store()
258 spin_lock(&drvdata->spinlock); in cti_reg32_show()
268 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()
155 spin_lock(&drvdata->spinlock); in cti_disable_hw()
173 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
178 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
194 spin_lock(&drvdata->spinlock); in cti_write_intack()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/watchdog/
Dof_xilinx_wdt.c44 spinlock_t spinlock; /* spinlock for register handling */ member
61 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
72 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
84 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
93 spin_unlock(&xdev->spinlock); in xilinx_wdt_stop()
107 spin_lock(&xdev->spinlock); in xilinx_wdt_keepalive()
113 spin_unlock(&xdev->spinlock); in xilinx_wdt_keepalive()
138 spin_lock(&xdev->spinlock); in xwdt_selftest()
149 spin_unlock(&xdev->spinlock); in xwdt_selftest()
233 spin_lock_init(&xdev->spinlock); in xwdt_probe()
/Linux-v6.1/drivers/accessibility/speakup/
Dspeakup_apollo.c140 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
142 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
146 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
152 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
158 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
164 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
172 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
176 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
186 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
Dspeakup_decext.c158 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
160 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
164 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
167 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
173 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
179 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
187 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
201 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
205 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dspeakup_keypc.c180 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
186 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
195 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
200 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
214 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
216 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
231 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
234 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_soft.c186 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
192 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
200 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
203 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
224 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
234 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
244 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
267 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
302 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
[all …]
Dspeakup_acntpc.c179 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
181 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
185 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
188 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
194 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
199 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
211 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
213 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
225 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
228 spin_unlock_irqrestore(&speakup_info.spinlock, flags); 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_dectlk.c220 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
223 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()
249 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
256 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
264 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
266 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
278 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
282 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
/Linux-v6.1/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 …]

1234567891011