Searched refs:parent_dir (Results 1 – 2 of 2) sorted by relevance
1012 static int reiserfs_symlink(struct inode *parent_dir, in reiserfs_symlink() argument1025 2 * (REISERFS_QUOTA_INIT_BLOCKS(parent_dir->i_sb) + in reiserfs_symlink()1026 REISERFS_QUOTA_TRANS_BLOCKS(parent_dir->i_sb)); in reiserfs_symlink()1028 dquot_initialize(parent_dir); in reiserfs_symlink()1030 if (!(inode = new_inode(parent_dir->i_sb))) { in reiserfs_symlink()1033 new_inode_init(inode, parent_dir, mode); in reiserfs_symlink()1035 retval = reiserfs_security_init(parent_dir, inode, &dentry->d_name, in reiserfs_symlink()1043 reiserfs_write_lock(parent_dir->i_sb); in reiserfs_symlink()1045 if (item_len > MAX_DIRECT_ITEM_LEN(parent_dir->i_sb->s_blocksize)) { in reiserfs_symlink()1060 retval = journal_begin(&th, parent_dir->i_sb, jbegin_count); in reiserfs_symlink()[all …]
294 u32 parent_dir = le32_to_cpu(INODE_PKEY(dir)->k_dir_id); in reiserfs_choose_packing() local299 if (parent_dir == 1 || block_group_used(dir->i_sb, parent_dir)) in reiserfs_choose_packing()