Home
last modified time | relevance | path

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

/linux-6.1.9/fs/reiserfs/
Dfile.c41 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 …]
Dioctl.c22 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()
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) { in reiserfs_xattr_jcreate_nblocks()
88 init_rwsem(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_init_xattr_rwsem()
Dinode.c541 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 …]
Dbitmap.c539 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 …]
Dsuper.c366 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 …]
Dtail_conversion.c161 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in direct2indirect()
315 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1; in indirect2direct()
Dxattr_security.c76 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_security_init()
Dxattr.c537 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()
Dreiserfs.h1145 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) in REISERFS_I() function
1176 ((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()
Dxattr_acl.c386 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_cache_default_acl()
Dstree.c1577 !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()
Djournal.c3835 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()
Dnamei.c812 REISERFS_I(dir)->new_packing_locality = 1; in reiserfs_mkdir()