Home
last modified time | relevance | path

Searched refs:i_flags (Results 1 – 25 of 162) sorted by relevance

1234567

/linux/drivers/media/pci/ivtv/
A Divtv-irq.c497 set_bit(IVTV_F_I_PIO, &itv->i_flags); in ivtv_dma_enc_start()
503 set_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_dma_enc_start()
523 set_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_dma_dec_start()
586 clear_bit(IVTV_F_I_UDMA, &itv->i_flags); in ivtv_irq_dma_read()
587 clear_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_irq_dma_read()
629 clear_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_irq_enc_dma_complete()
651 clear_bit(IVTV_F_I_PIO, &itv->i_flags); in ivtv_irq_enc_pio_complete()
660 clear_bit(IVTV_F_I_PIO, &itv->i_flags); in ivtv_irq_enc_pio_complete()
737 clear_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_irq_dma_err()
996 set_bit(IVTV_F_I_EOS, &itv->i_flags); in ivtv_irq_handler()
[all …]
A Divtv-udma.c203 set_bit(IVTV_F_I_DMA, &itv->i_flags); in ivtv_udma_start()
204 set_bit(IVTV_F_I_UDMA, &itv->i_flags); in ivtv_udma_start()
205 clear_bit(IVTV_F_I_UDMA_PENDING, &itv->i_flags); in ivtv_udma_start()
213 if (!test_bit(IVTV_F_I_DMA, &itv->i_flags)) in ivtv_udma_prepare()
216 set_bit(IVTV_F_I_UDMA_PENDING, &itv->i_flags); in ivtv_udma_prepare()
A Divtv-vbi.c108 set_bit(IVTV_F_I_UPDATE_VPS, &itv->i_flags); in ivtv_write_vbi_line()
116 set_bit(IVTV_F_I_UPDATE_WSS, &itv->i_flags); in ivtv_write_vbi_line()
129 set_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_write_vbi_cc_lines()
456 clear_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_disable_cc()
511 if (test_and_clear_bit(IVTV_F_I_UPDATE_WSS, &itv->i_flags)) { in ivtv_vbi_work_handler()
515 if (test_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags)) { in ivtv_vbi_work_handler()
517 clear_bit(IVTV_F_I_UPDATE_CC, &itv->i_flags); in ivtv_vbi_work_handler()
534 if (test_and_clear_bit(IVTV_F_I_UPDATE_VPS, &itv->i_flags)) { in ivtv_vbi_work_handler()
A Divtv-fileops.c736 clear_bit(IVTV_F_I_EV_VSYNC_ENABLED, &itv->i_flags); in ivtv_v4l2_dec_poll()
743 set_bit(IVTV_F_I_EV_VSYNC_ENABLED, &itv->i_flags); in ivtv_v4l2_dec_poll()
744 if (test_bit(IVTV_F_I_EV_VSYNC, &itv->i_flags) || in ivtv_v4l2_dec_poll()
745 test_bit(IVTV_F_I_EV_DEC_STOPPED, &itv->i_flags)) in ivtv_v4l2_dec_poll()
843 test_bit(IVTV_F_I_DECODING_YUV, &itv->i_flags)) { in ivtv_stop_decoding()
862 clear_bit(IVTV_F_I_DEC_PAUSED, &itv->i_flags); in ivtv_stop_decoding()
883 clear_bit(IVTV_F_I_RADIO_USER, &itv->i_flags); in ivtv_v4l2_close()
995 if (!test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags)) {
1006 set_bit(IVTV_F_I_RADIO_USER, &itv->i_flags);
1023 clear_bit(IVTV_F_I_DEC_YUV, &itv->i_flags);
[all …]
A Divtv-streams.c605 if (test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags)) in ivtv_start_v4l2_encode_stream()
611 if (itv->has_cx23415 && !test_and_set_bit(IVTV_F_I_DIG_RST, &itv->i_flags)) { in ivtv_start_v4l2_encode_stream()
621 clear_bit(IVTV_F_I_EOS, &itv->i_flags); in ivtv_start_v4l2_encode_stream()
849 while (!test_bit(IVTV_F_I_EOS, &itv->i_flags) && in ivtv_stop_v4l2_encode_stream()
864 if (!test_bit(IVTV_F_I_EOS, &itv->i_flags)) { in ivtv_stop_v4l2_encode_stream()
898 if (test_and_clear_bit(IVTV_F_I_DIG_RST, &itv->i_flags)) { in ivtv_stop_v4l2_encode_stream()
972 set_bit(IVTV_F_I_EV_DEC_STOPPED, &itv->i_flags); in ivtv_stop_v4l2_decode_stream()
A Divtv-controls.c98 if (test_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags)) { in ivtv_g_pts_frame()
112 set_bit(IVTV_F_I_VALID_DEC_TIMINGS, &itv->i_flags); in ivtv_g_pts_frame()
/linux/fs/efivarfs/
A Dinode.c29 inode->i_flags = is_removable ? 0 : S_IMMUTABLE; in efivarfs_get_inode()
149 unsigned int i_flags; in efivarfs_fileattr_get() local
152 i_flags = d_inode(dentry)->i_flags; in efivarfs_fileattr_get()
153 if (i_flags & S_IMMUTABLE) in efivarfs_fileattr_get()
165 unsigned int i_flags = 0; in efivarfs_fileattr_set() local
174 i_flags |= S_IMMUTABLE; in efivarfs_fileattr_set()
176 inode_set_flags(d_inode(dentry), i_flags, S_IMMUTABLE); in efivarfs_fileattr_set()
/linux/fs/ubifs/
A Dioctl.c39 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC | in ubifs_set_inode_flags()
42 inode->i_flags |= S_SYNC; in ubifs_set_inode_flags()
44 inode->i_flags |= S_APPEND; in ubifs_set_inode_flags()
46 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
48 inode->i_flags |= S_DIRSYNC; in ubifs_set_inode_flags()
50 inode->i_flags |= S_ENCRYPTED; in ubifs_set_inode_flags()
141 dbg_gen("get flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_fileattr_get()
167 dbg_gen("set flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_fileattr_set()
/linux/fs/ocfs2/
A Dinode.c75 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags()
79 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags()
82 inode->i_flags |= S_SYNC; in ocfs2_set_inode_flags()
84 inode->i_flags |= S_APPEND; in ocfs2_set_inode_flags()
86 inode->i_flags |= S_NOATIME; in ocfs2_set_inode_flags()
88 inode->i_flags |= S_DIRSYNC; in ocfs2_set_inode_flags()
94 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
321 le32_to_cpu(fe->i_flags)); in ocfs2_populate_inode()
324 inode->i_flags |= S_NOQUOTA; in ocfs2_populate_inode()
332 inode->i_flags |= S_NOQUOTA; in ocfs2_populate_inode()
[all …]
/linux/fs/xfs/
A Dxfs_inode.h55 unsigned long i_flags; /* see defined flags below */ member
124 ip->i_flags |= flags; in __xfs_iflags_set()
139 ip->i_flags &= ~flags; in xfs_iflags_clear()
146 return (ip->i_flags & flags); in __xfs_iflags_test()
165 ret = ip->i_flags & flags; in xfs_iflags_test_and_clear()
167 ip->i_flags &= ~flags; in xfs_iflags_test_and_clear()
178 ret = ip->i_flags & flags; in xfs_iflags_test_and_set()
180 ip->i_flags |= flags; in xfs_iflags_test_and_set()
A Dxfs_icache.c102 ip->i_flags = 0; in xfs_inode_alloc()
174 ip->i_flags = XFS_IRECLAIM; in xfs_inode_free()
347 ip->i_flags |= XFS_IRECLAIM; in xfs_iget_recycle()
379 ip->i_flags |= XFS_INEW; in xfs_iget_recycle()
510 (ip->i_flags & XFS_IRECLAIMABLE)) in xfs_iget_cache_hit()
898 ip->i_flags = XFS_IRECLAIM; in xfs_reclaim_inode()
1167 if (ip->i_flags & iflag) in xfs_blockgc_set_iflag()
1170 ip->i_flags |= iflag; in xfs_blockgc_set_iflag()
1203 ip->i_flags &= ~iflag; in xfs_blockgc_clear_iflag()
1806 ip->i_flags |= XFS_IRECLAIMABLE; in xfs_inodegc_set_reclaimable()
[all …]
/linux/fs/reiserfs/
A Dioctl.c167 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
171 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()
188 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
211 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
A Dxattr.h23 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)
77 if ((REISERFS_I(inode)->i_flags & i_has_xattr_dir) == 0) { in reiserfs_xattr_jcreate_nblocks()
A Dinode.c1249 REISERFS_I(inode)->i_flags = 0; in init_inode()
2005 REISERFS_I(inode)->i_flags = 0; in reiserfs_new_inode()
2099 inode->i_flags |= S_PRIVATE; in reiserfs_new_inode()
2156 inode->i_flags |= S_NOQUOTA; in reiserfs_new_inode()
3071 inode->i_flags |= S_SYNC; in sd_attrs_to_i_attrs()
3073 inode->i_flags &= ~S_SYNC; in sd_attrs_to_i_attrs()
3075 inode->i_flags |= S_IMMUTABLE; in sd_attrs_to_i_attrs()
3079 inode->i_flags |= S_APPEND; in sd_attrs_to_i_attrs()
3081 inode->i_flags &= ~S_APPEND; in sd_attrs_to_i_attrs()
3083 inode->i_flags |= S_NOATIME; in sd_attrs_to_i_attrs()
[all …]
/linux/fs/ext2/
A Dioctl.c25 fileattr_fill_flags(fa, ei->i_flags & EXT2_FL_USER_VISIBLE); in ext2_fileattr_get()
43 ei->i_flags = (ei->i_flags & ~EXT2_FL_USER_MODIFIABLE) | in ext2_fileattr_set()
A Dinode.c1373 unsigned int flags = EXT2_I(inode)->i_flags; in ext2_set_inode_flags()
1375 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_NOATIME | in ext2_set_inode_flags()
1378 inode->i_flags |= S_SYNC; in ext2_set_inode_flags()
1380 inode->i_flags |= S_APPEND; in ext2_set_inode_flags()
1382 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
1384 inode->i_flags |= S_NOATIME; in ext2_set_inode_flags()
1386 inode->i_flags |= S_DIRSYNC; in ext2_set_inode_flags()
1388 inode->i_flags |= S_DAX; in ext2_set_inode_flags()
1456 ei->i_flags = le32_to_cpu(raw_inode->i_flags); in ext2_iget()
1584 raw_inode->i_flags = cpu_to_le32(ei->i_flags); in __ext2_write_inode()
[all …]
/linux/fs/hfsplus/
A Dinode.c209 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms()
211 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
213 inode->i_flags |= S_APPEND; in hfsplus_get_perms()
215 inode->i_flags &= ~S_APPEND; in hfsplus_get_perms()
237 if (inode->i_flags & S_DEAD) { in hfsplus_file_release()
289 if (inode->i_flags & S_APPEND) in hfsplus_getattr()
291 if (inode->i_flags & S_IMMUTABLE) in hfsplus_getattr()
644 if (inode->i_flags & S_IMMUTABLE) in hfsplus_fileattr_get()
646 if (inode->i_flags & S_APPEND) in hfsplus_fileattr_get()
/linux/fs/ext4/
A Dioctl.c77 tmp = ei1->i_flags & EXT4_FL_SHOULD_SWAP; in swap_inode_data()
78 ei1->i_flags = (ei2->i_flags & EXT4_FL_SHOULD_SWAP) | in swap_inode_data()
79 (ei1->i_flags & ~EXT4_FL_SHOULD_SWAP); in swap_inode_data()
80 ei2->i_flags = tmp | (ei2->i_flags & ~EXT4_FL_SHOULD_SWAP); in swap_inode_data()
138 (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL) || in swap_inode_boot_loader()
182 inode_bl->i_flags = 0; in swap_inode_boot_loader()
183 ei_bl->i_flags = 0; in swap_inode_boot_loader()
287 unsigned int oldflags = ei->i_flags; in ext4_ioctl_check_immutable()
312 if ((ei->i_flags ^ flags) & EXT4_DAX_FL) in ext4_dax_dontcache()
353 oldflags = ei->i_flags; in ext4_ioctl_setflags()
[all …]
A Dialloc.c928 __u32 goal, uid_t *owner, __u32 i_flags, in __ext4_new_inode() argument
987 if (!(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
997 if (!handle && sbi->s_journal && !(i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
1260 ei->i_flags = in __ext4_new_inode()
1261 ext4_mask_flags(mode, EXT4_I(dir)->i_flags & EXT4_FL_INHERITED); in __ext4_new_inode()
1262 ei->i_flags |= i_flags; in __ext4_new_inode()
1302 (!(ei->i_flags & EXT4_DAX_FL) || S_ISDIR(mode))) in __ext4_new_inode()
1320 if (!(ei->i_flags & EXT4_EA_INODE_FL)) { in __ext4_new_inode()
1361 inode->i_flags |= S_NOQUOTA; in __ext4_new_inode()
/linux/fs/
A Dstack.c73 dest->i_flags = src->i_flags; in fsstack_copy_attr_all()
/linux/fs/f2fs/
A Dinode.c38 unsigned int flags = F2FS_I(inode)->i_flags; in f2fs_set_inode_flags()
294 if ((fi->i_flags & F2FS_CASEFOLD_FL) && !f2fs_sb_has_casefold(sbi)) { in sanity_check_inode()
302 fi->i_flags & F2FS_COMPR_FL && in sanity_check_inode()
376 fi->i_flags = le32_to_cpu(ri->i_flags); in do_read_inode()
378 fi->i_flags &= ~F2FS_PROJINHERIT_FL; in do_read_inode()
439 if (fi->i_flags & F2FS_PROJINHERIT_FL) in do_read_inode()
456 (fi->i_flags & F2FS_COMPR_FL)) { in do_read_inode()
614 ri->i_flags = cpu_to_le32(F2FS_I(inode)->i_flags); in f2fs_update_inode()
/linux/fs/jbd2/
A Dcommit.c213 if (!jinode || !(jinode->i_flags & JI_WRITE_DATA)) in jbd2_submit_inode_data()
224 if (!jinode || !(jinode->i_flags & JI_WAIT_DATA) || in jbd2_wait_inode_data()
249 if (!(jinode->i_flags & JI_WRITE_DATA)) in journal_submit_data_buffers()
251 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_submit_data_buffers()
262 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_submit_data_buffers()
264 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_submit_data_buffers()
293 if (!(jinode->i_flags & JI_WAIT_DATA)) in journal_finish_inode_data_buffers()
295 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
304 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
306 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_finish_inode_data_buffers()
/linux/net/ipv4/
A Dip_gre.c791 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
795 p->i_flags = gre_flags_to_tnl_flags(p->i_flags); in ipgre_tunnel_ctl()
805 t->parms.i_flags = p->i_flags; in ipgre_tunnel_ctl()
812 p->i_flags = gre_tnl_flags_to_gre_flags(p->i_flags); in ipgre_tunnel_ctl()
1146 parms->i_flags = gre_flags_to_tnl_flags(nla_get_be16(data[IFLA_GRE_IFLAGS])); in ipgre_netlink_parms()
1409 t->parms.i_flags = p.i_flags; in ipgre_changelink()
1438 t->parms.i_flags = p.i_flags; in erspan_changelink()
1518 gre_tnl_flags_to_gre_flags(p->i_flags)) || in ipgre_fill_info()
/linux/include/linux/
A Dfs.h625 unsigned int i_flags; member
2271 ((inode)->i_flags & S_SYNC))
2273 ((inode)->i_flags & (S_SYNC|S_DIRSYNC)))
2278 #define IS_NOQUOTA(inode) ((inode)->i_flags & S_NOQUOTA)
2279 #define IS_APPEND(inode) ((inode)->i_flags & S_APPEND)
2283 #define IS_DEADDIR(inode) ((inode)->i_flags & S_DEAD)
2287 #define IS_IMA(inode) ((inode)->i_flags & S_IMA)
2289 #define IS_NOSEC(inode) ((inode)->i_flags & S_NOSEC)
2290 #define IS_DAX(inode) ((inode)->i_flags & S_DAX)
2293 #define IS_VERITY(inode) ((inode)->i_flags & S_VERITY)
[all …]
/linux/fs/zonefs/
A Dsuper.c61 zi->i_flags &= ~ZONEFS_ZONE_OPEN; in zonefs_i_size_write()
250 inode->i_flags |= S_IMMUTABLE; in zonefs_check_zone_condition()
266 inode->i_flags |= S_IMMUTABLE; in zonefs_check_zone_condition()
371 zi->i_flags &= ~ZONEFS_ZONE_OPEN; in zonefs_io_error_cb()
482 if (zi->i_flags & ZONEFS_ZONE_OPEN) { in zonefs_file_truncate()
494 zi->i_flags &= ~ZONEFS_ZONE_OPEN; in zonefs_file_truncate()
1041 zi->i_flags |= ZONEFS_ZONE_OPEN; in zonefs_open_zone()
1082 if (!(zi->i_flags & ZONEFS_ZONE_OPEN)) in zonefs_close_zone()
1094 if (zi->i_flags & ZONEFS_ZONE_OPEN && in zonefs_close_zone()
1100 zi->i_flags &= ~ZONEFS_ZONE_OPEN; in zonefs_close_zone()

Completed in 71 milliseconds

1234567