Lines Matching refs:REISERFS_I
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()
122 mutex_lock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_open()
123 atomic_inc(&REISERFS_I(inode)->openers); in reiserfs_file_open()
124 mutex_unlock(&(REISERFS_I(inode)->tailpack)); in reiserfs_file_open()
131 mutex_lock(&(REISERFS_I(inode)->tailpack)); in reiserfs_vfs_truncate_file()
133 mutex_unlock(&(REISERFS_I(inode)->tailpack)); in reiserfs_vfs_truncate_file()