Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/fs/ocfs2/dlm/
Ddlmthread.c50 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
56 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
58 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
82 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
113 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
114 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
139 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
140 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
144 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
145 spin_unlock(&dlm->spinlock); in dlm_lockres_calc_usage()
[all …]
Ddlmmaster.c166 assert_spin_locked(&dlm->spinlock); in __dlm_mle_attach_hb_events()
183 spin_lock(&dlm->spinlock); in dlm_mle_detach_hb_events()
185 spin_unlock(&dlm->spinlock); in dlm_mle_detach_hb_events()
193 assert_spin_locked(&dlm->spinlock); in dlm_get_mle_inuse()
204 spin_lock(&dlm->spinlock); in dlm_put_mle_inuse()
209 spin_unlock(&dlm->spinlock); in dlm_put_mle_inuse()
219 assert_spin_locked(&dlm->spinlock); in __dlm_put_mle()
238 spin_lock(&dlm->spinlock); in dlm_put_mle()
242 spin_unlock(&dlm->spinlock); in dlm_put_mle()
257 assert_spin_locked(&dlm->spinlock); in dlm_init_mle()
[all …]
Ddlmrecovery.c105 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_dead_node()
115 assert_spin_locked(&dlm->spinlock); in dlm_set_reco_master()
123 assert_spin_locked(&dlm->spinlock); in __dlm_reset_recovery()
131 spin_lock(&dlm->spinlock); in dlm_reset_recovery()
133 spin_unlock(&dlm->spinlock); in dlm_reset_recovery()
318 spin_lock(&dlm->spinlock); in dlm_reco_master_ready()
320 spin_unlock(&dlm->spinlock); in dlm_reco_master_ready()
329 spin_lock(&dlm->spinlock); in dlm_is_node_dead()
331 spin_unlock(&dlm->spinlock); in dlm_is_node_dead()
340 spin_lock(&dlm->spinlock); in dlm_is_node_recovered()
[all …]
Ddlmunlock.c116 spin_lock(&res->spinlock); in dlmunlock_common()
120 spin_unlock(&res->spinlock); in dlmunlock_common()
127 spin_lock(&lock->spinlock); in dlmunlock_common()
166 spin_unlock(&lock->spinlock); in dlmunlock_common()
167 spin_unlock(&res->spinlock); in dlmunlock_common()
170 spin_lock(&res->spinlock); in dlmunlock_common()
171 spin_lock(&lock->spinlock); in dlmunlock_common()
232 spin_unlock(&lock->spinlock); in dlmunlock_common()
233 spin_unlock(&res->spinlock); in dlmunlock_common()
237 spin_lock(&res->spinlock); in dlmunlock_common()
[all …]
Ddlmdomain.c162 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
185 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
217 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
221 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
223 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
227 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
240 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
242 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
416 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
431 spin_lock(&res->spinlock); in dlm_migrate_all_locks()
[all …]
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c176 spin_lock(&drvdata->spinlock); in reset_store()
268 spin_unlock(&drvdata->spinlock); in reset_store()
297 spin_lock(&drvdata->spinlock); in mode_store()
432 spin_unlock(&drvdata->spinlock); in mode_store()
461 spin_lock(&drvdata->spinlock); in pe_store()
463 spin_unlock(&drvdata->spinlock); in pe_store()
468 spin_unlock(&drvdata->spinlock); in pe_store()
496 spin_lock(&drvdata->spinlock); in event_store()
517 spin_unlock(&drvdata->spinlock); in event_store()
545 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.c161 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
163 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
171 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
214 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
231 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
274 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
309 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
312 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
317 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
328 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
[all …]
/Linux-v5.4/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()
295 spin_lock_bh(&lock_data->spinlock); in drm_legacy_idlelock_take()
[all …]
/Linux-v5.4/drivers/staging/comedi/drivers/
Ddas800.c238 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_enable()
246 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_enable()
253 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_disable()
256 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_disable()
381 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
384 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
405 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
407 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_ai_do_cmd()
444 spin_lock_irqsave(&dev->spinlock, irq_flags); in das800_interrupt()
453 spin_unlock_irqrestore(&dev->spinlock, irq_flags); in das800_interrupt()
[all …]
/Linux-v5.4/sound/drivers/
Dmtpav.c128 spinlock_t spinlock; member
313 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
315 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_output_write()
343 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
348 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_open()
361 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
366 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_close()
379 spin_lock_irqsave(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
384 spin_unlock_irqrestore(&mtp_card->spinlock, flags); in snd_mtpav_input_trigger()
399 spin_lock_irqsave(&chip->spinlock, flags); in snd_mtpav_output_timer()
[all …]
/Linux-v5.4/drivers/watchdog/
Dof_xilinx_wdt.c43 spinlock_t spinlock; member
60 spin_lock(&xdev->spinlock); in xilinx_wdt_start()
71 spin_unlock(&xdev->spinlock); in xilinx_wdt_start()
81 spin_lock(&xdev->spinlock); in xilinx_wdt_stop()
90 spin_unlock(&xdev->spinlock); in xilinx_wdt_stop()
104 spin_lock(&xdev->spinlock); in xilinx_wdt_keepalive()
110 spin_unlock(&xdev->spinlock); in xilinx_wdt_keepalive()
135 spin_lock(&xdev->spinlock); in xwdt_selftest()
146 spin_unlock(&xdev->spinlock); in xwdt_selftest()
221 spin_lock_init(&xdev->spinlock); in xwdt_probe()
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-v5.4/drivers/staging/speakup/
Dspeakup_decext.c154 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
156 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
160 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
163 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
169 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
175 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
183 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
185 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
197 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
201 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
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_soft.c174 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
176 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
180 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
188 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
191 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
212 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
222 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
232 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
255 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
290 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
[all …]
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_dectlk.c209 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
211 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
227 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_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
243 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
251 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
253 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
265 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
269 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
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 …]
/Linux-v5.4/drivers/tty/
Dn_hdlc.c126 spinlock_t spinlock; member
385 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
388 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
393 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
446 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
448 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
750 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
757 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
765 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
770 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
[all …]
/Linux-v5.4/sound/soc/intel/common/
Dsst-dsp.c87 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write()
89 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write()
98 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read()
100 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read()
110 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write64()
112 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write64()
121 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read64()
123 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_read64()
213 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
215 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_update_bits()
[all …]
/Linux-v5.4/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()
259 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_type()
299 spin_unlock_irqrestore(&chip->spinlock, flags); in ioh_irq_type()
329 spin_lock_irqsave(&chip->spinlock, flags); in ioh_irq_disable()
[all …]
Dgpio-pch.c94 spinlock_t spinlock; member
103 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
111 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
129 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
142 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
153 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
157 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
238 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
271 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
377 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
[all …]

123456789