/Linux-v5.4/drivers/dma/ipu/ |
D | ipu_irq.c | 98 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-v5.4/fs/xfs/ |
D | xfs_inode.c | 162 uint lock_flags) in xfs_ilock() argument 164 trace_xfs_ilock(ip, lock_flags, _RET_IP_); in xfs_ilock() 171 ASSERT((lock_flags & (XFS_IOLOCK_SHARED | XFS_IOLOCK_EXCL)) != in xfs_ilock() 173 ASSERT((lock_flags & (XFS_MMAPLOCK_SHARED | XFS_MMAPLOCK_EXCL)) != in xfs_ilock() 175 ASSERT((lock_flags & (XFS_ILOCK_SHARED | XFS_ILOCK_EXCL)) != in xfs_ilock() 177 ASSERT((lock_flags & ~(XFS_LOCK_MASK | XFS_LOCK_SUBCLASS_MASK)) == 0); in xfs_ilock() 179 if (lock_flags & XFS_IOLOCK_EXCL) { in xfs_ilock() 181 XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock() 182 } else if (lock_flags & XFS_IOLOCK_SHARED) { in xfs_ilock() 184 XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock() [all …]
|
D | xfs_icache.c | 352 int lock_flags) __releases(RCU) in xfs_iget_cache_hit() argument 474 if (lock_flags != 0) in xfs_iget_cache_hit() 475 xfs_ilock(ip, lock_flags); in xfs_iget_cache_hit() 498 int lock_flags) in xfs_iget_cache_miss() argument 544 if (lock_flags) { in xfs_iget_cache_miss() 545 if (!xfs_ilock_nowait(ip, lock_flags)) in xfs_iget_cache_miss() 584 if (lock_flags) in xfs_iget_cache_miss() 585 xfs_iunlock(ip, lock_flags); in xfs_iget_cache_miss() 620 uint lock_flags, in xfs_iget() argument 635 ASSERT((lock_flags & (XFS_IOLOCK_EXCL | XFS_IOLOCK_SHARED)) == 0); in xfs_iget() [all …]
|
D | xfs_pnfs.c | 92 uint lock_flags; in xfs_fs_map_blocks() local 142 lock_flags = xfs_ilock_data_map_shared(ip); in xfs_fs_map_blocks() 145 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks()
|
D | xfs_inode_item.c | 573 unsigned short lock_flags; in xfs_inode_item_release() local 578 lock_flags = iip->ili_lock_flags; in xfs_inode_item_release() 580 if (lock_flags) in xfs_inode_item_release() 581 xfs_iunlock(ip, lock_flags); in xfs_inode_item_release()
|
D | xfs_icache.h | 46 uint flags, uint lock_flags, xfs_inode_t **ipp);
|
/Linux-v5.4/drivers/scsi/ |
D | ipr.c | 620 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() 2681 unsigned long lock_flags = 0; in ipr_timeout() local 2685 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout() 2697 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_timeout() 2714 unsigned long lock_flags = 0; in ipr_oper_timeout() local 2718 spin_lock_irqsave(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout() 2733 spin_unlock_irqrestore(ioa_cfg->host->host_lock, lock_flags); in ipr_oper_timeout() 2972 unsigned long lock_flags = 0; in ipr_sdt_copy() local [all …]
|
D | pmcraid.c | 142 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() 484 unsigned long lock_flags; in pmcraid_clr_trans_op() local [all …]
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys_vid.c | 194 unsigned long lock_flags; in programmable_fetch_config() local 213 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in programmable_fetch_config() 215 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in programmable_fetch_config() 239 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() 283 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_setup_timing_engine() 292 unsigned long lock_flags; in dpu_encoder_phys_vid_vblank_irq() local 316 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_vblank_irq() 323 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_vid_vblank_irq() 570 unsigned long lock_flags; in dpu_encoder_phys_vid_disable() local [all …]
|
D | dpu_encoder.c | 1265 unsigned long lock_flags; in dpu_encoder_vblank_callback() local 1273 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_vblank_callback() 1276 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_vblank_callback() 1298 unsigned long lock_flags; in dpu_encoder_assign_crtc() local 1300 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_assign_crtc() 1304 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_assign_crtc() 1311 unsigned long lock_flags; in dpu_encoder_toggle_vblank_for_crtc() local 1316 spin_lock_irqsave(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc() 1318 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc() 1321 spin_unlock_irqrestore(&dpu_enc->enc_spinlock, lock_flags); in dpu_encoder_toggle_vblank_for_crtc() [all …]
|
D | dpu_encoder_phys_cmd.c | 78 unsigned long lock_flags; in dpu_encoder_phys_cmd_pp_tx_done_irq() local 91 spin_lock_irqsave(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_cmd_pp_tx_done_irq() 93 spin_unlock_irqrestore(phys_enc->enc_spinlock, lock_flags); in dpu_encoder_phys_cmd_pp_tx_done_irq()
|
/Linux-v5.4/drivers/tty/serial/jsm/ |
D | jsm_neo.c | 682 unsigned long lock_flags; in neo_clear_break() local 684 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_clear_break() 699 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_clear_break() 710 unsigned long lock_flags; in neo_parse_isr() local 744 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr() 746 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr() 751 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr() 753 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr() 769 spin_lock_irqsave(&ch->ch_lock, lock_flags); in neo_parse_isr() 789 spin_unlock_irqrestore(&ch->ch_lock, lock_flags); in neo_parse_isr() [all …]
|
D | jsm_tty.c | 150 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() 303 unsigned long lock_flags; in jsm_tty_set_termios() local 307 spin_lock_irqsave(&port->lock, lock_flags); in jsm_tty_set_termios() 317 spin_unlock_irqrestore(&port->lock, lock_flags); in jsm_tty_set_termios() 518 unsigned long lock_flags; in jsm_input() local [all …]
|
D | jsm_cls.c | 307 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() 824 unsigned long lock_flags; in cls_intr() local 829 spin_lock_irqsave(&brd->bd_intr_lock, lock_flags); in cls_intr() 843 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr() 853 spin_unlock_irqrestore(&brd->bd_intr_lock, lock_flags); in cls_intr()
|
/Linux-v5.4/drivers/scsi/cxlflash/ |
D | main.c | 160 ulong lock_flags; in cmd_complete() local 166 spin_lock_irqsave(&hwq->hsq_slock, lock_flags); in cmd_complete() 168 spin_unlock_irqrestore(&hwq->hsq_slock, lock_flags); in cmd_complete() 181 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in cmd_complete() 184 spin_unlock_irqrestore(&cfg->tmf_slock, lock_flags); in cmd_complete() 201 ulong lock_flags; in flush_pending_cmds() local 218 spin_lock_irqsave(&cfg->tmf_slock, lock_flags); in flush_pending_cmds() 222 lock_flags); in flush_pending_cmds() 247 ulong lock_flags; in context_reset() local 251 spin_lock_irqsave(&hwq->hsq_slock, lock_flags); in context_reset() [all …]
|
D | ocxl_hw.c | 986 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-v5.4/drivers/net/ethernet/rocker/ |
D | rocker_ofdpa.c | 762 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-v5.4/drivers/acpi/acpica/ |
D | utdelete.c | 361 acpi_cpu_flags lock_flags; in acpi_ut_update_ref_count() local 374 lock_flags = acpi_os_acquire_lock(acpi_gbl_reference_count_lock); in acpi_ut_update_ref_count() 384 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count() 411 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count() 434 acpi_os_release_lock(acpi_gbl_reference_count_lock, lock_flags); in acpi_ut_update_ref_count()
|
D | hwxface.c | 217 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()
|
D | hwregs.c | 385 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-v5.4/fs/xfs/libxfs/ |
D | xfs_trans_inode.c | 28 uint lock_flags) in xfs_trans_ijoin() argument 38 iip->ili_lock_flags = lock_flags; in xfs_trans_ijoin()
|
/Linux-v5.4/drivers/media/usb/usbvision/ |
D | usbvision-video.c | 699 unsigned long lock_flags; in vidioc_qbuf() local 720 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in vidioc_qbuf() 722 spin_unlock_irqrestore(&usbvision->queue_lock, lock_flags); in vidioc_qbuf() 732 unsigned long lock_flags; in vidioc_dqbuf() local 744 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in vidioc_dqbuf() 748 spin_unlock_irqrestore(&usbvision->queue_lock, lock_flags); in vidioc_dqbuf() 880 unsigned long lock_flags; in usbvision_read() local 921 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in usbvision_read() 924 lock_flags); in usbvision_read() 940 spin_lock_irqsave(&usbvision->queue_lock, lock_flags); in usbvision_read() [all …]
|
/Linux-v5.4/sound/soc/fsl/ |
D | fsl_asrc.c | 123 unsigned long lock_flags; in fsl_asrc_request_pair() local 126 spin_lock_irqsave(&asrc_priv->lock, lock_flags); in fsl_asrc_request_pair() 151 spin_unlock_irqrestore(&asrc_priv->lock, lock_flags); in fsl_asrc_request_pair() 165 unsigned long lock_flags; in fsl_asrc_release_pair() local 171 spin_lock_irqsave(&asrc_priv->lock, lock_flags); in fsl_asrc_release_pair() 177 spin_unlock_irqrestore(&asrc_priv->lock, lock_flags); in fsl_asrc_release_pair()
|
/Linux-v5.4/drivers/video/fbdev/ |
D | mx3fb.c | 514 unsigned long lock_flags; in sdc_init_panel() local 583 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_init_panel() 612 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_init_panel() 636 unsigned long lock_flags; in sdc_set_color_key() local 638 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_set_color_key() 657 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_set_color_key() 673 unsigned long lock_flags; in sdc_set_global_alpha() local 675 spin_lock_irqsave(&mx3fb->lock, lock_flags); in sdc_set_global_alpha() 688 spin_unlock_irqrestore(&mx3fb->lock, lock_flags); in sdc_set_global_alpha()
|
/Linux-v5.4/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 437 unsigned long lock_flags; in ipu_module_enable() local 440 spin_lock_irqsave(&ipu->lock, lock_flags); in ipu_module_enable() 455 spin_unlock_irqrestore(&ipu->lock, lock_flags); in ipu_module_enable() 463 unsigned long lock_flags; in ipu_module_disable() local 466 spin_lock_irqsave(&ipu->lock, lock_flags); in ipu_module_disable() 481 spin_unlock_irqrestore(&ipu->lock, lock_flags); in ipu_module_disable()
|