Searched refs:ISLASTCN (Results 1 – 14 of 14) sorted by relevance
195 if ((cnp->cn_flags & LOCKPARENT) && (cnp->cn_flags & ISLASTCN))349 cnp->cn_flags |= ISLASTCN;406 cnp->cn_flags |= ISLASTCN;409 cnp->cn_flags &= ~ISLASTCN;508 cnp->cn_flags |= ISLASTCN;556 if (!(cnp->cn_flags & ISLASTCN)) {591 if ((cnp->cn_flags & LOCKPARENT) && (cnp->cn_flags & ISLASTCN) &&727 if ((cnp->cn_flags & LOCKPARENT) && (cnp->cn_flags & ISLASTCN))
146 (cnp->cn_flags & ISLASTCN) == 0) { in cache_lookup()179 if (!error && (~cnp->cn_flags & (LOCKPARENT|ISLASTCN)) == 0) { in cache_lookup()192 if (error || (~cnp->cn_flags & (LOCKPARENT|ISLASTCN)) != 0) { in cache_lookup()214 (~cnp->cn_flags & (LOCKPARENT|ISLASTCN)) != 0) { in cache_lookup()
67 # if both ISLASTCN and LOCKPARENT are set in cnp->cn_flags then
149 if ((flags & ISLASTCN) && (vdp->v_mount->mnt_flag & MNT_RDONLY) &&352 if ((flags & ISLASTCN) && nameiop == LOOKUP)390 if (lockparent && (flags & ISLASTCN)) {408 if (!lockparent || !(flags & ISLASTCN)) {
308 if ((flags & ISLASTCN) && (vdp->v_mount->mnt_flag & MNT_RDONLY) &&331 (flags & ISLASTCN)) {482 (flags & ISLASTCN) && dp->i_e2fs_nlink != 0) {565 if ((flags & ISLASTCN) && nameiop == LOOKUP)575 if (nameiop == DELETE && (flags & ISLASTCN)) {626 (flags & ISLASTCN)) {674 if (lockparent && (flags & ISLASTCN)) {688 if (!lockparent || !(flags & ISLASTCN)) {
159 if ((flags & ISLASTCN) && (vdp->v_mount->mnt_flag & MNT_RDONLY) &&182 (flags & ISLASTCN)) {384 (flags & ISLASTCN) && dp->i_effnlink != 0) {465 if ((flags & ISLASTCN) && nameiop == LOOKUP)475 if (nameiop == DELETE && (flags & ISLASTCN)) {528 (flags & ISLASTCN)) {579 if (lockparent && (flags & ISLASTCN)) {594 if (!lockparent || !(flags & ISLASTCN)) {
197 (flags & ISLASTCN))362 (flags & ISLASTCN) && dp->de_refcnt != 0) {456 if (nameiop == DELETE && (flags & ISLASTCN)) {496 (flags & ISLASTCN)) {548 if (lockparent && (flags & ISLASTCN)) {563 if (!lockparent || !(flags & ISLASTCN)) {
133 #define ISLASTCN 0x008000 /* this is last component of pathname */ macro
659 if ((flags & ISLASTCN) && (dvp->v_mount->mnt_flag & MNT_RDONLY) &&723 if (cnp->cn_nameiop != LOOKUP && (flags & ISLASTCN))725 if ((!lockparent || !(flags & ISLASTCN)) &&758 if (cnp->cn_nameiop == RENAME && wantparent && (flags & ISLASTCN)) {817 if (lockparent && (flags & ISLASTCN)) {838 if (!lockparent || !(flags & ISLASTCN)) {843 if (cnp->cn_nameiop != LOOKUP && (flags & ISLASTCN))846 (cnp->cn_nameiop != DELETE || !(flags & ISLASTCN))) {872 (flags & ISLASTCN) && error == ENOENT) {878 if (cnp->cn_nameiop != LOOKUP && (flags & ISLASTCN))
779 if ((cnp->cn_flags & ISLASTCN) &&828 if (lockparent && (cnp->cn_flags & ISLASTCN)) {850 if(!lockparent || (cnp->cn_flags & ISLASTCN) == 0) {
337 if (((~cnp->cn_flags & (ISLASTCN | LOCKPARENT)) == 0) &&379 if (((~cnp->cn_flags) & (ISLASTCN | LOCKPARENT)) != 0) {
159 cn.cn_flags = ISLASTCN | ISDOTDOT | RDONLY;
767 wantpunlock = (~cnp->cn_flags & (LOCKPARENT | ISLASTCN));
513 wantpunlock = (~cnp->cn_flags & (LOCKPARENT | ISLASTCN));