Lines Matching +full:4 +full:th
198 /* take bits from 7-th to 30-th including both bounds */ in get_third_component()
433 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
454 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
498 /* padd by 0s to the 4 byte boundary */ in reiserfs_add_entry()
548 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
567 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
580 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
636 struct reiserfs_transaction_handle th; in reiserfs_create() local
661 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
668 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_create()
678 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create()
683 reiserfs_update_sd(&th, inode); in reiserfs_create()
684 err = journal_end(&th); in reiserfs_create()
695 retval = journal_end(&th); in reiserfs_create()
707 struct reiserfs_transaction_handle th; in reiserfs_mknod() local
740 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mknod()
747 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_mknod()
757 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
763 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod()
768 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
769 err = journal_end(&th); in reiserfs_mknod()
778 retval = journal_end(&th); in reiserfs_mknod()
790 struct reiserfs_transaction_handle th; in reiserfs_mkdir() local
831 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mkdir()
843 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */, in reiserfs_mkdir()
860 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir()
866 reiserfs_update_sd(&th, inode); in reiserfs_mkdir()
867 err = journal_end(&th); in reiserfs_mkdir()
875 reiserfs_update_sd(&th, dir); in reiserfs_mkdir()
878 retval = journal_end(&th); in reiserfs_mkdir()
903 struct reiserfs_transaction_handle th; in reiserfs_rmdir() local
916 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_rmdir()
923 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_rmdir()
956 retval = reiserfs_cut_from_item(&th, &path, &de.de_entry_key, in reiserfs_rmdir()
969 reiserfs_update_sd(&th, inode); in reiserfs_rmdir()
973 reiserfs_update_sd(&th, dir); in reiserfs_rmdir()
976 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_rmdir()
978 retval = journal_end(&th); in reiserfs_rmdir()
991 err = journal_end(&th); in reiserfs_rmdir()
1002 struct reiserfs_transaction_handle th; in reiserfs_unlink() local
1021 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_unlink()
1024 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_unlink()
1066 reiserfs_cut_from_item(&th, &path, &de.de_entry_key, dir, NULL, in reiserfs_unlink()
1073 reiserfs_update_sd(&th, inode); in reiserfs_unlink()
1077 reiserfs_update_sd(&th, dir); in reiserfs_unlink()
1081 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_unlink()
1083 retval = journal_end(&th); in reiserfs_unlink()
1090 err = journal_end(&th); in reiserfs_unlink()
1107 struct reiserfs_transaction_handle th; in reiserfs_symlink() local
1157 retval = journal_begin(&th, parent_dir->i_sb, jbegin_count); in reiserfs_symlink()
1165 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
1179 retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name, in reiserfs_symlink()
1184 reiserfs_update_sd(&th, inode); in reiserfs_symlink()
1185 err = journal_end(&th); in reiserfs_symlink()
1194 retval = journal_end(&th); in reiserfs_symlink()
1205 struct reiserfs_transaction_handle th; in reiserfs_link() local
1228 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_link()
1237 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_link()
1246 err = journal_end(&th); in reiserfs_link()
1252 reiserfs_update_sd(&th, inode); in reiserfs_link()
1256 retval = journal_end(&th); in reiserfs_link()
1322 struct reiserfs_transaction_handle th; in reiserfs_rename() local
1336 * directory) and (4) maybe stat data of object to which new entry in reiserfs_rename()
1343 4 * REISERFS_QUOTA_TRANS_BLOCKS(old_dir->i_sb); in reiserfs_rename()
1411 retval = journal_begin(&th, old_dir->i_sb, jbegin_count); in reiserfs_rename()
1419 reiserfs_add_entry(&th, new_dir, new_dentry->d_name.name, in reiserfs_rename()
1427 int err = journal_end(&th); in reiserfs_rename()
1454 journal_end(&th); in reiserfs_rename()
1478 journal_end(&th); in reiserfs_rename()
1496 journal_end(&th); in reiserfs_rename()
1573 journal_mark_dirty(&th, new_de.de_bh); in reiserfs_rename()
1576 journal_mark_dirty(&th, old_de.de_bh); in reiserfs_rename()
1600 journal_mark_dirty(&th, dot_dot_de.de_bh); in reiserfs_rename()
1625 (&th, &old_entry_path, &old_de.de_entry_key, old_dir, NULL, in reiserfs_rename()
1632 reiserfs_update_sd(&th, old_dir); in reiserfs_rename()
1633 reiserfs_update_sd(&th, new_dir); in reiserfs_rename()
1634 reiserfs_update_sd(&th, old_inode); in reiserfs_rename()
1638 add_save_link(&th, new_dentry_inode, in reiserfs_rename()
1640 reiserfs_update_sd(&th, new_dentry_inode); in reiserfs_rename()
1643 retval = journal_end(&th); in reiserfs_rename()