Searched refs:reiserfs_i (Results 1 – 11 of 11) sorted by relevance
41 flags = inode -> u.reiserfs_i.i_attrs; in reiserfs_ioctl()54 if ( ( ( flags ^ inode->u.reiserfs_i.i_attrs) & ( REISERFS_IMMUTABLE_FL | REISERFS_APPEND_FL)) && in reiserfs_ioctl()67 inode -> u.reiserfs_i.i_attrs = flags; in reiserfs_ioctl()104 inode->u.reiserfs_i.i_flags |= i_nopack_mask; in reiserfs_unpack()108 if (inode->u.reiserfs_i.i_flags & i_nopack_mask) { in reiserfs_unpack()121 inode->u.reiserfs_i.i_flags |= i_nopack_mask; in reiserfs_unpack()141 inode->u.reiserfs_i.i_flags |= i_nopack_mask; in reiserfs_unpack()
36 !(inode->u.reiserfs_i.i_flags & i_pack_on_close_mask) || in reiserfs_file_release()38 inode->u.reiserfs_i.i_prealloc_count <= 0) { in reiserfs_file_release()53 (inode->u.reiserfs_i.i_flags & i_pack_on_close_mask) && in reiserfs_file_release()107 if (inode->u.reiserfs_i.i_prealloc_count > 0) { in reiserfs_setattr()
20 #define INODE_INFO(inode) (&(inode)->u.reiserfs_i)356 unsigned long save = inode->u.reiserfs_i.i_prealloc_block ; in __discard_prealloc()358 if (inode->u.reiserfs_i.i_prealloc_count < 0) in __discard_prealloc()361 while (inode->u.reiserfs_i.i_prealloc_count > 0) { in __discard_prealloc()362 reiserfs_free_prealloc_block(th,inode->u.reiserfs_i.i_prealloc_block); in __discard_prealloc()363 inode->u.reiserfs_i.i_prealloc_block++; in __discard_prealloc()364 inode->u.reiserfs_i.i_prealloc_count --; in __discard_prealloc()366 inode->u.reiserfs_i.i_prealloc_block = save ; in __discard_prealloc()367 list_del (&(inode->u.reiserfs_i.i_prealloc_list)); in __discard_prealloc()374 if (inode->u.reiserfs_i.i_prealloc_count) { in reiserfs_discard_prealloc()[all …]
438 if (inode->u.reiserfs_i.i_flags & i_pack_on_close_mask) { in reiserfs_get_block_direct_io()441 inode->u.reiserfs_i.i_flags &= ~i_pack_on_close_mask; in reiserfs_get_block_direct_io()587 inode->u.reiserfs_i.i_flags |= i_pack_on_close_mask; in reiserfs_get_block()942 INIT_LIST_HEAD(&inode->u.reiserfs_i.i_prealloc_list) ; in init_inode()973 inode->u.reiserfs_i.i_first_direct_byte = sd_v1_first_direct_byte(sd); in init_inode()976 inode->u.reiserfs_i.i_flags &= ~i_nopack_mask; in init_inode()1005 inode -> u.reiserfs_i.i_attrs = sd_v2_attrs( sd ); in init_inode()1047 flags = inode -> u.reiserfs_i.i_attrs; in inode2sd()1073 set_sd_v1_first_direct_byte(sd_v1, inode->u.reiserfs_i.i_first_direct_byte); in inode2sd_v1()1571 inode -> u.reiserfs_i.i_attrs = in reiserfs_new_inode()[all …]
202 inode -> u.reiserfs_i.i_flags |= i_link_saved_truncate_mask; in finish_unfinished()210 inode -> u.reiserfs_i.i_flags |= i_link_saved_unlink_mask; in finish_unfinished()243 ( inode -> u.reiserfs_i.i_flags & i_link_saved_truncate_mask ), in add_save_link()247 ( inode -> u.reiserfs_i.i_flags & i_link_saved_unlink_mask ), in add_save_link()297 inode -> u.reiserfs_i.i_flags |= i_link_saved_truncate_mask; in add_save_link()299 inode -> u.reiserfs_i.i_flags |= i_link_saved_unlink_mask; in add_save_link()329 ( inode -> u.reiserfs_i.i_flags & i_link_saved_truncate_mask ) ) || in remove_save_link()331 ( inode -> u.reiserfs_i.i_flags & i_link_saved_unlink_mask ) ) ) in remove_save_link()335 inode -> u.reiserfs_i.i_flags &= ~i_link_saved_unlink_mask; in remove_save_link()337 inode -> u.reiserfs_i.i_flags &= ~i_link_saved_truncate_mask; in remove_save_link()
133 inode->u.reiserfs_i.i_first_direct_byte = U32_MAX; in direct2indirect()293 p_s_inode->u.reiserfs_i.i_first_direct_byte = pos1 + 1; in indirect2direct()
2885 inode->u.reiserfs_i.i_trans_index = SB_JOURNAL_LIST_INDEX(inode->i_sb); in reiserfs_update_inode_transaction()2887 inode->u.reiserfs_i.i_trans_id = SB_JOURNAL(inode->i_sb)->j_trans_id ; in reiserfs_update_inode_transaction()2892 inode->u.reiserfs_i.i_tail_trans_index = SB_JOURNAL_LIST_INDEX(inode->i_sb); in reiserfs_update_tail_transaction()2894 inode->u.reiserfs_i.i_tail_trans_id = SB_JOURNAL(inode->i_sb)->j_trans_id ; in reiserfs_update_tail_transaction()2918 unsigned long id = inode->u.reiserfs_i.i_tail_trans_id; in reiserfs_commit_for_tail()2919 unsigned long index = inode->u.reiserfs_i.i_tail_trans_index; in reiserfs_commit_for_tail()2926 unsigned long id = inode->u.reiserfs_i.i_trans_id; in reiserfs_commit_for_inode()2927 unsigned long index = inode->u.reiserfs_i.i_trans_index; in reiserfs_commit_for_inode()
1440 !page || (p_s_inode->u.reiserfs_i.i_flags & i_nopack_mask)) { in maybe_indirect_to_direct()1607 p_s_inode->u.reiserfs_i.i_first_direct_byte = U32_MAX; in reiserfs_cut_from_item()1644 p_s_inode->u.reiserfs_i.i_flags &= ~i_pack_on_close_mask; in reiserfs_cut_from_item()
642 dir->u.reiserfs_i.new_packing_locality = 1; in reiserfs_mkdir()
291 (((inode)->u.reiserfs_i.i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)295 (inode)->u.reiserfs_i.i_flags |= i_item_key_version_mask; \297 (inode)->u.reiserfs_i.i_flags &= ~i_item_key_version_mask; })300 (((inode)->u.reiserfs_i.i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)304 (inode)->u.reiserfs_i.i_flags |= i_stat_data_version_mask; \306 (inode)->u.reiserfs_i.i_flags &= ~i_stat_data_version_mask; })1295 #define INODE_PKEY(inode) ((struct key *)((inode)->u.reiserfs_i.i_key))
514 struct reiserfs_inode_info reiserfs_i; member