Home
last modified time | relevance | path

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

1234

/fs/jfs/
Djfs_inode.c33 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND | in jfs_set_inode_flags()
37 inode->i_flags |= S_IMMUTABLE; in jfs_set_inode_flags()
39 inode->i_flags |= S_APPEND; in jfs_set_inode_flags()
41 inode->i_flags |= S_NOATIME; in jfs_set_inode_flags()
43 inode->i_flags |= S_DIRSYNC; in jfs_set_inode_flags()
45 inode->i_flags |= S_SYNC; in jfs_set_inode_flags()
50 unsigned int flags = jfs_ip->vfs_inode.i_flags; in jfs_get_inode_flags()
166 inode->i_flags |= S_NOQUOTA; in ialloc()
/fs/ubifs/
Dioctl.c42 inode->i_flags &= ~(S_SYNC | S_APPEND | S_IMMUTABLE | S_DIRSYNC); in ubifs_set_inode_flags()
44 inode->i_flags |= S_SYNC; in ubifs_set_inode_flags()
46 inode->i_flags |= S_APPEND; in ubifs_set_inode_flags()
48 inode->i_flags |= S_IMMUTABLE; in ubifs_set_inode_flags()
50 inode->i_flags |= S_DIRSYNC; in ubifs_set_inode_flags()
157 dbg_gen("get flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_ioctl()
180 dbg_gen("set flags: %#x, i_flags %#x", flags, inode->i_flags); in ubifs_ioctl()
/fs/ocfs2/
Dinode.c80 inode->i_flags &= ~(S_IMMUTABLE | in ocfs2_set_inode_flags()
84 inode->i_flags |= S_IMMUTABLE; in ocfs2_set_inode_flags()
87 inode->i_flags |= S_SYNC; in ocfs2_set_inode_flags()
89 inode->i_flags |= S_APPEND; in ocfs2_set_inode_flags()
91 inode->i_flags |= S_NOATIME; in ocfs2_set_inode_flags()
93 inode->i_flags |= S_DIRSYNC; in ocfs2_set_inode_flags()
99 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
244 BUG_ON(!(fe->i_flags & cpu_to_le32(OCFS2_VALID_FL))); in ocfs2_populate_inode()
280 if (fe->i_flags & cpu_to_le32(OCFS2_SYSTEM_FL)) { in ocfs2_populate_inode()
282 inode->i_flags |= S_NOQUOTA; in ocfs2_populate_inode()
[all …]
/fs/reiserfs/
Dfile.c43 !(REISERFS_I(inode)->i_flags & i_pack_on_close_mask) || in reiserfs_file_release()
52 if (REISERFS_I(inode)->i_flags & i_ever_mapped) in reiserfs_file_release()
53 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_file_release()
98 (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) && in reiserfs_file_release()
119 REISERFS_I(inode)->i_flags |= i_ever_mapped; in reiserfs_file_mmap()
Dioctl.c170 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
174 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()
187 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
209 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
Dinode.c490 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()
494 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()
654 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()
1127 REISERFS_I(inode)->i_flags = 0; in init_inode()
1183 REISERFS_I(inode)->i_flags &= ~i_nopack_mask; in init_inode()
1820 inode->i_flags &= ~(S_IMMUTABLE | S_APPEND); in reiserfs_new_inode()
1830 REISERFS_I(inode)->i_flags = 0; in reiserfs_new_inode()
1956 inode->i_flags |= S_NOQUOTA; in reiserfs_new_inode()
2712 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_write_end()
2790 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_commit_write()
[all …]
/fs/ext2/
Dinode.c1157 unsigned int flags = EXT2_I(inode)->i_flags; in ext2_set_inode_flags()
1159 inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC); in ext2_set_inode_flags()
1161 inode->i_flags |= S_SYNC; in ext2_set_inode_flags()
1163 inode->i_flags |= S_APPEND; in ext2_set_inode_flags()
1165 inode->i_flags |= S_IMMUTABLE; in ext2_set_inode_flags()
1167 inode->i_flags |= S_NOATIME; in ext2_set_inode_flags()
1169 inode->i_flags |= S_DIRSYNC; in ext2_set_inode_flags()
1175 unsigned int flags = ei->vfs_inode.i_flags; in ext2_get_inode_flags()
1177 ei->i_flags &= ~(EXT2_SYNC_FL|EXT2_APPEND_FL| in ext2_get_inode_flags()
1180 ei->i_flags |= EXT2_SYNC_FL; in ext2_get_inode_flags()
[all …]
Dioctl.c34 flags = ei->i_flags & EXT2_FL_USER_VISIBLE; in ext2_ioctl()
62 oldflags = ei->i_flags; in ext2_ioctl()
80 ei->i_flags = flags; in ext2_ioctl()
/fs/hfsplus/
Dioctl.c66 inode->i_flags |= S_IMMUTABLE; in hfsplus_ioctl()
69 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_ioctl()
73 inode->i_flags |= S_APPEND; in hfsplus_ioctl()
76 inode->i_flags &= ~S_APPEND; in hfsplus_ioctl()
Dinode.c215 inode->i_flags |= S_IMMUTABLE; in hfsplus_get_perms()
217 inode->i_flags &= ~S_IMMUTABLE; in hfsplus_get_perms()
219 inode->i_flags |= S_APPEND; in hfsplus_get_perms()
221 inode->i_flags &= ~S_APPEND; in hfsplus_get_perms()
226 if (inode->i_flags & S_IMMUTABLE) in hfsplus_set_perms()
230 if (inode->i_flags & S_APPEND) in hfsplus_set_perms()
260 if (inode->i_flags & S_DEAD) { in hfsplus_file_release()
/fs/ext4/
Dmigrate.c360 if (!(EXT4_I(inode)->i_flags & EXT4_EXT_MIGRATE)) { in ext4_ext_swap_inode_data()
365 EXT4_I(inode)->i_flags = EXT4_I(inode)->i_flags & in ext4_ext_swap_inode_data()
371 ei->i_flags |= EXT4_EXTENTS_FL; in ext4_ext_swap_inode_data()
468 (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)) in ext4_ext_migrate()
525 EXT4_I(inode)->i_flags = EXT4_I(inode)->i_flags | EXT4_EXT_MIGRATE; in ext4_ext_migrate()
Dinode.c880 J_ASSERT(!(EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL)); in ext4_get_blocks_handle()
1006 if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) in ext4_calc_metadata_amount()
1078 if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) { in ext4_get_blocks_wrap()
1121 if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) { in ext4_get_blocks_wrap()
1134 EXT4_I(inode)->i_flags = EXT4_I(inode)->i_flags & in ext4_get_blocks_wrap()
1995 if (!(EXT4_I(mpd->inode)->i_flags & EXT4_EXTENTS_FL)) { in mpage_add_bh_to_extent()
2428 if (!(inode->i_flags & EXT4_EXTENTS_FL) && in ext4_da_writepages_trans_blocks()
3841 if (EXT4_I(inode)->i_flags & EXT4_EXTENTS_FL) { in ext4_truncate()
4135 unsigned int flags = EXT4_I(inode)->i_flags; in ext4_set_inode_flags()
4137 inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC); in ext4_set_inode_flags()
[all …]
Dext4_jbd2.h264 if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL) in ext4_should_journal_data()
275 if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL) in ext4_should_order_data()
288 if (EXT4_I(inode)->i_flags & EXT4_JOURNAL_DATA_FL) in ext4_should_writeback_data()
Dioctl.c32 flags = ei->i_flags & EXT4_FL_USER_VISIBLE; in ext4_ioctl()
60 oldflags = ei->i_flags; in ext4_ioctl()
109 ei->i_flags = flags; in ext4_ioctl()
Dialloc.c466 (EXT4_I(parent)->i_flags & EXT4_TOPDIR_FL)) { in find_group_orlov()
892 ei->i_flags = EXT4_I(dir)->i_flags & ~(EXT4_INDEX_FL|EXT4_EXTENTS_FL); in ext4_new_inode()
894 ei->i_flags &= ~(EXT4_IMMUTABLE_FL|EXT4_APPEND_FL); in ext4_new_inode()
897 ei->i_flags &= ~EXT4_DIRSYNC_FL; in ext4_new_inode()
934 EXT4_I(inode)->i_flags |= EXT4_EXTENTS_FL; in ext4_new_inode()
963 inode->i_flags |= S_NOQUOTA; in ext4_new_inode()
/fs/
Dstack.c31 dest->i_flags = src->i_flags; in fsstack_copy_attr_all()
/fs/xfs/
Dxfs_inode.h261 unsigned short i_flags; /* see defined flags below */ member
334 ip->i_flags |= flags; in __xfs_iflags_set()
349 ip->i_flags &= ~flags; in xfs_iflags_clear()
356 return (ip->i_flags & flags); in __xfs_iflags_test()
375 ret = ip->i_flags & flags; in xfs_iflags_test_and_clear()
377 ip->i_flags &= ~flags; in xfs_iflags_test_and_clear()
/fs/xfs/linux-2.6/
Dxfs_iops.c822 inode->i_flags |= S_IMMUTABLE; in xfs_diflags_to_iflags()
824 inode->i_flags &= ~S_IMMUTABLE; in xfs_diflags_to_iflags()
826 inode->i_flags |= S_APPEND; in xfs_diflags_to_iflags()
828 inode->i_flags &= ~S_APPEND; in xfs_diflags_to_iflags()
830 inode->i_flags |= S_SYNC; in xfs_diflags_to_iflags()
832 inode->i_flags &= ~S_SYNC; in xfs_diflags_to_iflags()
834 inode->i_flags |= S_NOATIME; in xfs_diflags_to_iflags()
836 inode->i_flags &= ~S_NOATIME; in xfs_diflags_to_iflags()
Dxfs_ioctl.c645 if (inode->i_flags & (S_IMMUTABLE|S_APPEND)) in xfs_ioc_space()
897 inode->i_flags |= S_IMMUTABLE; in xfs_diflags_to_linux()
899 inode->i_flags &= ~S_IMMUTABLE; in xfs_diflags_to_linux()
901 inode->i_flags |= S_APPEND; in xfs_diflags_to_linux()
903 inode->i_flags &= ~S_APPEND; in xfs_diflags_to_linux()
905 inode->i_flags |= S_SYNC; in xfs_diflags_to_linux()
907 inode->i_flags &= ~S_SYNC; in xfs_diflags_to_linux()
909 inode->i_flags |= S_NOATIME; in xfs_diflags_to_linux()
911 inode->i_flags &= ~S_NOATIME; in xfs_diflags_to_linux()
/fs/gfs2/
Dglops.c91 if (test_bit(GIF_SW_PAGED, &ip->i_flags)) in gfs2_pte_inval()
190 set_bit(GIF_INVALID, &ip->i_flags); in inode_go_inval()
230 if (test_bit(GIF_INVALID, &ip->i_flags)) { in inode_go_lock()
266 IF2DT(ip->i_inode.i_mode), ip->i_flags, in inode_go_dump()
Dops_super.c62 if (!test_bit(GIF_USER, &ip->i_flags) || in gfs2_write_inode()
478 if (test_bit(GIF_USER, &ip->i_flags) && inode->i_nlink) { in gfs2_drop_inode()
500 if (test_bit(GIF_USER, &ip->i_flags)) { in gfs2_clear_inode()
610 if (!test_bit(GIF_USER, &ip->i_flags)) in gfs2_delete_inode()
674 ip->i_flags = 0; in gfs2_alloc_inode()
/fs/ext3/
Dinode.c2663 unsigned int flags = EXT3_I(inode)->i_flags; in ext3_set_inode_flags()
2665 inode->i_flags &= ~(S_SYNC|S_APPEND|S_IMMUTABLE|S_NOATIME|S_DIRSYNC); in ext3_set_inode_flags()
2667 inode->i_flags |= S_SYNC; in ext3_set_inode_flags()
2669 inode->i_flags |= S_APPEND; in ext3_set_inode_flags()
2671 inode->i_flags |= S_IMMUTABLE; in ext3_set_inode_flags()
2673 inode->i_flags |= S_NOATIME; in ext3_set_inode_flags()
2675 inode->i_flags |= S_DIRSYNC; in ext3_set_inode_flags()
2681 unsigned int flags = ei->vfs_inode.i_flags; in ext3_get_inode_flags()
2683 ei->i_flags &= ~(EXT3_SYNC_FL|EXT3_APPEND_FL| in ext3_get_inode_flags()
2686 ei->i_flags |= EXT3_SYNC_FL; in ext3_get_inode_flags()
[all …]
Dioctl.c33 flags = ei->i_flags & EXT3_FL_USER_VISIBLE; in ext3_ioctl()
65 oldflags = ei->i_flags; in ext3_ioctl()
111 ei->i_flags = flags; in ext3_ioctl()
/fs/jbd2/
Dcommit.c248 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_submit_data_buffers()
261 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_submit_data_buffers()
262 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_submit_data_buffers()
282 jinode->i_flags |= JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
298 jinode->i_flags &= ~JI_COMMIT_RUNNING; in journal_finish_inode_data_buffers()
299 wake_up_bit(&jinode->i_flags, __JI_COMMIT_RUNNING); in journal_finish_inode_data_buffers()
/fs/ufs/
Dialloc.c318 ufsi->i_flags = UFS_I(dir)->i_flags; in ufs_new_inode()
371 inode->i_flags |= S_NOQUOTA; in ufs_new_inode()

1234