Lines Matching refs:pn_buf
77 pnp->pn_path = pnp->pn_buf = kmem_alloc(MAXPATHLEN, KM_SLEEP); in pn_alloc()
89 kmem_free(pnp->pn_buf, pnp->pn_bufsize); in pn_free()
90 pnp->pn_path = pnp->pn_buf = NULL; in pn_free()
106 pnp->pn_path = pnp->pn_buf = buf; in pn_get_buf()
144 pnp->pn_path = pnp->pn_buf; in pn_set()
172 ovbcopy(pnp->pn_path, pnp->pn_buf + sympnp->pn_pathlen, in pn_insert()
174 bcopy(sympnp->pn_path, pnp->pn_buf, sympnp->pn_pathlen); in pn_insert()
176 pnp->pn_buf[pnp->pn_pathlen] = '\0'; in pn_insert()
177 pnp->pn_path = pnp->pn_buf; in pn_insert()
182 if ((pnp->pn_path - pnp->pn_buf) - complen + in pn_insert()
204 aiov.iov_base = pnp->pn_path = pnp->pn_buf; in pn_getsymlink()
277 char *buf = pnp->pn_buf; in pn_setlast()
320 pnp->pn_buf + pnp->pn_bufsize) { in pn_addslash()
327 ovbcopy(pnp->pn_path, pnp->pn_buf, pnp->pn_pathlen); in pn_addslash()
328 pnp->pn_path = pnp->pn_buf; in pn_addslash()