Home | History | Annotate | Download | only in kern

Lines Matching refs:cn_flags

491 	KASSERTMSG(((state->cnp->cn_flags & OPMASK) == 0),
493 state->cnp->cn_flags);
548 if (cwdi->cwdi_rdir == NULL || (cnp->cn_flags & NOCHROOT)) {
555 if ((cnp->cn_flags & TRYEMULROOT) == 0) {
558 } else if (cnp->cn_flags & EMULROOTSET) {
579 } else if (cnp->cn_flags & TRYEMULROOT && erootdir != NULL) {
654 if (cnp->cn_flags & EMULROOTSET)
721 (state->cnp->cn_flags & (FOLLOW|REQUIREDIR));
887 cnp->cn_flags |= REQUIREDIR;
890 cnp->cn_flags &= ~REQUIREDIR;
898 cnp->cn_flags |= MAKEENTRY;
900 cnp->cn_flags &= ~MAKEENTRY;
901 cnp->cn_flags |= ISLASTCN;
903 cnp->cn_flags |= MAKEENTRY;
904 cnp->cn_flags &= ~ISLASTCN;
908 cnp->cn_flags |= ISDOTDOT;
910 cnp->cn_flags &= ~ISDOTDOT;
935 KASSERT((cnp->cn_flags & NOCROSSMOUNT) == 0);
953 (cnp->cn_flags & NOCROSSMOUNT) == 0) {
1047 (cnp->cn_nameiop == LOOKUP || (cnp->cn_flags & ISLASTCN) == 0)) {
1099 if (cnp->cn_flags & ISDOTDOT) {
1108 if (cnp->cn_flags & LOCKPARENT) {
1142 (cnp->cn_flags & NOCROSSMOUNT))
1210 if ((cnp->cn_flags & (REQUIREDIR | CREATEDIR)) == REQUIREDIR) {
1241 if ((cnp->cn_flags & (ISLASTCN | LOCKPARENT)) !=
1308 if ((cnp->cn_flags & ISDOTDOT) != 0) {
1310 (cnp->cn_flags & NOCROSSMOUNT)) {
1326 if ((cnp->cn_flags & ISLASTCN) != 0) {
1328 (cnp->cn_flags & LOCKPARENT) != 0) {
1359 terminal = ((cnp->cn_flags & ISLASTCN) != 0);
1375 (cnp->cn_flags & ISLASTCN) != 0);
1389 (cnp->cn_flags & NOCROSSMOUNT) == 0 &&
1410 if ((cnp->cn_flags & ISLASTCN) != 0) {
1518 state->docache = (cnp->cn_flags & NOCACHE) ^ NOCACHE;
1521 state->rdonly = cnp->cn_flags & RDONLY;
1537 cnp->cn_flags |= ISLASTCN;
1573 (cnp->cn_flags & NOCROSSMOUNT) == 0) {
1612 (cnp->cn_flags & ISLASTCN) != 0);
1689 cnp->cn_flags |= ISLASTCN;
1703 (cnp->cn_flags & REQUIREDIR)) {
1725 if (cnp->cn_flags & ISLASTCN) {
1745 KASSERT((cnp->cn_flags & LOCKPARENT) == 0 || searchdir == NULL ||
1803 (cnp->cn_flags & NONEXCLHACK) == 0) {
1855 if ((cnp->cn_flags & (LOCKLEAF | LOCKPARENT)) == LOCKPARENT &&
1871 } else if ((cnp->cn_flags & LOCKLEAF) != 0 &&
1873 (cnp->cn_flags & LOCKPARENT) == 0)) {
1874 const int lktype = (cnp->cn_flags & LOCKSHARED) != 0 ?
1887 if ((cnp->cn_flags & LOCKPARENT) == 0 && searchdir != NULL) {
1912 if (cnp->cn_flags & TRYEMULROOT) {
1928 cnp->cn_flags &= ~TRYEMULROOT;
2038 state->rdonly = cnp->cn_flags & RDONLY;
2051 cnp->cn_flags &= ~REQUIREDIR;
2052 cnp->cn_flags |= MAKEENTRY|ISLASTCN;
2056 cnp->cn_flags |= ISDOTDOT;
2058 cnp->cn_flags &= ~ISDOTDOT;
2068 KASSERT((cnp->cn_flags & LOCKPARENT) == 0);
2082 (cnp->cn_flags & NOCROSSMOUNT) == 0) {
2092 else if (foundobj != NULL && (cnp->cn_flags & LOCKLEAF) != 0)
2159 rdonly = cnp->cn_flags & RDONLY;
2198 if (cnp->cn_flags & ISDOTDOT)
2218 (cnp->cn_flags & FOLLOW) == 0),