Lines Matching refs:level
139 int level;
183 if (state.path.level && LSTAT(sp, &st))
205 level = state.path.level;
210 if ((oflag & O_CREAT) && (!sp || level || (oflag & O_EXCL)) || (sp || level) && ((oflag & O_TRUNC) || (oflag & O_ACCMODE) != O_RDONLY))
216 if (!level)
245 else if (state.level <= 0 || *sp == '/')
248 if (r < 0 && errno == ENOENT && (sp = pathreal(path, P_DOTDOT, NiL)) && state.path.level)
267 if (level && fd >= 0)
275 state.path.level = 0;
277 state.path.open_level = state.path.level;
306 level = state.path.level;
314 fscall(mp, MSG_open, r, state.path.name, oflag, st.st_mode, level);
317 fscall(mp, MSG_open, r, state.path.name, oflag, st.st_mode, level);