Lines Matching refs:odip
1378 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_rename() local
1407 if (odip != ndip) { in gfs2_rename()
1423 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename()
1424 if (odip != ndip) { in gfs2_rename()
1469 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1514 if (odip != ndip) { in gfs2_rename()
1576 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1625 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_exchange() local
1642 if (odip != ndip) { in gfs2_exchange()
1657 error = gfs2_ok_to_move(nip, odip); in gfs2_exchange()
1664 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_exchange()
1665 if (odip != ndip) { in gfs2_exchange()
1690 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1717 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1726 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
1731 if (odip != ndip) { in gfs2_exchange()
1733 inc_nlink(&odip->i_inode); in gfs2_exchange()
1737 drop_nlink(&odip->i_inode); in gfs2_exchange()
1741 if (odip != ndip) in gfs2_exchange()
1742 mark_inode_dirty(&odip->i_inode); in gfs2_exchange()