Lines Matching refs:odip
1401 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_rename() local
1430 if (odip != ndip) { in gfs2_rename()
1446 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename()
1447 if (odip != ndip) { in gfs2_rename()
1492 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1537 if (odip != ndip) { in gfs2_rename()
1599 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1648 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_exchange() local
1665 if (odip != ndip) { in gfs2_exchange()
1680 error = gfs2_ok_to_move(nip, odip); in gfs2_exchange()
1687 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_exchange()
1688 if (odip != ndip) { in gfs2_exchange()
1713 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1740 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1749 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
1754 if (odip != ndip) { in gfs2_exchange()
1756 inc_nlink(&odip->i_inode); in gfs2_exchange()
1760 drop_nlink(&odip->i_inode); in gfs2_exchange()
1764 if (odip != ndip) in gfs2_exchange()
1765 mark_inode_dirty(&odip->i_inode); in gfs2_exchange()