Searched refs:REISERFS_I (Results 1 – 14 of 14) sorted by relevance
41 if (!atomic_dec_and_mutex_lock(&REISERFS_I(inode)->openers, in reiserfs_file_release()42 &REISERFS_I(inode)->tailpack)) in reiserfs_file_release()46 if ((!(REISERFS_I(inode)->i_flags & i_pack_on_close_mask) || in reiserfs_file_release()48 REISERFS_I(inode)->i_prealloc_count <= 0) { in reiserfs_file_release()49 mutex_unlock(&REISERFS_I(inode)->tailpack); in reiserfs_file_release()100 (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()122 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()123 mutex_lock(&REISERFS_I(inode)->tailpack); in reiserfs_file_open()124 atomic_inc(&REISERFS_I(inode)->openers); in reiserfs_file_open()[all …]
22 fileattr_fill_flags(fa, REISERFS_I(inode)->i_attrs); in reiserfs_fileattr_get()57 REISERFS_I(inode)->i_attrs = flags; in reiserfs_fileattr_set()167 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()
23 #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()88 init_rwsem(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_init_xattr_rwsem()
541 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()547 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()718 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()1240 INIT_LIST_HEAD(&REISERFS_I(inode)->i_prealloc_list); in init_inode()1241 REISERFS_I(inode)->i_flags = 0; in init_inode()1242 REISERFS_I(inode)->i_prealloc_block = 0; in init_inode()1243 REISERFS_I(inode)->i_prealloc_count = 0; in init_inode()1244 REISERFS_I(inode)->i_trans_id = 0; in init_inode()1245 REISERFS_I(inode)->i_jl = NULL; in init_inode()1285 REISERFS_I(inode)->i_first_direct_byte = in init_inode()[all …]
539 struct reiserfs_inode_info *ei = REISERFS_I(inode); in reiserfs_discard_prealloc()1087 REISERFS_I(hint->inode)->i_prealloc_block) in determine_search_start()1089 REISERFS_I(hint->inode)->i_prealloc_block; in determine_search_start()1181 list_add(&REISERFS_I(hint->inode)->i_prealloc_list, in allocate_without_wrapping_disk()1184 REISERFS_I(hint->inode)->i_prealloc_block = start; in allocate_without_wrapping_disk()1185 REISERFS_I(hint->inode)->i_prealloc_count = in allocate_without_wrapping_disk()1286 nr_allocated + REISERFS_I(hint->inode)->i_prealloc_count) { in blocknrs_and_prealloc_arrays_from_search_start()1293 REISERFS_I(hint->inode)->i_prealloc_count, in blocknrs_and_prealloc_arrays_from_search_start()1300 REISERFS_I(hint->inode)-> in blocknrs_and_prealloc_arrays_from_search_start()1316 if (REISERFS_I(inode)->i_prealloc_count > 0) { in use_preallocated_list_if_available()[all …]
366 REISERFS_I(inode)->i_flags |= in finish_unfinished()380 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in finish_unfinished()442 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask), in add_save_link()446 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask), in add_save_link()502 REISERFS_I(inode)->i_flags |= in add_save_link()505 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in add_save_link()536 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask)) || in remove_save_link()538 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask))) in remove_save_link()543 REISERFS_I(inode)->i_flags &= ~i_link_saved_unlink_mask; in remove_save_link()545 REISERFS_I(inode)->i_flags &= ~i_link_saved_truncate_mask; in remove_save_link()[all …]
161 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in direct2indirect()315 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1; in indirect2direct()
76 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_security_init()
537 down_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()605 up_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()683 down_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()752 up_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()
1145 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) in REISERFS_I() function1176 ((REISERFS_I(inode)->i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)1180 REISERFS_I(inode)->i_flags |= i_item_key_version_mask; \1182 REISERFS_I(inode)->i_flags &= ~i_item_key_version_mask; })1185 ((REISERFS_I(inode)->i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)1189 REISERFS_I(inode)->i_flags |= i_stat_data_version_mask; \1191 REISERFS_I(inode)->i_flags &= ~i_stat_data_version_mask; })2272 #define INODE_PKEY(inode) ((struct reiserfs_key *)(REISERFS_I(inode)->i_key))2890 (REISERFS_I(inode)->i_flags & i_data_log)) in reiserfs_file_data_log()
386 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_cache_default_acl()
1577 !page || (REISERFS_I(inode)->i_flags & i_nopack_mask)) { in maybe_indirect_to_direct()1799 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in reiserfs_cut_from_item()1847 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_cut_from_item()
3835 REISERFS_I(inode)->i_jl = journal->j_current_jl; in reiserfs_update_inode_transaction()3836 REISERFS_I(inode)->i_trans_id = journal->j_trans_id; in reiserfs_update_inode_transaction()3909 unsigned int id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()3910 struct reiserfs_journal_list *jl = REISERFS_I(inode)->i_jl; in reiserfs_commit_for_inode()3918 id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()
812 REISERFS_I(dir)->new_packing_locality = 1; in reiserfs_mkdir()