/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 42 /* will exit holding res->spinlock, but may drop in function */ 48 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() [all...] |
H A D | dlmmaster.c | 24 #include <linux/spinlock.h> 153 * when it is created, and since the dlm->spinlock is held at 166 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() [all...] |
H A D | dlmrecovery.c | 105 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...] |
H A D | dlmunlock.c | 23 #include <linux/spinlock.h> 78 * taken: res->spinlock and lock->spinlock taken and dropped 116 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() [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 40 /* will exit holding res->spinlock, but may drop in function */ 46 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() [all...] |
H A D | dlmmaster.c | 22 #include <linux/spinlock.h> 151 * when it is created, and since the dlm->spinlock is held at 164 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() [all...] |
H A D | dlmrecovery.c | 103 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...] |
H A D | dlmunlock.c | 21 #include <linux/spinlock.h> 76 * taken: res->spinlock and lock->spinlock taken and dropped 114 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() [all...] |
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-sysfs.c | 52 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() 298 * Use spinlock to ensure index doesn't change while it gets in addr_idx_store() 299 * dereferenced multiple times within a spinlock block elsewhere. in addr_idx_store() 301 spin_lock(&drvdata->spinlock); in addr_idx_store() [all...] |
H A D | coresight-etm4x-sysfs.c | 176 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...] |
H A D | coresight-tmc-etf.c | 161 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() 165 /* Allocating the memory here while outside of the spinlock */ 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() 216 /* Free memory outside the spinlock if need be */ 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, flag in tmc_disable_etf_sink() [all...] |
H A D | coresight-cti-sysfs.c | 12 #include <linux/spinlock.h> 88 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() [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-etm3x-sysfs.c | 52 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() 299 * Use spinlock to ensure index doesn't change while it gets in addr_idx_store() 300 * dereferenced multiple times within a spinlock block elsewhere. in addr_idx_store() 302 spin_lock(&drvdata->spinlock); in addr_idx_store() [all...] |
H A D | coresight-etm4x-sysfs.c | 177 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...] |
H A D | coresight-tmc-etf.c | 185 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() 189 /* Allocating the memory here while outside of the spinlock */ 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() 240 /* Free memory outside the spinlock if need be */ 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, flag in tmc_disable_etf_sink() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_lock.c | 65 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-6.6/drivers/gpu/drm/ |
H A D | drm_lock.c | 65 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/ |
H A D | n_hdlc.c | 122 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, flag in n_hdlc_tty_ioctl() [all...] |
/kernel/linux/linux-6.6/drivers/tty/ |
H A D | n_hdlc.c | 119 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, flag in n_hdlc_tty_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | speakup_decext.c | 158 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() [all...] |
H A D | speakup_apollo.c | 140 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, flag in do_catch_up() [all...] |
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | of_xilinx_wdt.c | 43 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() [all...] |
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | of_xilinx_wdt.c | 43 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() [all...] |
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | mtpav.c | 128 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, flag in snd_mtpav_output_timer() [all...] |
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | mtpav.c | 127 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, flag in snd_mtpav_output_timer() [all...] |