Lines Matching defs:tcp
2288 struct cnode *tcp;
2330 * tvp/tcp (NULLing these out is fine because the vfs syscall
2333 tcp = NULL;
2344 tcp = tvp ? VTOC(tvp) : NULL;
2353 if (tcp && ((tcp->c_flag & (C_NOEXISTS | C_DELETED)) || !hfs_valid_cnode(hfsmp, tdvp, tcnp, tcp->c_fileid))) {
2364 hfs_unlockfour(fdcp, fcp, tdcp, tcp);
2366 tcp = NULL;
2435 if (tvp && vnode_isdir(tvp) && (tcp->c_entries != 0) && fvp != tvp) {
2474 (hfs_owner_rights(hfsmp, tcp->c_uid, vfs_context_ucred(tcnp->cn_context), p, false)) ) {
2481 (void)hfs_getinoquota(tcp);
2602 if (tcp){
2603 rvp = tcp->c_rsrc_vp;
2614 if ((error == 0) && (tcp->c_flag & C_DELETED) && rvp && !vnode_isinuse(rvp, 0)) {
2731 hfs_unlockfour(fdcp, fcp, tdcp, tcp);