Lines Matching defs:realpath
111 static int vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx);
272 char * realpath;
275 MALLOC_ZONE(realpath, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
276 if (realpath) {
283 if ((realpath_err= vfs_getrealpath(&cnp->cn_pnbuf[6], realpath, MAXPATHLEN, ctx))) {
284 FREE_ZONE(realpath, MAXPATHLEN, M_NAMEI);
293 cnp->cn_pnbuf = realpath;
295 ndp->ni_pathlen = strlen(realpath) + 1;
1662 vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx)
1706 realpath[0] = '\0';
1709 error = build_path(vp, realpath, bufsize, &length, 0, ctx);
1713 int attempt = strlcat(realpath, str, MAXPATHLEN);