Home
last modified time | relevance | path

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

1234567891011

/kernel/linux/linux-5.10/fs/ocfs2/dlm/
Ddlmthread.c48 assert_spin_locked(&res->spinlock); in __dlm_wait_on_lockres_flags()
54 spin_unlock(&res->spinlock); in __dlm_wait_on_lockres_flags()
56 spin_lock(&res->spinlock); in __dlm_wait_on_lockres_flags()
80 assert_spin_locked(&res->spinlock); in __dlm_lockres_unused()
111 assert_spin_locked(&dlm->spinlock); in __dlm_lockres_calc_usage()
112 assert_spin_locked(&res->spinlock); in __dlm_lockres_calc_usage()
137 spin_lock(&dlm->spinlock); in dlm_lockres_calc_usage()
138 spin_lock(&res->spinlock); in dlm_lockres_calc_usage()
142 spin_unlock(&res->spinlock); in dlm_lockres_calc_usage()
143 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 …]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x-sysfs.c176 spin_lock(&drvdata->spinlock); in reset_store()
270 spin_unlock(&drvdata->spinlock); in reset_store()
299 spin_lock(&drvdata->spinlock); in mode_store()
436 spin_unlock(&drvdata->spinlock); in mode_store()
465 spin_lock(&drvdata->spinlock); in pe_store()
467 spin_unlock(&drvdata->spinlock); in pe_store()
472 spin_unlock(&drvdata->spinlock); in pe_store()
500 spin_lock(&drvdata->spinlock); in event_store()
521 spin_unlock(&drvdata->spinlock); in event_store()
549 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()
232 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
275 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_enable_etf_sink_perf()
310 spin_lock_irqsave(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
313 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
318 spin_unlock_irqrestore(&drvdata->spinlock, flags); in tmc_disable_etf_sink()
329 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()
174 spin_lock(&drvdata->spinlock); \
177 spin_unlock(&drvdata->spinlock); \
224 spin_lock(&drvdata->spinlock); in cti_reg32_show()
234 spin_unlock(&drvdata->spinlock); in cti_reg32_show()
253 spin_lock(&drvdata->spinlock); in cti_reg32_store()
261 spin_unlock(&drvdata->spinlock); in cti_reg32_store()
[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()
154 spin_lock(&drvdata->spinlock); in cti_disable_hw()
172 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
177 spin_unlock(&drvdata->spinlock); in cti_disable_hw()
193 spin_lock(&drvdata->spinlock); in cti_write_intack()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/tty/
Dn_hdlc.c122 spinlock_t spinlock; member
281 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
284 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
289 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
336 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
338 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
619 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
626 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
634 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
639 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
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_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_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.c176 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_open()
178 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
182 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_open()
190 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynth_close()
193 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynth_close()
214 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
224 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
234 spin_lock_irqsave(&speakup_info.spinlock, flags); in softsynthx_read()
257 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in softsynthx_read()
292 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()
Dspeakup_dectlk.c213 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
215 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()
240 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
247 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
255 spin_lock_irqsave(&speakup_info.spinlock, flags); in do_catch_up()
257 spin_unlock_irqrestore(&speakup_info.spinlock, flags); in do_catch_up()
269 spin_lock_irqsave(&speakup_info.spinlock, in do_catch_up()
273 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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c95 spinlock_t spinlock; member
104 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set()
112 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set()
130 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_output()
144 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_output()
155 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_direction_input()
160 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_direction_input()
262 spin_lock_irqsave(&chip->spinlock, flags); in pch_irq_type()
274 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_irq_type()
381 spin_lock_init(&chip->spinlock); in pch_gpio_probe()
[all …]

1234567891011