Lines Matching refs:odip
1399 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_rename() local
1428 if (odip != ndip) { in gfs2_rename()
1444 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_rename()
1445 if (odip != ndip) { in gfs2_rename()
1490 error = gfs2_unlink_ok(odip, &odentry->d_name, ip); in gfs2_rename()
1535 if (odip != ndip) { in gfs2_rename()
1597 error = gfs2_dir_del(odip, odentry); in gfs2_rename()
1646 struct gfs2_inode *odip = GFS2_I(odir); in gfs2_exchange() local
1663 if (odip != ndip) { in gfs2_exchange()
1678 error = gfs2_ok_to_move(nip, odip); in gfs2_exchange()
1685 gfs2_holder_init(odip->i_gl, LM_ST_EXCLUSIVE, GL_ASYNC, ghs); in gfs2_exchange()
1686 if (odip != ndip) { in gfs2_exchange()
1711 error = gfs2_unlink_ok(odip, &odentry->d_name, oip); in gfs2_exchange()
1738 error = update_moved_ino(nip, odip, S_ISDIR(new_mode)); in gfs2_exchange()
1747 error = gfs2_dir_mvino(odip, &odentry->d_name, nip, in gfs2_exchange()
1752 if (odip != ndip) { in gfs2_exchange()
1754 inc_nlink(&odip->i_inode); in gfs2_exchange()
1758 drop_nlink(&odip->i_inode); in gfs2_exchange()
1762 if (odip != ndip) in gfs2_exchange()
1763 mark_inode_dirty(&odip->i_inode); in gfs2_exchange()