Lines Matching refs:odentry
1351 static int gfs2_rename(struct inode *odir, struct dentry *odentry, in gfs2_rename() argument
1356 struct gfs2_inode *ip = GFS2_I(d_inode(odentry)); in gfs2_rename()
1430 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1493 error = gfs2_permission(d_inode(odentry), MAY_WRITE); in gfs2_rename()
1534 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1574 static int gfs2_exchange(struct inode *odir, struct dentry *odentry, in gfs2_exchange() argument
1580 struct gfs2_inode *oip = GFS2_I(odentry->d_inode); in gfs2_exchange()
1638 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1646 error = gfs2_permission(odentry->d_inode, MAY_WRITE); in gfs2_exchange()
1672 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
1704 static int gfs2_rename2(struct inode *odir, struct dentry *odentry, in gfs2_rename2() argument
1714 return gfs2_exchange(odir, odentry, ndir, ndentry, flags); in gfs2_rename2()
1716 return gfs2_rename(odir, odentry, ndir, ndentry); in gfs2_rename2()