Lines Matching defs:ndentry
1366 * @ndentry: The new dentry of the file
1372 struct inode *ndir, struct dentry *ndentry)
1389 if (d_really_is_positive(ndentry)) {
1390 nip = GFS2_I(d_inode(ndentry));
1472 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip);
1497 error = gfs2_dir_check(ndir, &ndentry->d_name, NULL);
1534 error = gfs2_diradd_alloc_required(ndir, &ndentry->d_name, &da);
1563 error = gfs2_unlink_inode(ndip, ndentry);
1573 error = gfs2_dir_add(ndir, &ndentry->d_name, ip, &da);
1608 * @ndentry: The new dentry of the file
1615 struct inode *ndir, struct dentry *ndentry,
1621 struct gfs2_inode *nip = GFS2_I(ndentry->d_inode);
1686 error = gfs2_unlink_ok(ndip, &ndentry->d_name, nip);
1696 error = gfs2_permission(ndentry->d_inode, MAY_WRITE);
1712 error = gfs2_dir_mvino(ndip, &ndentry->d_name, oip,
1751 struct inode *ndir, struct dentry *ndentry,
1760 return gfs2_exchange(odir, odentry, ndir, ndentry, flags);
1762 return gfs2_rename(odir, odentry, ndir, ndentry);