Lines Matching refs:tip

649 	struct inode *tip;	/* inode of (existing) target file */
725 * Search for the entry. Return VN_HELD tip if found.
727 tip = NULL;
732 err = ufs_dircheckforname(tdp, namep, namlen, &slot, &tip, cr, noentry);
735 if (tip) {
737 *ipp = tip;
815 struct inode *tip; /* inode of (existing) target file */
915 * Search for the entry. Return VN_HELD tip if found.
917 tip = NULL;
922 err = ufs_dircheckforname(tdp, namep, namlen, &slot, &tip, cr, 0);
926 if (tip) {
930 tip, &slot, cr);
961 * Drop vfs_dqrwlock before calling VN_RELE() on tip to
971 if (tip)
972 VN_RELE(ITOV(tip));
1446 * sip instead of tip.
1454 struct inode *tip, /* target inode */
1469 if (sip->i_number == tip->i_number) {
1479 rw_enter(&tip->i_contents, RW_WRITER);
1482 * drop tip and wait (sleep) until we stand a chance
1485 rw_exit(&tip->i_contents);
1491 if (!rw_tryenter(&tip->i_contents, RW_WRITER)) {
1501 if ((ITOV(tip)->v_vfsp != ITOV(tdp)->v_vfsp) ||
1502 (ITOV(tip)->v_vfsp != ITOV(sip)->v_vfsp)) {
1511 (err = ufs_sticky_remove_access(tdp, tip, cr)) != 0)
1523 if (((tip->i_mode & IFMT) == IFDIR) ||
1524 ((tip->i_mode & IFMT) == IFATTRDIR)) {
1533 if (vn_vfsrlock(ITOV(tip))) {
1537 if (vn_mountedvfs(ITOV(tip)) != NULL) {
1538 vn_vfsunlock(ITOV(tip));
1542 if (!ufs_dirempty(tip, tdp->i_number, cr) || tip->i_nlink > 2) {
1543 vn_vfsunlock(ITOV(tip));
1580 vn_vfsunlock(ITOV(tip));
1594 tip->i_nlink--;
1595 TRANS_INODE(tip->i_ufsvfs, tip);
1596 tip->i_flag |= ICHG;
1597 tip->i_seq++;
1598 ITIMES_NOLOCK(tip);
1601 * The entry for tip no longer exists so I can unlock the
1604 vn_vfsunlock(ITOV(tip));
1608 if (--tip->i_nlink != 0) {
1609 err = ufs_fault(ITOV(tip),
1611 tip->i_fs->fs_fsmnt);
1612 rw_exit(&tip->i_contents);
1615 TRANS_INODE(tip->i_ufsvfs, tip);
1616 ufs_setreclaim(tip);
1637 rw_exit(&tip->i_contents);
1643 ufs_setreclaim(tip);
1645 rw_exit(&tip->i_contents);
2973 struct inode *tip;
3036 if (err = ufs_iget_alloced(vfs, dotdotino, &tip, cr)) {
3049 if (tip == sdp) {
3050 VN_RELE(ITOV(tip));
3054 ip = tip;