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()106 (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) && in reiserfs_file_release()119 mutex_unlock(&REISERFS_I(inode)->tailpack); in reiserfs_file_release()128 if (!atomic_inc_not_zero(&REISERFS_I(inode)->openers)) { in reiserfs_file_open()[all …]
49 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()180 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()184 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()200 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()223 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
549 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()555 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()726 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()1249 INIT_LIST_HEAD(&REISERFS_I(inode)->i_prealloc_list); in init_inode()1250 REISERFS_I(inode)->i_flags = 0; in init_inode()1251 REISERFS_I(inode)->i_prealloc_block = 0; in init_inode()1252 REISERFS_I(inode)->i_prealloc_count = 0; in init_inode()1253 REISERFS_I(inode)->i_trans_id = 0; in init_inode()1254 REISERFS_I(inode)->i_jl = NULL; in init_inode()1294 REISERFS_I(inode)->i_first_direct_byte = in init_inode()[all …]
22 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)76 if ((REISERFS_I(inode)->i_flags & i_has_xattr_dir) == 0) { in reiserfs_xattr_jcreate_nblocks()87 init_rwsem(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_init_xattr_rwsem()
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()
535 down_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()603 up_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()674 down_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()743 up_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()
74 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_security_init()
1147 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) in REISERFS_I() function1178 ((REISERFS_I(inode)->i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)1182 REISERFS_I(inode)->i_flags |= i_item_key_version_mask; \1184 REISERFS_I(inode)->i_flags &= ~i_item_key_version_mask; })1187 ((REISERFS_I(inode)->i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)1191 REISERFS_I(inode)->i_flags |= i_stat_data_version_mask; \1193 REISERFS_I(inode)->i_flags &= ~i_stat_data_version_mask; })2274 #define INODE_PKEY(inode) ((struct reiserfs_key *)(REISERFS_I(inode)->i_key))2892 (REISERFS_I(inode)->i_flags & i_data_log)) in reiserfs_file_data_log()
381 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_cache_default_acl()
1560 !page || (REISERFS_I(inode)->i_flags & i_nopack_mask)) { in maybe_indirect_to_direct()1782 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in reiserfs_cut_from_item()1830 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_cut_from_item()
3829 REISERFS_I(inode)->i_jl = journal->j_current_jl; in reiserfs_update_inode_transaction()3830 REISERFS_I(inode)->i_trans_id = journal->j_trans_id; in reiserfs_update_inode_transaction()3903 unsigned int id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()3904 struct reiserfs_journal_list *jl = REISERFS_I(inode)->i_jl; in reiserfs_commit_for_inode()3912 id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()
808 REISERFS_I(dir)->new_packing_locality = 1; in reiserfs_mkdir()