Home
last modified time | relevance | path

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

12

/Linux-v5.4/fs/overlayfs/
Dfile.c410 unsigned long arg, unsigned int iflags) in ovl_ioctl_set_flags() argument
428 if (((iflags ^ old_iflags) & (S_APPEND | S_IMMUTABLE)) && in ovl_ioctl_set_flags()
450 unsigned int iflags = 0; in ovl_fsflags_to_iflags() local
453 iflags |= S_SYNC; in ovl_fsflags_to_iflags()
455 iflags |= S_APPEND; in ovl_fsflags_to_iflags()
457 iflags |= S_IMMUTABLE; in ovl_fsflags_to_iflags()
459 iflags |= S_NOATIME; in ovl_fsflags_to_iflags()
461 return iflags; in ovl_fsflags_to_iflags()
478 unsigned int iflags = 0; in ovl_fsxflags_to_iflags() local
481 iflags |= S_SYNC; in ovl_fsxflags_to_iflags()
[all …]
/Linux-v5.4/drivers/scsi/
Dsg.c905 unsigned long iflags; in sg_ioctl() local
997 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
1001 iflags); in sg_ioctl()
1006 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
1010 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
1016 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
1085 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_ioctl()
1087 read_unlock_irqrestore(&sfp->rq_list_lock, iflags); in sg_ioctl()
1174 unsigned long iflags; in sg_poll() local
1183 read_lock_irqsave(&sfp->rq_list_lock, iflags); in sg_poll()
[all …]
Dscsi_debug.c2668 unsigned long iflags; in resp_read_dt0() local
2752 read_lock_irqsave(&atomic_rw, iflags); in resp_read_dt0()
2759 read_unlock_irqrestore(&atomic_rw, iflags); in resp_read_dt0()
2766 read_unlock_irqrestore(&atomic_rw, iflags); in resp_read_dt0()
2972 unsigned long iflags; in resp_write_dt0() local
3030 write_lock_irqsave(&atomic_rw, iflags); in resp_write_dt0()
3037 write_unlock_irqrestore(&atomic_rw, iflags); in resp_write_dt0()
3046 write_unlock_irqrestore(&atomic_rw, iflags); in resp_write_dt0()
3093 unsigned long iflags; in resp_write_scat() local
3155 write_lock_irqsave(&atomic_rw, iflags); in resp_write_scat()
[all …]
/Linux-v5.4/include/linux/
Dtty.h240 unsigned long iflags; /* Internal flags TTY_PORT_ */ member
608 return test_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_cts_enabled()
614 set_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_set_cts_flow()
616 clear_bit(TTY_PORT_CTS_FLOW, &port->iflags); in tty_port_set_cts_flow()
621 return test_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_active()
627 set_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_set_active()
629 clear_bit(TTY_PORT_ACTIVE, &port->iflags); in tty_port_set_active()
634 return test_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_check_carrier()
640 set_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_set_check_carrier()
642 clear_bit(TTY_PORT_CHECK_CD, &port->iflags); in tty_port_set_check_carrier()
[all …]
/Linux-v5.4/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.4/arch/mips/fw/arc/
Dtree.c88 static char *iflags[] = { variable
98 iflags[p->iflags], p->vers, p->rev); in dump_component()
/Linux-v5.4/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.4/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.4/fs/ext4/
Dioctl.c526 static inline __u32 ext4_iflags_to_xflags(unsigned long iflags) in ext4_iflags_to_xflags() argument
530 if (iflags & EXT4_SYNC_FL) in ext4_iflags_to_xflags()
532 if (iflags & EXT4_IMMUTABLE_FL) in ext4_iflags_to_xflags()
534 if (iflags & EXT4_APPEND_FL) in ext4_iflags_to_xflags()
536 if (iflags & EXT4_NODUMP_FL) in ext4_iflags_to_xflags()
538 if (iflags & EXT4_NOATIME_FL) in ext4_iflags_to_xflags()
540 if (iflags & EXT4_PROJINHERIT_FL) in ext4_iflags_to_xflags()
552 unsigned long iflags = 0; in ext4_xflags_to_iflags() local
555 iflags |= EXT4_SYNC_FL; in ext4_xflags_to_iflags()
557 iflags |= EXT4_IMMUTABLE_FL; in ext4_xflags_to_iflags()
[all …]
/Linux-v5.4/drivers/mmc/host/
Datmel-mci.c998 u32 iflags; in atmci_prepare_data() local
1007 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data()
1022 iflags |= ATMCI_RXRDY; in atmci_prepare_data()
1024 iflags |= ATMCI_TXRDY; in atmci_prepare_data()
1026 return iflags; in atmci_prepare_data()
1038 u32 iflags, tmp; in atmci_prepare_data_pdc() local
1045 iflags = ATMCI_DATA_ERROR_FLAGS; in atmci_prepare_data_pdc()
1051 iflags |= ATMCI_ENDRX | ATMCI_RXBUFF; in atmci_prepare_data_pdc()
1053 iflags |= ATMCI_ENDTX | ATMCI_TXBUFE | ATMCI_BLKE; in atmci_prepare_data_pdc()
1078 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()
1005 unsigned long iflags; in sunxi_mmc_request() local
1066 spin_lock_irqsave(&host->lock, iflags); in sunxi_mmc_request()
1069 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
1093 spin_unlock_irqrestore(&host->lock, iflags); in sunxi_mmc_request()
/Linux-v5.4/drivers/scsi/lpfc/
Dlpfc_mem.c371 unsigned long iflags; in lpfc_mbuf_alloc() local
376 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
382 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_alloc()
431 unsigned long iflags; in lpfc_mbuf_free() local
433 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbuf_free()
435 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_mbuf_free()
Dlpfc_nvmet.c940 unsigned long iflags; in lpfc_nvmet_xmt_fcp_op() local
1031 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
1034 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_xmt_fcp_op()
1819 unsigned long iflags; in lpfc_nvmet_wqfull_flush() local
1831 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
1839 iflags); in lpfc_nvmet_wqfull_flush()
1848 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
1850 spin_lock_irqsave(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
1855 spin_unlock_irqrestore(&pring->ring_lock, iflags); in lpfc_nvmet_wqfull_flush()
1866 unsigned long iflags; in lpfc_nvmet_wqfull_process() local
[all …]
Dlpfc_sli.c888 unsigned long iflags; in lpfc_handle_rrq_active() local
891 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
901 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_handle_rrq_active()
935 unsigned long iflags; in lpfc_get_active_rrq() local
939 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_get_active_rrq()
944 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
948 spin_unlock_irqrestore(&phba->hbalock, iflags); in lpfc_get_active_rrq()
967 unsigned long iflags; in lpfc_cleanup_vports_rrqs() local
976 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_cleanup_vports_rrqs()
980 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()
3122 unsigned long iflags; in lpfc_mbx_process_link_up() local
3124 spin_lock_irqsave(&phba->hbalock, iflags); in lpfc_mbx_process_link_up()
[all …]
/Linux-v5.4/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.4/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.4/fs/fat/
Dmisc.c324 int iflags = I_DIRTY_TIME; in fat_update_time() local
338 iflags |= I_DIRTY_SYNC; in fat_update_time()
339 __mark_inode_dirty(inode, iflags); in fat_update_time()
/Linux-v5.4/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.4/fs/f2fs/
Dfile.c1672 static int f2fs_setflags_common(struct inode *inode, u32 iflags, u32 mask) in f2fs_setflags_common() argument
1680 if ((iflags ^ fi->i_flags) & F2FS_CASEFOLD_FL) { in f2fs_setflags_common()
1687 fi->i_flags = iflags | (fi->i_flags & ~mask); in f2fs_setflags_common()
1750 static inline u32 f2fs_iflags_to_fsflags(u32 iflags) in f2fs_iflags_to_fsflags() argument
1756 if (iflags & f2fs_fsflags_map[i].iflag) in f2fs_iflags_to_fsflags()
1765 u32 iflags = 0; in f2fs_fsflags_to_iflags() local
1770 iflags |= f2fs_fsflags_map[i].iflag; in f2fs_fsflags_to_iflags()
1772 return iflags; in f2fs_fsflags_to_iflags()
1800 u32 iflags; in f2fs_ioc_setflags() local
1813 iflags = f2fs_fsflags_to_iflags(fsflags); in f2fs_ioc_setflags()
[all …]
/Linux-v5.4/drivers/usb/gadget/udc/
Dpch_udc.c1688 unsigned long iflags; in pch_udc_pcd_ep_enable() local
1698 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1704 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_ep_enable()
1720 unsigned long iflags; in pch_udc_pcd_ep_disable() local
1729 spin_lock_irqsave(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1736 spin_unlock_irqrestore(&ep->dev->lock, iflags); in pch_udc_pcd_ep_disable()
1832 unsigned long iflags; in pch_udc_pcd_queue() local
1845 spin_lock_irqsave(&dev->lock, iflags); in pch_udc_pcd_queue()
1913 spin_unlock_irqrestore(&dev->lock, iflags); in pch_udc_pcd_queue()
1967 unsigned long iflags; in pch_udc_pcd_set_halt() local
[all …]
Dsnps_udc_core.c330 unsigned long iflags; in udc_ep_enable() local
348 spin_lock_irqsave(&dev->lock, iflags); in udc_ep_enable()
448 spin_unlock_irqrestore(&dev->lock, iflags); in udc_ep_enable()
498 unsigned long iflags; in udc_ep_disable() local
509 spin_lock_irqsave(&ep->dev->lock, iflags); in udc_ep_disable()
513 spin_unlock_irqrestore(&ep->dev->lock, iflags); in udc_ep_disable()
1058 unsigned long iflags; in udc_queue() local
1093 spin_lock_irqsave(&dev->lock, iflags); in udc_queue()
1236 spin_unlock_irqrestore(&dev->lock, iflags); in udc_queue()
1261 unsigned long iflags; in udc_dequeue() local
[all …]
/Linux-v5.4/drivers/tty/serial/
Dmeson_uart.c318 unsigned int cflags, iflags, baud; in meson_uart_set_termios() local
325 iflags = termios->c_iflag; in meson_uart_set_termios()
372 if (iflags & INPCK) in meson_uart_set_termios()
377 if (iflags & IGNPAR) in meson_uart_set_termios()
/Linux-v5.4/fs/xfs/
Dxfs_bmap_util.c508 int iflags = bmv->bmv_iflags; in xfs_getbmap() local
521 if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
524 if ((iflags & BMV_IF_ATTRFORK) && (iflags & BMV_IF_COWFORK)) in xfs_getbmap()
533 if (iflags & BMV_IF_ATTRFORK) in xfs_getbmap()
535 else if (iflags & BMV_IF_COWFORK) in xfs_getbmap()
564 if (!(iflags & BMV_IF_DELALLOC) && in xfs_getbmap()
624 if (iflags & BMV_IF_DELALLOC) in xfs_getbmap()

12