Lines Matching +full:4 +full:th

197 	/* take bits from 7-th to 30-th including both bounds */  in get_third_component()
432 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
453 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
497 /* padd by 0s to the 4 byte boundary */ in reiserfs_add_entry()
547 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
566 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
579 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
635 struct reiserfs_transaction_handle th; in reiserfs_create() local
660 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
667 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_create()
677 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create()
682 reiserfs_update_sd(&th, inode); in reiserfs_create()
683 err = journal_end(&th); in reiserfs_create()
694 retval = journal_end(&th); in reiserfs_create()
706 struct reiserfs_transaction_handle th; in reiserfs_mknod() local
739 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mknod()
746 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_mknod()
756 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
762 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod()
767 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
768 err = journal_end(&th); in reiserfs_mknod()
777 retval = journal_end(&th); in reiserfs_mknod()
788 struct reiserfs_transaction_handle th; in reiserfs_mkdir() local
829 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mkdir()
841 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */, in reiserfs_mkdir()
858 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir()
864 reiserfs_update_sd(&th, inode); in reiserfs_mkdir()
865 err = journal_end(&th); in reiserfs_mkdir()
873 reiserfs_update_sd(&th, dir); in reiserfs_mkdir()
876 retval = journal_end(&th); in reiserfs_mkdir()
901 struct reiserfs_transaction_handle th; in reiserfs_rmdir() local
914 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_rmdir()
921 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_rmdir()
954 retval = reiserfs_cut_from_item(&th, &path, &de.de_entry_key, in reiserfs_rmdir()
967 reiserfs_update_sd(&th, inode); in reiserfs_rmdir()
971 reiserfs_update_sd(&th, dir); in reiserfs_rmdir()
974 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_rmdir()
976 retval = journal_end(&th); in reiserfs_rmdir()
989 err = journal_end(&th); in reiserfs_rmdir()
1000 struct reiserfs_transaction_handle th; in reiserfs_unlink() local
1019 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_unlink()
1022 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_unlink()
1064 reiserfs_cut_from_item(&th, &path, &de.de_entry_key, dir, NULL, in reiserfs_unlink()
1071 reiserfs_update_sd(&th, inode); in reiserfs_unlink()
1075 reiserfs_update_sd(&th, dir); in reiserfs_unlink()
1079 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_unlink()
1081 retval = journal_end(&th); in reiserfs_unlink()
1088 err = journal_end(&th); in reiserfs_unlink()
1104 struct reiserfs_transaction_handle th; in reiserfs_symlink() local
1154 retval = journal_begin(&th, parent_dir->i_sb, jbegin_count); in reiserfs_symlink()
1162 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
1176 retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name, in reiserfs_symlink()
1181 reiserfs_update_sd(&th, inode); in reiserfs_symlink()
1182 err = journal_end(&th); in reiserfs_symlink()
1191 retval = journal_end(&th); in reiserfs_symlink()
1202 struct reiserfs_transaction_handle th; in reiserfs_link() local
1225 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_link()
1234 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_link()
1243 err = journal_end(&th); in reiserfs_link()
1249 reiserfs_update_sd(&th, inode); in reiserfs_link()
1253 retval = journal_end(&th); in reiserfs_link()
1318 struct reiserfs_transaction_handle th; in reiserfs_rename() local
1332 * directory) and (4) maybe stat data of object to which new entry in reiserfs_rename()
1339 4 * REISERFS_QUOTA_TRANS_BLOCKS(old_dir->i_sb); in reiserfs_rename()
1407 retval = journal_begin(&th, old_dir->i_sb, jbegin_count); in reiserfs_rename()
1415 reiserfs_add_entry(&th, new_dir, new_dentry->d_name.name, in reiserfs_rename()
1423 int err = journal_end(&th); in reiserfs_rename()
1450 journal_end(&th); in reiserfs_rename()
1474 journal_end(&th); in reiserfs_rename()
1492 journal_end(&th); in reiserfs_rename()
1569 journal_mark_dirty(&th, new_de.de_bh); in reiserfs_rename()
1572 journal_mark_dirty(&th, old_de.de_bh); in reiserfs_rename()
1596 journal_mark_dirty(&th, dot_dot_de.de_bh); in reiserfs_rename()
1621 (&th, &old_entry_path, &old_de.de_entry_key, old_dir, NULL, in reiserfs_rename()
1628 reiserfs_update_sd(&th, old_dir); in reiserfs_rename()
1629 reiserfs_update_sd(&th, new_dir); in reiserfs_rename()
1630 reiserfs_update_sd(&th, old_inode); in reiserfs_rename()
1634 add_save_link(&th, new_dentry_inode, in reiserfs_rename()
1636 reiserfs_update_sd(&th, new_dentry_inode); in reiserfs_rename()
1639 retval = journal_end(&th); in reiserfs_rename()