Searched refs:pna_path (Results 1 – 3 of 3) sorted by relevance
| /xnu-10002.41.9/bsd/kern/ |
| H A D | sys_persona.c | 131 char *pna_path = NULL; in kpersona_alloc_syscall() local 148 pna_path = zalloc_flags(ZV_NAMEI, Z_WAITOK | Z_ZERO); in kpersona_alloc_syscall() 151 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall() 153 zfree(ZV_NAMEI, pna_path); in kpersona_alloc_syscall() 159 persona = persona_alloc(id, login, kinfo.persona_type, pna_path, kinfo.persona_uid, &error); in kpersona_alloc_syscall() 161 if (pna_path != NULL) { in kpersona_alloc_syscall() 162 zfree(ZV_NAMEI, pna_path); in kpersona_alloc_syscall() 168 pna_path = NULL; in kpersona_alloc_syscall() 297 if (persona->pna_path) { in kpersona_getpath_syscall() 298 error = copyoutstr((void *)persona->pna_path, path, MAXPATHLEN, &pathlen); in kpersona_getpath_syscall()
|
| H A D | kern_persona.c | 133 persona->pna_path = path; in persona_alloc() 345 if (persona->pna_path != NULL) { in persona_put_and_unlock() 346 zfree(ZV_NAMEI, persona->pna_path); in persona_put_and_unlock()
|
| /xnu-10002.41.9/bsd/sys/ |
| H A D | persona.h | 286 char *pna_path; member
|