Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/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()
128 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
129 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
154 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
155 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
159 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
160 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.c177 assert_spin_locked(&dlm->spinlock); in __dlm_insert_lockres()
200 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres_full()
232 assert_spin_locked(&dlm->spinlock); in __dlm_lookup_lockres()
236 spin_lock(&res->spinlock); in __dlm_lookup_lockres()
238 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
242 spin_unlock(&res->spinlock); in __dlm_lookup_lockres()
255 spin_lock(&dlm->spinlock); in dlm_lookup_lockres()
257 spin_unlock(&dlm->spinlock); in dlm_lookup_lockres()
432 spin_lock(&dlm->spinlock); in dlm_migrate_all_locks()
447 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 …]
/Linux-v4.19/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()
435 spin_unlock(&drvdata->spinlock); in mode_store()
464 spin_lock(&drvdata->spinlock); in pe_store()
466 spin_unlock(&drvdata->spinlock); in pe_store()
471 spin_unlock(&drvdata->spinlock); in pe_store()
499 spin_lock(&drvdata->spinlock); in event_store()
520 spin_unlock(&drvdata->spinlock); in event_store()
548 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.c131 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
133 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
141 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
176 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_sysfs()
191 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
210 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
245 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
247 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
257 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
268 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_link()
[all …]
/Linux-v4.19/drivers/gpu/drm/
Ddrm_lock.c61 spin_lock_bh(&lock_data->spinlock); in drm_lock_take()
73 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take()
125 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
129 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
132 spin_unlock_bh(&lock_data->spinlock); in drm_legacy_lock_free()
185 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
187 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
212 spin_lock_bh(&master->lock.spinlock); in drm_legacy_lock()
214 spin_unlock_bh(&master->lock.spinlock); in drm_legacy_lock()
291 spin_lock_bh(&lock_data->spinlock); in drm_legacy_idlelock_take()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/drivers/staging/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.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()
196 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
200 spin_unlock_irqrestore(&speakup_info.spinlock, in do_catch_up()
Dspeakup_soft.c172 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
174 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
178 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
186 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
189 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
210 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
217 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
227 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
248 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
283 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
[all …]
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_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()
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()
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()
264 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
268 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()
216 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in chars_chartab_store()
237 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_show()
254 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_show()
271 spin_lock_irqsave(&speakup_info.spinlock, flags); in keymap_store()
274 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
281 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
300 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in keymap_store()
[all …]
/Linux-v4.19/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()
218 spin_lock_init(&xdev->spinlock); in xwdt_probe()
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()
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()
/Linux-v4.19/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()
749 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
756 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
764 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
769 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
[all …]
/Linux-v4.19/sound/soc/intel/common/
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 …]
/Linux-v4.19/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 …]

12345678910