Lines Matching refs:odentry
1347 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument
1352 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename()
1426 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1489 error = gfs2_permission(d_inode(odentry), MAY_WRITE); in gfs2_rename()
1530 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1570 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument
1576 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange()
1634 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1642 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_exchange()
1668 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
1700 static int gfs2_rename2(struct inode *odir, struct dentry *odentry, in gfs2_rename2() argument
1710 return gfs2_exchange(odir, odentry, ndir, ndentry, flags); in gfs2_rename2()
1712 return gfs2_rename(odir, odentry, ndir, ndentry); in gfs2_rename2()