Searched refs:REISERFS_I (Results 1 – 14 of 14) sorted by relevance
41 if (atomic_add_unless(&REISERFS_I(inode)->openers, -1, 1)) in reiserfs_file_release()44 mutex_lock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_release()46 if (!atomic_dec_and_test(&REISERFS_I(inode)->openers)) { in reiserfs_file_release()47 mutex_unlock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_release()52 if ((!(REISERFS_I(inode)->i_flags & i_pack_on_close_mask) || in reiserfs_file_release()54 REISERFS_I(inode)->i_prealloc_count <= 0) { in reiserfs_file_release()55 mutex_unlock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_release()102 (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) && in reiserfs_file_release()113 mutex_unlock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_release()120 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()[all …]
48 flags = REISERFS_I(inode)->i_attrs; in reiserfs_ioctl()77 if (((flags ^ REISERFS_I(inode)-> in reiserfs_ioctl()95 REISERFS_I(inode)->i_attrs = flags; in reiserfs_ioctl()178 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()182 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()194 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()216 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
494 struct reiserfs_inode_info *ei = REISERFS_I(inode); in reiserfs_discard_prealloc()930 REISERFS_I(hint->inode)->i_prealloc_block) in determine_search_start()932 REISERFS_I(hint->inode)->i_prealloc_block; in determine_search_start()1021 list_add(&REISERFS_I(hint->inode)->i_prealloc_list, in allocate_without_wrapping_disk()1024 REISERFS_I(hint->inode)->i_prealloc_block = start; in allocate_without_wrapping_disk()1025 REISERFS_I(hint->inode)->i_prealloc_count = in allocate_without_wrapping_disk()1118 nr_allocated + REISERFS_I(hint->inode)->i_prealloc_count) { in blocknrs_and_prealloc_arrays_from_search_start()1125 REISERFS_I(hint->inode)->i_prealloc_count, in blocknrs_and_prealloc_arrays_from_search_start()1130 REISERFS_I(hint->inode)-> in blocknrs_and_prealloc_arrays_from_search_start()1145 if (REISERFS_I(inode)->i_prealloc_count > 0) { in use_preallocated_list_if_available()[all …]
493 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()499 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()662 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()1141 INIT_LIST_HEAD(&(REISERFS_I(inode)->i_prealloc_list)); in init_inode()1142 REISERFS_I(inode)->i_flags = 0; in init_inode()1143 REISERFS_I(inode)->i_prealloc_block = 0; in init_inode()1144 REISERFS_I(inode)->i_prealloc_count = 0; in init_inode()1145 REISERFS_I(inode)->i_trans_id = 0; in init_inode()1146 REISERFS_I(inode)->i_jl = NULL; in init_inode()1182 REISERFS_I(inode)->i_first_direct_byte = in init_inode()[all …]
136 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in direct2indirect()277 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1; in indirect2direct()
275 REISERFS_I(inode)->i_flags |= in finish_unfinished()287 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in finish_unfinished()345 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask), in add_save_link()349 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask), in add_save_link()405 REISERFS_I(inode)->i_flags |= in add_save_link()408 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in add_save_link()439 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask)) || in remove_save_link()441 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask))) in remove_save_link()446 REISERFS_I(inode)->i_flags &= ~i_link_saved_unlink_mask; in remove_save_link()448 REISERFS_I(inode)->i_flags &= ~i_link_saved_truncate_mask; in remove_save_link()[all …]
86 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_security_init()
500 down_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()569 up_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()633 down_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()701 up_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()
436 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_cache_default_acl()
1482 !page || (REISERFS_I(inode)->i_flags & i_nopack_mask)) { in maybe_indirect_to_direct()1686 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in reiserfs_cut_from_item()1729 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_cut_from_item()
3773 REISERFS_I(inode)->i_jl = journal->j_current_jl; in reiserfs_update_inode_transaction()3774 REISERFS_I(inode)->i_trans_id = journal->j_trans_id; in reiserfs_update_inode_transaction()3840 unsigned int id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()3841 struct reiserfs_journal_list *jl = REISERFS_I(inode)->i_jl; in reiserfs_commit_for_inode()3848 id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()
741 REISERFS_I(dir)->new_packing_locality = 1; in reiserfs_mkdir()
47 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)105 if ((REISERFS_I(inode)->i_flags & i_has_xattr_dir) == 0) { in reiserfs_xattr_jcreate_nblocks()116 init_rwsem(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_init_xattr_rwsem()
388 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) in REISERFS_I() function413 ((REISERFS_I(inode)->i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)417 REISERFS_I(inode)->i_flags |= i_item_key_version_mask; \419 REISERFS_I(inode)->i_flags &= ~i_item_key_version_mask; })422 ((REISERFS_I(inode)->i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)426 REISERFS_I(inode)->i_flags |= i_stat_data_version_mask; \428 REISERFS_I(inode)->i_flags &= ~i_stat_data_version_mask; })1378 #define INODE_PKEY(inode) ((struct reiserfs_key *)(REISERFS_I(inode)->i_key))1860 (REISERFS_I(inode)->i_flags & i_data_log)) in reiserfs_file_data_log()