Home
last modified time | relevance | path

Searched refs:iflags (Results 1 – 25 of 37) sorted by relevance

12

/Linux-v5.10/drivers/scsi/
Dsg.c924 unsigned long iflags; in sg_ioctl_common() local
1004 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1008 iflags); in sg_ioctl_common()
1012 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1015 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1021 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1088 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1090 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl_common()
1197 unsigned long iflags; in sg_poll() local
1206 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll()
[all …]
Dscsi_debug.c4726 unsigned long iflags; in sdebug_q_cmd_complete() local
4746 spin_lock_irqsave(&sqp->qc_lock, iflags); in sdebug_q_cmd_complete()
4750 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in sdebug_q_cmd_complete()
4765 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in sdebug_q_cmd_complete()
4775 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in sdebug_q_cmd_complete()
4785 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in sdebug_q_cmd_complete()
5036 unsigned long iflags; in stop_queued_cmnd() local
5045 spin_lock_irqsave(&sqp->qc_lock, iflags); in stop_queued_cmnd()
5067 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in stop_queued_cmnd()
5073 spin_unlock_irqrestore(&sqp->qc_lock, iflags); in stop_queued_cmnd()
[all …]
/Linux-v5.10/include/linux/
Dtty.h242 unsigned long iflags; /* Internal flags TTY_PORT_ */ member
614 return test_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_cts_enabled()
620 set_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_set_cts_flow()
622 clear_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_set_cts_flow()
627 return test_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_active()
633 set_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_set_active()
635 clear_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_set_active()
640 return test_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_check_carrier()
646 set_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_set_check_carrier()
648 clear_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_set_check_carrier()
[all …]
/Linux-v5.10/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c183 int iref_cnt, iflags; in usnic_uiom_insert_interval() local
200 iflags = interval->flags; in usnic_uiom_insert_interval()
204 iflags, err, err_out, &to_add); in usnic_uiom_insert_interval()
215 iflags | flags, err, err_out, in usnic_uiom_insert_interval()
218 iflags, err, err_out, &to_add); in usnic_uiom_insert_interval()
221 iflags | flags, err, err_out, in usnic_uiom_insert_interval()
/Linux-v5.10/drivers/media/rc/
Dite-cir.c269 int iflags; in ite_cir_isr() local
277 iflags = dev->params.get_irq_causes(dev); in ite_cir_isr()
280 if (iflags & (ITE_IRQ_RX_FIFO | ITE_IRQ_RX_FIFO_OVERRUN)) { in ite_cir_isr()
305 } else if (iflags & ITE_IRQ_TX_FIFO) { in ite_cir_isr()
544 u8 iflags; in it87_get_irq_causes() local
550 iflags = inb(dev->cir_addr + IT87_IIR) & IT87_II; in it87_get_irq_causes()
552 switch (iflags) { in it87_get_irq_causes()
761 u8 iflags; in it8708_get_irq_causes() local
767 iflags = inb(dev->cir_addr + IT8708_C0IIR); in it8708_get_irq_causes()
769 if (iflags & IT85_TLDLI) in it8708_get_irq_causes()
[all …]
/Linux-v5.10/fs/ext4/
Dioctl.c554 static inline __u32 ext4_iflags_to_xflags(unsigned long iflags) in ext4_iflags_to_xflags() argument
558 if (iflags & EXT4_SYNC_FL) in ext4_iflags_to_xflags()
560 if (iflags & EXT4_IMMUTABLE_FL) in ext4_iflags_to_xflags()
562 if (iflags & EXT4_APPEND_FL) in ext4_iflags_to_xflags()
564 if (iflags & EXT4_NODUMP_FL) in ext4_iflags_to_xflags()
566 if (iflags & EXT4_NOATIME_FL) in ext4_iflags_to_xflags()
568 if (iflags & EXT4_PROJINHERIT_FL) in ext4_iflags_to_xflags()
570 if (iflags & EXT4_DAX_FL) in ext4_iflags_to_xflags()
583 unsigned long iflags = 0; in ext4_xflags_to_iflags() local
586 iflags |= EXT4_SYNC_FL; in ext4_xflags_to_iflags()
[all …]
/Linux-v5.10/drivers/dma/
Dmpc512x_dma.c608 unsigned long iflags; in mpc_dma_prep_memcpy() local
611 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
617 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
667 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
669 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_memcpy()
694 unsigned long iflags; in mpc_dma_prep_slave_sg() local
707 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
712 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
728 spin_unlock_irqrestore(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
794 spin_lock_irqsave(&mchan->lock, iflags); in mpc_dma_prep_slave_sg()
[all …]
Dsirf-dma.c695 unsigned long iflags; in sirfsoc_dma_prep_interleaved() local
704 spin_lock_irqsave(&schan->lock, iflags); in sirfsoc_dma_prep_interleaved()
710 spin_unlock_irqrestore(&schan->lock, iflags); in sirfsoc_dma_prep_interleaved()
720 spin_lock_irqsave(&schan->lock, iflags); in sirfsoc_dma_prep_interleaved()
746 spin_unlock_irqrestore(&schan->lock, iflags); in sirfsoc_dma_prep_interleaved()
750 spin_unlock_irqrestore(&schan->lock, iflags); in sirfsoc_dma_prep_interleaved()
763 unsigned long iflags; in sirfsoc_dma_prep_cyclic() local
780 spin_lock_irqsave(&schan->lock, iflags); in sirfsoc_dma_prep_cyclic()
786 spin_unlock_irqrestore(&schan->lock, iflags); in sirfsoc_dma_prep_cyclic()
792 spin_lock_irqsave(&schan->lock, iflags); in sirfsoc_dma_prep_cyclic()
[all …]
/Linux-v5.10/drivers/mmc/host/
Datmel-mci.c1006 u32 iflags; in atmci_prepare_data() local
1015 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data()
1030 iflags |= ATMCI_RXRDY; in atmci_prepare_data()
1032 iflags |= ATMCI_TXRDY; in atmci_prepare_data()
1034 return iflags; in atmci_prepare_data()
1046 u32 iflags, tmp; in atmci_prepare_data_pdc() local
1053 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data_pdc()
1059 iflags |= ATMCI_ENDRX | ATMCI_RXBUFF; in atmci_prepare_data_pdc()
1061 iflags |= ATMCI_ENDTX | ATMCI_TXBUFE | ATMCI_BLKE; in atmci_prepare_data_pdc()
1086 return iflags; in atmci_prepare_data_pdc()
[all …]
Dsunxi-mmc.c624 unsigned long iflags; in sunxi_mmc_handle_manual_stop() local
626 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
628 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
647 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
649 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_handle_manual_stop()
1009 unsigned long iflags; in sunxi_mmc_request() local
1070 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_request()
1073 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
1097 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_mem.c366 unsigned long iflags; in lpfc_mbuf_alloc() local
371 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
377 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
426 unsigned long iflags; in lpfc_mbuf_free() local
428 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_free()
430 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_free()
Dlpfc_sli.c905 unsigned long iflags; in lpfc_handle_rrq_active() local
908 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
918 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
952 unsigned long iflags; in lpfc_get_active_rrq() local
956 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_get_active_rrq()
961 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
965 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
984 unsigned long iflags; in lpfc_cleanup_vports_rrqs() local
993 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs()
997 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs()
[all …]
Dlpfc_hbadisc.c121 unsigned long iflags; in lpfc_dev_loss_tmo_callbk() local
174 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_dev_loss_tmo_callbk()
176 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_dev_loss_tmo_callbk()
183 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
189 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_dev_loss_tmo_callbk()
216 unsigned long iflags; in lpfc_dev_loss_tmo_handler() local
222 spin_lock_irqsave(shost->host_lock, iflags); in lpfc_dev_loss_tmo_handler()
224 spin_unlock_irqrestore(shost->host_lock, iflags); in lpfc_dev_loss_tmo_handler()
3166 unsigned long iflags; in lpfc_mbx_process_link_up() local
3168 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbx_process_link_up()
[all …]
Dlpfc_nvmet.c1020 unsigned long iflags; in lpfc_nvmet_xmt_fcp_op() local
1107 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
1110 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
2006 unsigned long iflags; in lpfc_nvmet_wqfull_flush() local
2018 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2026 iflags); in lpfc_nvmet_wqfull_flush()
2035 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2037 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2042 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
2053 unsigned long iflags; in lpfc_nvmet_wqfull_process() local
[all …]
/Linux-v5.10/arch/mips/kernel/
Delf.c170 u32 iflags; in arch_check_elf() local
173 iflags = ielf32 ? iehdr->e32.e_flags : iehdr->e64.e_flags; in arch_check_elf()
175 if ((flags ^ iflags) & EF_MIPS_NAN2008) in arch_check_elf()
/Linux-v5.10/drivers/clk/
Dclk-u300.c457 unsigned long iflags; in syscon_block_reset_enable() local
463 spin_lock_irqsave(&syscon_resetreg_lock, iflags); in syscon_block_reset_enable()
467 spin_unlock_irqrestore(&syscon_resetreg_lock, iflags); in syscon_block_reset_enable()
473 unsigned long iflags; in syscon_block_reset_disable() local
479 spin_lock_irqsave(&syscon_resetreg_lock, iflags); in syscon_block_reset_disable()
483 spin_unlock_irqrestore(&syscon_resetreg_lock, iflags); in syscon_block_reset_disable()
/Linux-v5.10/fs/f2fs/
Dfile.c1788 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument
1793 f2fs_bug_on(F2FS_I_SB(inode), (iflags & ~mask)); in f2fs_setflags_common()
1799 if ((iflags ^ masked_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common()
1806 if (iflags & (F2FS_COMPR_FL | F2FS_NOCOMP_FL)) { in f2fs_setflags_common()
1809 if ((iflags & F2FS_COMPR_FL) && (iflags & F2FS_NOCOMP_FL)) in f2fs_setflags_common()
1813 if ((iflags ^ masked_flags) & F2FS_COMPR_FL) { in f2fs_setflags_common()
1818 if (iflags & F2FS_NOCOMP_FL) in f2fs_setflags_common()
1820 if (iflags & F2FS_COMPR_FL) { in f2fs_setflags_common()
1829 if ((iflags ^ masked_flags) & F2FS_NOCOMP_FL) { in f2fs_setflags_common()
1834 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common()
[all …]
/Linux-v5.10/drivers/fpga/
Daltera-cvp.c323 u32 iflags, val; in altera_cvp_write_init() local
326 iflags = info ? info->flags : 0; in altera_cvp_write_init()
328 if (iflags & FPGA_MGR_PARTIAL_RECONFIG) { in altera_cvp_write_init()
334 if (iflags & FPGA_MGR_COMPRESSED_BITSTREAM) in altera_cvp_write_init()
336 else if (iflags & FPGA_MGR_ENCRYPTED_BITSTREAM) in altera_cvp_write_init()
/Linux-v5.10/fs/fat/
Dmisc.c332 int iflags = I_DIRTY_TIME; in fat_update_time() local
346 iflags |= I_DIRTY_SYNC; in fat_update_time()
347 __mark_inode_dirty(inode, iflags); in fat_update_time()
/Linux-v5.10/drivers/usb/gadget/udc/
Dpch_udc.c1670 unsigned long iflags; in pch_udc_pcd_ep_enable() local
1680 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1686 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1702 unsigned long iflags; in pch_udc_pcd_ep_disable() local
1711 spin_lock_irqsave(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1718 spin_unlock_irqrestore(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1814 unsigned long iflags; in pch_udc_pcd_queue() local
1827 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_queue()
1895 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_queue()
1949 unsigned long iflags; in pch_udc_pcd_set_halt() local
[all …]
Dsnps_udc_core.c328 unsigned long iflags; in udc_ep_enable() local
346 spin_lock_irqsave(&dev->lock, iflags); in udc_ep_enable()
446 spin_unlock_irqrestore(&dev->lock, iflags); in udc_ep_enable()
496 unsigned long iflags; in udc_ep_disable() local
507 spin_lock_irqsave(&ep->dev->lock, iflags); in udc_ep_disable()
511 spin_unlock_irqrestore(&ep->dev->lock, iflags); in udc_ep_disable()
1056 unsigned long iflags; in udc_queue() local
1091 spin_lock_irqsave(&dev->lock, iflags); in udc_queue()
1234 spin_unlock_irqrestore(&dev->lock, iflags); in udc_queue()
1259 unsigned long iflags; in udc_dequeue() local
[all …]
/Linux-v5.10/drivers/crypto/
Dgeode-aes.c73 unsigned long iflags; in geode_aes_crypt() local
88 spin_lock_irqsave(&lock, iflags); in geode_aes_crypt()
104 spin_unlock_irqrestore(&lock, iflags); in geode_aes_crypt()
/Linux-v5.10/fs/overlayfs/
Dfile.c562 static unsigned int ovl_iflags_to_fsflags(unsigned int iflags) in ovl_iflags_to_fsflags() argument
566 if (iflags & S_SYNC) in ovl_iflags_to_fsflags()
568 if (iflags & S_APPEND) in ovl_iflags_to_fsflags()
570 if (iflags & S_IMMUTABLE) in ovl_iflags_to_fsflags()
572 if (iflags & S_NOATIME) in ovl_iflags_to_fsflags()
/Linux-v5.10/fs/xfs/
Dxfs_bmap_util.c369 int iflags = bmv->bmv_iflags; in xfs_getbmap() local
382 if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
385 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap()
394 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap()
396 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
425 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap()
485 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()
/Linux-v5.10/drivers/tty/serial/
Dmeson_uart.c317 unsigned int cflags, iflags, baud; in meson_uart_set_termios() local
324 iflags = termios->c_iflag; in meson_uart_set_termios()
371 if (iflags & INPCK) in meson_uart_set_termios()
376 if (iflags & IGNPAR) in meson_uart_set_termios()

12