Lines Matching refs:di_inode
5477 struct inode *di_inode; in log_new_dir_dentries() local
5497 di_inode = btrfs_iget(fs_info->sb, di_key.objectid, root); in log_new_dir_dentries()
5498 if (IS_ERR(di_inode)) { in log_new_dir_dentries()
5499 ret = PTR_ERR(di_inode); in log_new_dir_dentries()
5503 if (!need_log_inode(trans, BTRFS_I(di_inode))) { in log_new_dir_dentries()
5504 btrfs_add_delayed_iput(di_inode); in log_new_dir_dentries()
5511 ret = btrfs_log_inode(trans, BTRFS_I(di_inode), in log_new_dir_dentries()
5513 btrfs_add_delayed_iput(di_inode); in log_new_dir_dentries()
6310 struct inode *di_inode; in log_new_delayed_dentries() local
6320 di_inode = btrfs_iget(fs_info->sb, key.objectid, inode->root); in log_new_delayed_dentries()
6321 if (IS_ERR(di_inode)) { in log_new_delayed_dentries()
6322 ret = PTR_ERR(di_inode); in log_new_delayed_dentries()
6326 if (!need_log_inode(trans, BTRFS_I(di_inode))) { in log_new_delayed_dentries()
6327 btrfs_add_delayed_iput(di_inode); in log_new_delayed_dentries()
6335 ret = btrfs_log_inode(trans, BTRFS_I(di_inode), log_mode, ctx); in log_new_delayed_dentries()
6338 ret = log_new_dir_dentries(trans, BTRFS_I(di_inode), ctx); in log_new_delayed_dentries()
6340 btrfs_add_delayed_iput(di_inode); in log_new_delayed_dentries()