Lines Matching refs:MAXPATHLEN

911 					  MAXPATHLEN, M_NAMEI);
914 MAXPATHLEN, M_NAMEI);
917 MAXPATHLEN, M_NAMEI);
920 MAXPATHLEN, M_NAMEI);
1014 FREE_ZONE(nd.nd_root.ndm_mntfrom, MAXPATHLEN, M_NAMEI);
1016 FREE_ZONE(nd.nd_root.ndm_path, MAXPATHLEN, M_NAMEI);
1018 FREE_ZONE(nd.nd_private.ndm_mntfrom, MAXPATHLEN, M_NAMEI);
1020 FREE_ZONE(nd.nd_private.ndm_path, MAXPATHLEN, M_NAMEI);
1313 (void) copystr(mntname, mp->mnt_vfsstat.f_mntonname, MAXPATHLEN - 1, 0);
1314 (void) copystr(ndmntp->ndm_mntfrom, mp->mnt_vfsstat.f_mntfromname, MAXPATHLEN - 1, 0);
1471 MALLOC_ZONE(mntfrom, char*, MAXPATHLEN, M_NAMEI, M_WAITOK);
1543 error = copystr(CAST_DOWN(void *, args.hostname), mntfrom, MAXPATHLEN-1, &len);
1545 error = copyinstr(args.hostname, mntfrom, MAXPATHLEN-1, &len);
1547 bzero(&mntfrom[len], MAXPATHLEN - len);
1804 FREE_ZONE(mntfrom, MAXPATHLEN, M_NAMEI);
1971 MALLOC_ZONE(link, char *, MAXPATHLEN, M_NAMEI, M_WAITOK);
2001 else if (len >= MAXPATHLEN)
2002 len = MAXPATHLEN - 1;
2080 FREE_ZONE(link, MAXPATHLEN, M_NAMEI);
2952 if (!error && ((val < 1) || (val > MAXPATHLEN)))
2989 if (!error && (fsp->np_compcount > MAXPATHLEN))
3014 if (!error && ((val < 1) || (val > MAXPATHLEN)))
3254 int error = 0, pathbuflen = MAXPATHLEN, i, mntflags = 0, referral, skipcopy = 0;
3303 nlen = strlcpy(mntfromname, vfs_statfs(nmp->nm_mountp)->f_mntfromname, MAXPATHLEN);
3309 nlen = strlcat(mntfromname, path + strlen(vfs_statfs(nmp->nm_mountp)->f_mntonname), MAXPATHLEN);
3310 if (nlen >= MAXPATHLEN) {
3600 FREE_ZONE(path, MAXPATHLEN, M_NAMEI);
3602 FREE_ZONE(mntfromname, MAXPATHLEN, M_NAMEI);