Lines Matching refs:tip

338 	struct ud_inode *tip;  in ud_direnter()  local
384 tip = NULL; in ud_direnter()
475 namep, namlen, &slot, &tip, buf, cr)) { in ud_direnter()
478 if (tip) { in ud_direnter()
483 *ipp = tip; in ud_direnter()
486 VN_RELE(ITOV(tip)); in ud_direnter()
490 err = ud_dirrename(sdp, sip, tdp, tip, in ud_direnter()
502 VN_RELE(ITOV(tip)); in ud_direnter()
560 if (tip) { in ud_direnter()
561 vnevent_rename_dest(ITOV(tip), ITOV(tdp), in ud_direnter()
574 if (tip) { in ud_direnter()
575 VN_RELE(ITOV(tip)); in ud_direnter()
1127 struct ud_inode *ip, *tip; in ud_dircheckpath() local
1207 if (err = ud_iget(vfsp, prn, lbno, &tip, NULL, cr)) { in ud_dircheckpath()
1211 ip = tip; in ud_dircheckpath()
1441 struct ud_inode *tdp, struct ud_inode *tip, char *namep, in ud_dirrename() argument
1460 if (sip->i_icb_lbano == tip->i_icb_lbano) { in ud_dirrename()
1468 rw_enter(&tip->i_contents, RW_READER); in ud_dirrename()
1473 if ((ITOV(tip)->v_vfsp != ITOV(tdp)->v_vfsp) || in ud_dirrename()
1474 (ITOV(tip)->v_vfsp != ITOV(sip)->v_vfsp)) { in ud_dirrename()
1483 (error = ud_sticky_remove_access(tdp, tip, cr)) != 0) in ud_dirrename()
1494 if (tip->i_type == VDIR) { in ud_dirrename()
1503 if (vn_vfswlock(ITOV(tip))) { in ud_dirrename()
1507 if (vn_mountedvfs(ITOV(tip)) != NULL) { in ud_dirrename()
1508 vn_vfsunlock(ITOV(tip)); in ud_dirrename()
1512 if (!ud_dirempty(tip, tdp->i_uniqid, cr) || tip->i_nlink > 2) { in ud_dirrename()
1513 vn_vfsunlock(ITOV(tip)); in ud_dirrename()
1540 vn_vfsunlock(ITOV(tip)); in ud_dirrename()
1548 rw_exit(&tip->i_contents); in ud_dirrename()
1549 rw_enter(&tip->i_contents, RW_WRITER); in ud_dirrename()
1559 tip->i_nlink--; in ud_dirrename()
1560 mutex_enter(&tip->i_tlock); in ud_dirrename()
1561 tip->i_flag |= ICHG; in ud_dirrename()
1562 mutex_exit(&tip->i_tlock); in ud_dirrename()
1569 vn_vfsunlock(ITOV(tip)); in ud_dirrename()
1573 if (tip->i_nlink != 0) { in ud_dirrename()
1576 rw_exit(&tip->i_contents); in ud_dirrename()
1599 rw_exit(&tip->i_contents); in ud_dirrename()
1607 rw_exit(&tip->i_contents); in ud_dirrename()