Lines Matching defs:ni_pathlen
4291 size_t ni_pathlen;
4298 size_t ni_pathlen;
4304 size_t ni_pathlen;
4376 fpl->snd_outer.ni_pathlen = fpl->ndp->ni_pathlen;
4386 fpl->snd.ni_pathlen = fpl->debug.ni_pathlen;
4396 fpl->debug.ni_pathlen = fpl->snd.ni_pathlen;
4410 fpl->ndp->ni_pathlen = fpl->snd_outer.ni_pathlen;
4762 ndp->ni_pathlen = fpl->nulchar - cnp->cn_nameptr + 1;
4764 if (ndp->ni_pathlen != fpl->debug.ni_pathlen) {
4766 __func__, ndp->ni_pathlen, fpl->debug.ni_pathlen, fpl->nulchar,
5516 ndp->ni_pathlen = fpl->nulchar - cnp->cn_nameptr - cnp->cn_namelen + 1;
5518 if (ndp->ni_pathlen != fpl->debug.ni_pathlen) {
5520 __func__, ndp->ni_pathlen, fpl->debug.ni_pathlen, fpl->nulchar,
5525 if (__predict_false(len + ndp->ni_pathlen > MAXPATHLEN)) {
5534 if (ndp->ni_pathlen > 1) {
5535 bcopy(ndp->ni_next, cnp->cn_pnbuf + len, ndp->ni_pathlen);
5547 ndp->ni_pathlen += adjust;
5550 fpl->nulchar = &cnp->cn_nameptr[ndp->ni_pathlen - 1];
5848 * Debug ni_pathlen tracking.
5855 fpl->debug.ni_pathlen += n;
5856 KASSERT(fpl->debug.ni_pathlen <= PATH_MAX,
5857 ("%s: pathlen overflow to %zd\n", __func__, fpl->debug.ni_pathlen));
5864 fpl->debug.ni_pathlen -= n;
5865 KASSERT(fpl->debug.ni_pathlen <= PATH_MAX,
5866 ("%s: pathlen underflow to %zd\n", __func__, fpl->debug.ni_pathlen));
5926 MPASS(&cnp->cn_nameptr[fpl->debug.ni_pathlen - 1] >= cnp->cn_pnbuf);
5927 KASSERT(&cnp->cn_nameptr[fpl->debug.ni_pathlen - 1] == fpl->nulchar,
5929 __func__, fpl->debug.ni_pathlen, &cnp->cn_nameptr[fpl->debug.ni_pathlen - 1],
6054 size_t ni_pathlen;
6131 ni_pathlen = fpl->nulchar - cnp->cn_nameptr + 1;
6132 if (ni_pathlen != fpl->debug.ni_pathlen) {
6134 __func__, ni_pathlen, fpl->debug.ni_pathlen, fpl->nulchar,
6485 fpl.debug.ni_pathlen = ndp->ni_pathlen;
6487 fpl.nulchar = &cnp->cn_nameptr[ndp->ni_pathlen - 1];