Lines Matching refs:old_dir
898 int ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, in ubifs_jnl_rename() argument
911 int move = (old_dir != new_dir); in ubifs_jnl_rename()
916 old_dir->i_ino, new_dentry->d_name.len, in ubifs_jnl_rename()
918 ubifs_assert(ubifs_inode(old_dir)->data_len == 0); in ubifs_jnl_rename()
920 ubifs_assert(mutex_is_locked(&ubifs_inode(old_dir)->ui_mutex)); in ubifs_jnl_rename()
937 if (old_dir != new_dir) in ubifs_jnl_rename()
962 dent_key_init_flash(c, &dent2->key, old_dir->i_ino, in ubifs_jnl_rename()
979 pack_inode(c, p, old_dir, 1); in ubifs_jnl_rename()
981 pack_inode(c, p, old_dir, 0); in ubifs_jnl_rename()
1002 ubifs_wbuf_add_ino_nolock(wbuf, old_dir->i_ino); in ubifs_jnl_rename()
1018 dent_key_init(c, &key, old_dir->i_ino, &old_dentry->d_name); in ubifs_jnl_rename()
1032 ino_key_init(c, &key, old_dir->i_ino); in ubifs_jnl_rename()
1037 if (old_dir != new_dir) { in ubifs_jnl_rename()
1052 mark_inode_clean(c, ubifs_inode(old_dir)); in ubifs_jnl_rename()