Home
last modified time | relevance | path

Searched refs:cn_rpbuf (Results 1 – 3 of 3) sorted by relevance

/openbsd/src/sys/kern/
Dvfs_lookup.c65 cnp->cn_rpbuf[cnp->cn_rpi++] = '/'; in component_push()
66 memcpy(cnp->cn_rpbuf + cnp->cn_rpi, component, len); in component_push()
68 cnp->cn_rpbuf[cnp->cn_rpi] = '\0'; in component_push()
75 while(cnp->cn_rpi && cnp->cn_rpbuf[cnp->cn_rpi] != '/' ) in component_pop()
77 if (cnp->cn_rpi == 0 && cnp->cn_rpbuf[0] == '/') in component_pop()
79 cnp->cn_rpbuf[cnp->cn_rpi] = '\0'; in component_pop()
214 cnp->cn_rpbuf[0] = '/'; in namei()
215 cnp->cn_rpbuf[1] = '\0'; in namei()
330 cnp->cn_rpbuf[0] = '/'; in namei()
331 cnp->cn_rpbuf[1] = '\0'; in namei()
Dvfs_syscalls.c917 nd.ni_cnd.cn_rpbuf = rpbuf; in sys___realpath()
929 error = copyoutstr(nd.ni_cnd.cn_rpbuf, SCARG(uap, resolved), in sys___realpath()
934 ktrnamei(p, nd.ni_cnd.cn_rpbuf); in sys___realpath()
/openbsd/src/sys/sys/
Dnamei.h96 char *cn_rpbuf; /* realpath buffer */ member