Lines Matching defs:retbuf
2260 * Result is returned in retbuf, it must not be freed, similar to vn_fullpath()
2267 proc_get_binpath(struct proc *p, char *binname, char **retbuf,
2281 *retbuf = "";
2298 retbuf, freebuf, &freepath_size) == 0) {
2304 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, *retbuf);
2317 error = vn_fullpath(vp, retbuf, freebuf);
2335 char *retbuf, *freebuf, *binname;
2351 error = proc_get_binpath(p, binname, &retbuf, &freebuf);
2355 error = SYSCTL_OUT(req, retbuf, strlen(retbuf) + 1);