Searched refs:REISERFS_I (Results 1 - 14 of 14) sorted by relevance

/linux-master/fs/reiserfs/
H A Dfile.c41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers,
42 &REISERFS_I(inode)->tailpack))
46 if ((!(REISERFS_I(inode)->i_flags & i_pack_on_close_mask) ||
48 REISERFS_I(inode)->i_prealloc_count <= 0) {
49 mutex_unlock(&REISERFS_I(inode)->tailpack);
100 (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) &&
113 mutex_unlock(&REISERFS_I(inode)->tailpack);
122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) {
123 mutex_lock(&REISERFS_I(inode)->tailpack);
124 atomic_inc(&REISERFS_I(inod
[all...]
H A Dioctl.c22 fileattr_fill_flags(fa, REISERFS_I(inode)->i_attrs);
57 REISERFS_I(inode)->i_attrs = flags;
155 * It set up nopack attribute in the REISERFS_I(inode)->nopack
167 REISERFS_I(inode)->i_flags |= i_nopack_mask;
171 if (REISERFS_I(inode)->i_flags & i_nopack_mask) {
188 REISERFS_I(inode)->i_flags |= i_nopack_mask;
211 REISERFS_I(inode)->i_flags |= i_nopack_mask;
H 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) {
88 init_rwsem(&REISERFS_I(inode)->i_xattr_sem);
H A Dinode.c541 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) {
547 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask;
718 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask;
1240 INIT_LIST_HEAD(&REISERFS_I(inode)->i_prealloc_list);
1241 REISERFS_I(inode)->i_flags = 0;
1242 REISERFS_I(inode)->i_prealloc_block = 0;
1243 REISERFS_I(inode)->i_prealloc_count = 0;
1244 REISERFS_I(inode)->i_trans_id = 0;
1245 REISERFS_I(inode)->i_jl = NULL;
1282 REISERFS_I(inod
[all...]
H A Dbitmap.c539 struct reiserfs_inode_info *ei = REISERFS_I(inode);
1087 REISERFS_I(hint->inode)->i_prealloc_block)
1089 REISERFS_I(hint->inode)->i_prealloc_block;
1181 list_add(&REISERFS_I(hint->inode)->i_prealloc_list,
1184 REISERFS_I(hint->inode)->i_prealloc_block = start;
1185 REISERFS_I(hint->inode)->i_prealloc_count =
1286 nr_allocated + REISERFS_I(hint->inode)->i_prealloc_count) {
1293 REISERFS_I(hint->inode)->i_prealloc_count,
1300 REISERFS_I(hint->inode)->
1316 if (REISERFS_I(inod
[all...]
H A Dxattr_security.c90 REISERFS_I(inode)->i_flags |= i_has_xattr_dir;
H A Dtail_conversion.c161 REISERFS_I(inode)->i_first_direct_byte = U32_MAX;
315 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1;
H A Dsuper.c366 REISERFS_I(inode)->i_flags |=
380 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask;
442 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask),
446 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask),
502 REISERFS_I(inode)->i_flags |=
505 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask;
536 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask)) ||
538 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask)))
543 REISERFS_I(inode)->i_flags &= ~i_link_saved_unlink_mask;
545 REISERFS_I(inod
[all...]
H A Dxattr.c539 down_write(&REISERFS_I(inode)->i_xattr_sem);
607 up_write(&REISERFS_I(inode)->i_xattr_sem);
685 down_read(&REISERFS_I(inode)->i_xattr_sem);
754 up_read(&REISERFS_I(inode)->i_xattr_sem);
H A Dreiserfs.h1144 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) function
1175 ((REISERFS_I(inode)->i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)
1179 REISERFS_I(inode)->i_flags |= i_item_key_version_mask; \
1181 REISERFS_I(inode)->i_flags &= ~i_item_key_version_mask; })
1184 ((REISERFS_I(inode)->i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)
1188 REISERFS_I(inode)->i_flags |= i_stat_data_version_mask; \
1190 REISERFS_I(inode)->i_flags &= ~i_stat_data_version_mask; })
2271 #define INODE_PKEY(inode) ((struct reiserfs_key *)(REISERFS_I(inode)->i_key))
2892 (REISERFS_I(inode)->i_flags & i_data_log))
H A Dxattr_acl.c387 REISERFS_I(inode)->i_flags |= i_has_xattr_dir;
H A Dstree.c1575 !page || (REISERFS_I(inode)->i_flags & i_nopack_mask)) {
1797 REISERFS_I(inode)->i_first_direct_byte = U32_MAX;
1845 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask;
H A Djournal.c3834 REISERFS_I(inode)->i_jl = journal->j_current_jl;
3835 REISERFS_I(inode)->i_trans_id = journal->j_trans_id;
3908 unsigned int id = REISERFS_I(inode)->i_trans_id;
3909 struct reiserfs_journal_list *jl = REISERFS_I(inode)->i_jl;
3917 id = REISERFS_I(inode)->i_trans_id;
H A Dnamei.c803 REISERFS_I(dir)->new_packing_locality = 1;

Completed in 320 milliseconds