Lines Matching refs:level
109 message((-5, "pathreal: -- %s level=%d links=%d", path, state.path.level, state.path.nlinks));
141 state.path.level = state.path.synthesize = state.path.nlinks = 0;
150 if (!st || (!state.level || *path == '/') && !LSTAT(path, st))
152 if (state.level && streq(path, ".") && !CHDIR(state.pwd))
154 state.level = 0;
193 if (state.level > 0 && state.pwd && ((type & (P_PATHONLY|P_TOP)) && *sp != '/' || *sp == '.' && sp[1] == 0))
196 state.level = 0;
200 state.path.level += (state.path.synthesize = state.level);
284 if (*ip != 0 || *sp && *sp != '/' || state.level < 0)
288 state.path.level += (state.path.synthesize = state.level);
289 if (state.level && !(type & P_PATHONLY) && st == &stbuf)
316 state.path.level = 0;
349 if ((type & P_SAFE) && state.path.level)
367 if (state.level > 0)
452 if ((type & P_TOP) && state.path.level)
483 IVIEW(st, state.path.level);
486 if (state.path.level < state.level)
495 state.level = state.path.level;
496 message((-1, "chdir=%s level=%d", state.path.name, state.level));
528 state.path.level = 0;