Home
last modified time | relevance | path

Searched refs:lock_flags (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.1.9/drivers/dma/ipu/
Dipu_irq.c98 unsigned long lock_flags; in ipu_irq_unmask() local
100 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_unmask()
104 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_unmask()
113 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_unmask()
121 unsigned long lock_flags; in ipu_irq_mask() local
123 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_mask()
127 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_mask()
136 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_mask()
143 unsigned long lock_flags; in ipu_irq_ack() local
145 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_ack()
[all …]
/linux-6.1.9/fs/xfs/
Dxfs_inode.c143 uint lock_flags) in xfs_lock_flags_assert() argument
145 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_lock_flags_assert()
147 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_lock_flags_assert()
149 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_lock_flags_assert()
151 ASSERT((lock_flags & ~(XFS_LOCK_MASK | XFS_LOCK_SUBCLASS_MASK)) == 0); in xfs_lock_flags_assert()
152 ASSERT(lock_flags != 0); in xfs_lock_flags_assert()
188 uint lock_flags) in xfs_ilock() argument
190 trace_xfs_ilock(ip, lock_flags, _RET_IP_); in xfs_ilock()
192 xfs_lock_flags_assert(lock_flags); in xfs_ilock()
194 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock()
[all …]
Dxfs_pnfs.c126 uint lock_flags; in xfs_fs_map_blocks() local
176 lock_flags = xfs_ilock_data_map_shared(ip); in xfs_fs_map_blocks()
189 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks()
208 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks()
Dxfs_icache.c457 int lock_flags) __releases(RCU) in xfs_iget_cache_hit() argument
534 if (lock_flags != 0) in xfs_iget_cache_hit()
535 xfs_ilock(ip, lock_flags); in xfs_iget_cache_hit()
572 int lock_flags) in xfs_iget_cache_miss() argument
642 if (lock_flags) { in xfs_iget_cache_miss()
643 if (!xfs_ilock_nowait(ip, lock_flags)) in xfs_iget_cache_miss()
682 if (lock_flags) in xfs_iget_cache_miss()
683 xfs_iunlock(ip, lock_flags); in xfs_iget_cache_miss()
708 uint lock_flags, in xfs_iget() argument
716 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget()
[all …]
Dxfs_icache.h43 uint flags, uint lock_flags, xfs_inode_t **ipp);
/linux-6.1.9/drivers/tty/serial/jsm/
Djsm_tty.c150 unsigned long lock_flags; in jsm_tty_send_xchar() local
155 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_send_xchar()
162 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_send_xchar()
175 unsigned long lock_flags; in jsm_tty_break() local
179 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_break()
185 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_break()
190 unsigned long lock_flags; in jsm_tty_open() local
244 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_open()
264 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_open()
306 unsigned long lock_flags; in jsm_tty_set_termios() local
[all …]
Djsm_neo.c683 unsigned long lock_flags; in neo_clear_break() local
685 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_clear_break()
700 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_clear_break()
711 unsigned long lock_flags; in neo_parse_isr() local
745 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr()
747 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr()
752 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr()
754 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr()
770 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr()
790 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr()
[all …]
Djsm_cls.c307 unsigned long lock_flags; in cls_clear_break() local
309 spin_lock_irqsave(&ch->ch_lock, lock_flags); in cls_clear_break()
322 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in cls_clear_break()
800 unsigned long lock_flags; in cls_intr() local
805 spin_lock_irqsave(&brd->bd_intr_lock, lock_flags); in cls_intr()
819 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr()
829 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr()
/linux-6.1.9/drivers/scsi/
Dipr.c620 unsigned long lock_flags; in ipr_lock_and_done() local
623 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
625 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_lock_and_done()
2680 unsigned long lock_flags = 0; in ipr_timeout() local
2684 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2696 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout()
2713 unsigned long lock_flags = 0; in ipr_oper_timeout() local
2717 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2732 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout()
2971 unsigned long lock_flags = 0; in ipr_sdt_copy() local
[all …]
Dpmcraid.c142 unsigned long lock_flags; in pmcraid_slave_alloc() local
155 spin_lock_irqsave(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()
193 spin_unlock_irqrestore(&pinstance->resource_lock, lock_flags); in pmcraid_slave_alloc()
364 unsigned long lock_flags; in pmcraid_get_free_cmd() local
367 spin_lock_irqsave(&pinstance->free_pool_lock, lock_flags); in pmcraid_get_free_cmd()
374 spin_unlock_irqrestore(&pinstance->free_pool_lock, lock_flags); in pmcraid_get_free_cmd()
392 unsigned long lock_flags; in pmcraid_return_cmd() local
394 spin_lock_irqsave(&pinstance->free_pool_lock, lock_flags); in pmcraid_return_cmd()
396 spin_unlock_irqrestore(&pinstance->free_pool_lock, lock_flags); in pmcraid_return_cmd()
483 unsigned long lock_flags; in pmcraid_clr_trans_op() local
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder_phys_vid.c206 unsigned long lock_flags; in programmable_fetch_config() local
225 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in programmable_fetch_config()
227 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in programmable_fetch_config()
237 unsigned long lock_flags; in dpu_encoder_phys_vid_setup_timing_engine() local
279 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_setup_timing_engine()
294 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_setup_timing_engine()
303 unsigned long lock_flags; in dpu_encoder_phys_vid_vblank_irq() local
321 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_vblank_irq()
327 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_vblank_irq()
526 unsigned long lock_flags; in dpu_encoder_phys_vid_disable() local
[all …]
Ddpu_encoder.c1291 unsigned long lock_flags; in dpu_encoder_vblank_callback() local
1301 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_vblank_callback()
1304 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_vblank_callback()
1330 unsigned long lock_flags; in dpu_encoder_assign_crtc() local
1332 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_assign_crtc()
1336 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_assign_crtc()
1343 unsigned long lock_flags; in dpu_encoder_toggle_vblank_for_crtc() local
1348 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc()
1350 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc()
1353 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc()
[all …]
/linux-6.1.9/drivers/scsi/cxlflash/
Dmain.c155 ulong lock_flags; in cmd_complete() local
161 spin_lock_irqsave(&hwq->hsq_slock, lock_flags); in cmd_complete()
163 spin_unlock_irqrestore(&hwq->hsq_slock, lock_flags); in cmd_complete()
176 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cmd_complete()
179 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cmd_complete()
196 ulong lock_flags; in flush_pending_cmds() local
213 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in flush_pending_cmds()
217 lock_flags); in flush_pending_cmds()
242 ulong lock_flags; in context_reset() local
246 spin_lock_irqsave(&hwq->hsq_slock, lock_flags); in context_reset()
[all …]
Docxl_hw.c986 ulong lock_flags; in afu_poll() local
991 spin_lock_irqsave(&ctx->slock, lock_flags); in afu_poll()
996 spin_unlock_irqrestore(&ctx->slock, lock_flags); in afu_poll()
1019 ulong lock_flags; in afu_read() local
1032 spin_lock_irqsave(&ctx->slock, lock_flags); in afu_read()
1054 spin_unlock_irqrestore(&ctx->slock, lock_flags); in afu_read()
1056 spin_lock_irqsave(&ctx->slock, lock_flags); in afu_read()
1082 spin_unlock_irqrestore(&ctx->slock, lock_flags); in afu_read()
1095 spin_unlock_irqrestore(&ctx->slock, lock_flags); in afu_read()
/linux-6.1.9/drivers/net/ethernet/rocker/
Drocker_ofdpa.c762 unsigned long lock_flags; in ofdpa_flow_tbl_add() local
766 spin_lock_irqsave(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_add()
783 spin_unlock_irqrestore(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_add()
797 unsigned long lock_flags; in ofdpa_flow_tbl_del() local
802 spin_lock_irqsave(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_del()
811 spin_unlock_irqrestore(&ofdpa->flow_tbl_lock, lock_flags); in ofdpa_flow_tbl_del()
1080 unsigned long lock_flags; in ofdpa_group_tbl_add() local
1082 spin_lock_irqsave(&ofdpa->group_tbl_lock, lock_flags); in ofdpa_group_tbl_add()
1098 spin_unlock_irqrestore(&ofdpa->group_tbl_lock, lock_flags); in ofdpa_group_tbl_add()
1111 unsigned long lock_flags; in ofdpa_group_tbl_del() local
[all …]
/linux-6.1.9/drivers/acpi/acpica/
Dutdelete.c369 acpi_cpu_flags lock_flags; in acpi_ut_update_ref_count() local
382 lock_flags = acpi_os_acquire_lock(acpi_gbl_reference_count_lock); in acpi_ut_update_ref_count()
392 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count()
419 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count()
443 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count()
Dhwxface.c217 acpi_cpu_flags lock_flags; in ACPI_EXPORT_SYMBOL() local
230 lock_flags = acpi_os_acquire_raw_lock(acpi_gbl_hardware_lock); in ACPI_EXPORT_SYMBOL()
291 acpi_os_release_raw_lock(acpi_gbl_hardware_lock, lock_flags); in ACPI_EXPORT_SYMBOL()
Dhwregs.c385 acpi_cpu_flags lock_flags = 0; in acpi_hw_clear_acpi_status() local
393 lock_flags = acpi_os_acquire_raw_lock(acpi_gbl_hardware_lock); in acpi_hw_clear_acpi_status()
400 acpi_os_release_raw_lock(acpi_gbl_hardware_lock, lock_flags); in acpi_hw_clear_acpi_status()
/linux-6.1.9/sound/soc/fsl/
Dfsl_audmix.c283 unsigned long lock_flags; in fsl_audmix_dai_trigger() local
293 spin_lock_irqsave(&priv->lock, lock_flags); in fsl_audmix_dai_trigger()
295 spin_unlock_irqrestore(&priv->lock, lock_flags); in fsl_audmix_dai_trigger()
300 spin_lock_irqsave(&priv->lock, lock_flags); in fsl_audmix_dai_trigger()
302 spin_unlock_irqrestore(&priv->lock, lock_flags); in fsl_audmix_dai_trigger()
Dfsl_easrc.c969 unsigned long lock_flags; in fsl_easrc_config_context() local
997 spin_lock_irqsave(&easrc->lock, lock_flags); in fsl_easrc_config_context()
999 spin_unlock_irqrestore(&easrc->lock, lock_flags); in fsl_easrc_config_context()
1245 unsigned long lock_flags; in fsl_easrc_request_context() local
1251 spin_lock_irqsave(&easrc->lock, lock_flags); in fsl_easrc_request_context()
1275 spin_unlock_irqrestore(&easrc->lock, lock_flags); in fsl_easrc_request_context()
1287 unsigned long lock_flags; in fsl_easrc_release_context() local
1295 spin_lock_irqsave(&easrc->lock, lock_flags); in fsl_easrc_release_context()
1302 spin_unlock_irqrestore(&easrc->lock, lock_flags); in fsl_easrc_release_context()
1993 unsigned long lock_flags; in fsl_easrc_runtime_suspend() local
[all …]
Dfsl_esai.c712 unsigned long lock_flags; in fsl_esai_hw_reset() local
715 spin_lock_irqsave(&esai_priv->lock, lock_flags); in fsl_esai_hw_reset()
754 spin_unlock_irqrestore(&esai_priv->lock, lock_flags); in fsl_esai_hw_reset()
762 unsigned long lock_flags; in fsl_esai_trigger() local
770 spin_lock_irqsave(&esai_priv->lock, lock_flags); in fsl_esai_trigger()
772 spin_unlock_irqrestore(&esai_priv->lock, lock_flags); in fsl_esai_trigger()
777 spin_lock_irqsave(&esai_priv->lock, lock_flags); in fsl_esai_trigger()
779 spin_unlock_irqrestore(&esai_priv->lock, lock_flags); in fsl_esai_trigger()
Dfsl_asrc.c219 unsigned long lock_flags; in fsl_asrc_request_pair() local
222 spin_lock_irqsave(&asrc->lock, lock_flags); in fsl_asrc_request_pair()
247 spin_unlock_irqrestore(&asrc->lock, lock_flags); in fsl_asrc_request_pair()
262 unsigned long lock_flags; in fsl_asrc_release_pair() local
268 spin_lock_irqsave(&asrc->lock, lock_flags); in fsl_asrc_release_pair()
274 spin_unlock_irqrestore(&asrc->lock, lock_flags); in fsl_asrc_release_pair()
/linux-6.1.9/fs/xfs/libxfs/
Dxfs_trans_inode.c30 uint lock_flags) in xfs_trans_ijoin() argument
40 iip->ili_lock_flags = lock_flags; in xfs_trans_ijoin()
/linux-6.1.9/drivers/video/fbdev/
Dmx3fb.c513 unsigned long lock_flags; in sdc_init_panel() local
582 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_init_panel()
611 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_init_panel()
635 unsigned long lock_flags; in sdc_set_color_key() local
637 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_set_color_key()
656 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_set_color_key()
672 unsigned long lock_flags; in sdc_set_global_alpha() local
674 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_set_global_alpha()
687 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_set_global_alpha()
/linux-6.1.9/drivers/i2c/busses/
Di2c-npcm7xx.c1268 unsigned long lock_flags; in npcm_i2c_reg_slave() local
1279 spin_lock_irqsave(&bus->lock, lock_flags); in npcm_i2c_reg_slave()
1298 spin_unlock_irqrestore(&bus->lock, lock_flags); in npcm_i2c_reg_slave()
1305 unsigned long lock_flags; in npcm_i2c_unreg_slave() local
1307 spin_lock_irqsave(&bus->lock, lock_flags); in npcm_i2c_unreg_slave()
1309 spin_unlock_irqrestore(&bus->lock, lock_flags); in npcm_i2c_unreg_slave()
1315 spin_unlock_irqrestore(&bus->lock, lock_flags); in npcm_i2c_unreg_slave()
2367 unsigned long lock_flags; in npcm_i2c_remove_bus() local
2371 spin_lock_irqsave(&bus->lock, lock_flags); in npcm_i2c_remove_bus()
2373 spin_unlock_irqrestore(&bus->lock, lock_flags); in npcm_i2c_remove_bus()

12