Lines Matching defs:realpath
111 static int vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx);
291 char * realpath;
294 MALLOC_ZONE(realpath, caddr_t, MAXPATHLEN, M_NAMEI, M_WAITOK);
295 if (realpath) {
302 if ((realpath_err= vfs_getrealpath(&cnp->cn_pnbuf[6], realpath, MAXPATHLEN, ctx))) {
303 FREE_ZONE(realpath, MAXPATHLEN, M_NAMEI);
312 cnp->cn_pnbuf = realpath;
314 ndp->ni_pathlen = strlen(realpath) + 1;
1780 vfs_getrealpath(const char * path, char * realpath, size_t bufsize, vfs_context_t ctx)
1824 realpath[0] = '\0';
1827 error = build_path(vp, realpath, bufsize, &length, 0, ctx);
1831 int attempt = strlcat(realpath, str, MAXPATHLEN);