Lines Matching +full:4 +full:th

198 	/* take bits from 7-th to 30-th including both bounds */  in get_third_component()
431 static int reiserfs_add_entry(struct reiserfs_transaction_handle *th, in reiserfs_add_entry() argument
452 BUG_ON(!th->t_trans_id); in reiserfs_add_entry()
489 /* padd by 0s to the 4 byte boundary */ in reiserfs_add_entry()
539 PROC_INFO_MAX(th->t_super, max_hash_collisions, gen_number); in reiserfs_add_entry()
558 reiserfs_paste_into_item(th, &path, &entry_key, dir, buffer, in reiserfs_add_entry()
571 reiserfs_update_sd(th, dir); in reiserfs_add_entry()
627 struct reiserfs_transaction_handle th; in reiserfs_create() local
652 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_create()
659 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_create()
669 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_create()
674 reiserfs_update_sd(&th, inode); in reiserfs_create()
675 err = journal_end(&th); in reiserfs_create()
686 retval = journal_end(&th); in reiserfs_create()
699 struct reiserfs_transaction_handle th; in reiserfs_mknod() local
732 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mknod()
739 reiserfs_new_inode(&th, dir, mode, NULL, 0 /*i_size */ , dentry, in reiserfs_mknod()
749 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
755 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mknod()
760 reiserfs_update_sd(&th, inode); in reiserfs_mknod()
761 err = journal_end(&th); in reiserfs_mknod()
770 retval = journal_end(&th); in reiserfs_mknod()
783 struct reiserfs_transaction_handle th; in reiserfs_mkdir() local
824 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_mkdir()
836 retval = reiserfs_new_inode(&th, dir, mode, NULL /*symlink */, in reiserfs_mkdir()
853 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_mkdir()
859 reiserfs_update_sd(&th, inode); in reiserfs_mkdir()
860 err = journal_end(&th); in reiserfs_mkdir()
868 reiserfs_update_sd(&th, dir); in reiserfs_mkdir()
871 retval = journal_end(&th); in reiserfs_mkdir()
897 struct reiserfs_transaction_handle th; in reiserfs_rmdir() local
910 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_rmdir()
917 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_rmdir()
950 retval = reiserfs_cut_from_item(&th, &path, &de.de_entry_key, in reiserfs_rmdir()
964 reiserfs_update_sd(&th, inode); in reiserfs_rmdir()
968 reiserfs_update_sd(&th, dir); in reiserfs_rmdir()
971 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_rmdir()
973 retval = journal_end(&th); in reiserfs_rmdir()
986 err = journal_end(&th); in reiserfs_rmdir()
997 struct reiserfs_transaction_handle th; in reiserfs_unlink() local
1016 4 * REISERFS_QUOTA_TRANS_BLOCKS(dir->i_sb); in reiserfs_unlink()
1019 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_unlink()
1061 reiserfs_cut_from_item(&th, &path, &de.de_entry_key, dir, NULL, in reiserfs_unlink()
1068 reiserfs_update_sd(&th, inode); in reiserfs_unlink()
1072 reiserfs_update_sd(&th, dir); in reiserfs_unlink()
1076 add_save_link(&th, inode, 0 /* not truncate */ ); in reiserfs_unlink()
1078 retval = journal_end(&th); in reiserfs_unlink()
1085 err = journal_end(&th); in reiserfs_unlink()
1102 struct reiserfs_transaction_handle th; in reiserfs_symlink() local
1152 retval = journal_begin(&th, parent_dir->i_sb, jbegin_count); in reiserfs_symlink()
1160 reiserfs_new_inode(&th, parent_dir, mode, name, strlen(symname), in reiserfs_symlink()
1174 retval = reiserfs_add_entry(&th, parent_dir, dentry->d_name.name, in reiserfs_symlink()
1179 reiserfs_update_sd(&th, inode); in reiserfs_symlink()
1180 err = journal_end(&th); in reiserfs_symlink()
1189 retval = journal_end(&th); in reiserfs_symlink()
1201 struct reiserfs_transaction_handle th; in reiserfs_link() local
1224 retval = journal_begin(&th, dir->i_sb, jbegin_count); in reiserfs_link()
1233 reiserfs_add_entry(&th, dir, dentry->d_name.name, in reiserfs_link()
1242 err = journal_end(&th); in reiserfs_link()
1248 reiserfs_update_sd(&th, inode); in reiserfs_link()
1252 retval = journal_end(&th); in reiserfs_link()
1318 struct reiserfs_transaction_handle th; in reiserfs_rename() local
1331 * directory) and (4) maybe stat data of object to which new entry in reiserfs_rename()
1338 4 * REISERFS_QUOTA_TRANS_BLOCKS(old_dir->i_sb); in reiserfs_rename()
1409 retval = journal_begin(&th, old_dir->i_sb, jbegin_count); in reiserfs_rename()
1417 reiserfs_add_entry(&th, new_dir, new_dentry->d_name.name, in reiserfs_rename()
1425 int err = journal_end(&th); in reiserfs_rename()
1452 journal_end(&th); in reiserfs_rename()
1476 journal_end(&th); in reiserfs_rename()
1494 journal_end(&th); in reiserfs_rename()
1571 journal_mark_dirty(&th, new_de.de_bh); in reiserfs_rename()
1574 journal_mark_dirty(&th, old_de.de_bh); in reiserfs_rename()
1594 journal_mark_dirty(&th, dot_dot_de.de_bh); in reiserfs_rename()
1620 (&th, &old_entry_path, &old_de.de_entry_key, old_dir, NULL, in reiserfs_rename()
1627 reiserfs_update_sd(&th, old_dir); in reiserfs_rename()
1628 reiserfs_update_sd(&th, new_dir); in reiserfs_rename()
1629 reiserfs_update_sd(&th, old_inode); in reiserfs_rename()
1633 add_save_link(&th, new_dentry_inode, in reiserfs_rename()
1635 reiserfs_update_sd(&th, new_dentry_inode); in reiserfs_rename()
1638 retval = journal_end(&th); in reiserfs_rename()