Home
last modified time | relevance | path

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

/fs/reiserfs/
Dfile.c41 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 …]
Dioctl.c49 flags = REISERFS_I(inode)->i_attrs; in reiserfs_ioctl()
78 if (((flags ^ REISERFS_I(inode)-> in reiserfs_ioctl()
96 REISERFS_I(inode)->i_attrs = flags; in reiserfs_ioctl()
181 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
185 if (REISERFS_I(inode)->i_flags & i_nopack_mask) { in reiserfs_unpack()
201 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
224 REISERFS_I(inode)->i_flags |= i_nopack_mask; in reiserfs_unpack()
Dinode.c548 if (REISERFS_I(inode)->i_flags & i_pack_on_close_mask) { in reiserfs_get_blocks_direct_io()
554 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_get_blocks_direct_io()
725 REISERFS_I(inode)->i_flags |= i_pack_on_close_mask; in reiserfs_get_block()
1248 INIT_LIST_HEAD(&REISERFS_I(inode)->i_prealloc_list); in init_inode()
1249 REISERFS_I(inode)->i_flags = 0; in init_inode()
1250 REISERFS_I(inode)->i_prealloc_block = 0; in init_inode()
1251 REISERFS_I(inode)->i_prealloc_count = 0; in init_inode()
1252 REISERFS_I(inode)->i_trans_id = 0; in init_inode()
1253 REISERFS_I(inode)->i_jl = NULL; in init_inode()
1293 REISERFS_I(inode)->i_first_direct_byte = in init_inode()
[all …]
Dxattr.h21 #define has_xattr_dir(inode) (REISERFS_I(inode)->i_flags & i_has_xattr_dir)
75 if ((REISERFS_I(inode)->i_flags & i_has_xattr_dir) == 0) { in reiserfs_xattr_jcreate_nblocks()
86 init_rwsem(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_init_xattr_rwsem()
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.c352 REISERFS_I(inode)->i_flags |= in finish_unfinished()
366 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in finish_unfinished()
428 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask), in add_save_link()
432 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask), in add_save_link()
488 REISERFS_I(inode)->i_flags |= in add_save_link()
491 REISERFS_I(inode)->i_flags |= i_link_saved_unlink_mask; in add_save_link()
522 (REISERFS_I(inode)->i_flags & i_link_saved_truncate_mask)) || in remove_save_link()
524 (REISERFS_I(inode)->i_flags & i_link_saved_unlink_mask))) in remove_save_link()
529 REISERFS_I(inode)->i_flags &= ~i_link_saved_unlink_mask; in remove_save_link()
531 REISERFS_I(inode)->i_flags &= ~i_link_saved_truncate_mask; in remove_save_link()
[all …]
Dtail_conversion.c160 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in direct2indirect()
314 REISERFS_I(inode)->i_first_direct_byte = pos1 + 1; in indirect2direct()
Dxattr.c523 down_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()
591 up_write(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_set_handle()
658 down_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()
727 up_read(&REISERFS_I(inode)->i_xattr_sem); in reiserfs_xattr_get()
Dxattr_security.c73 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_security_init()
Dreiserfs.h1146 static inline struct reiserfs_inode_info *REISERFS_I(const struct inode *inode) in REISERFS_I() function
1175 ((REISERFS_I(inode)->i_flags & i_item_key_version_mask) ? KEY_FORMAT_3_6 : KEY_FORMAT_3_5)
1179 REISERFS_I(inode)->i_flags |= i_item_key_version_mask; \
1181 REISERFS_I(inode)->i_flags &= ~i_item_key_version_mask; })
1184 ((REISERFS_I(inode)->i_flags & i_stat_data_version_mask) ? STAT_DATA_V2 : STAT_DATA_V1)
1188 REISERFS_I(inode)->i_flags |= i_stat_data_version_mask; \
1190 REISERFS_I(inode)->i_flags &= ~i_stat_data_version_mask; })
2271 #define INODE_PKEY(inode) ((struct reiserfs_key *)(REISERFS_I(inode)->i_key))
2889 (REISERFS_I(inode)->i_flags & i_data_log)) in reiserfs_file_data_log()
Dxattr_acl.c379 REISERFS_I(inode)->i_flags |= i_has_xattr_dir; in reiserfs_cache_default_acl()
Dstree.c1559 !page || (REISERFS_I(inode)->i_flags & i_nopack_mask)) { in maybe_indirect_to_direct()
1781 REISERFS_I(inode)->i_first_direct_byte = U32_MAX; in reiserfs_cut_from_item()
1829 REISERFS_I(inode)->i_flags &= ~i_pack_on_close_mask; in reiserfs_cut_from_item()
Djournal.c3826 REISERFS_I(inode)->i_jl = journal->j_current_jl; in reiserfs_update_inode_transaction()
3827 REISERFS_I(inode)->i_trans_id = journal->j_trans_id; in reiserfs_update_inode_transaction()
3900 unsigned int id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()
3901 struct reiserfs_journal_list *jl = REISERFS_I(inode)->i_jl; in reiserfs_commit_for_inode()
3909 id = REISERFS_I(inode)->i_trans_id; in reiserfs_commit_for_inode()
Dnamei.c807 REISERFS_I(dir)->new_packing_locality = 1; in reiserfs_mkdir()