Searched refs:pna_path (Results 1 – 3 of 3) sorted by relevance
| /xnu-8020.101.4/bsd/kern/ |
| H A D | sys_persona.c | 103 char *pna_path = NULL; in kpersona_alloc_syscall() local 120 pna_path = zalloc_flags(ZV_NAMEI, Z_WAITOK | Z_ZERO); in kpersona_alloc_syscall() 123 error = copyinstr(path, (void *)pna_path, MAXPATHLEN, &pathlen); in kpersona_alloc_syscall() 125 zfree(ZV_NAMEI, pna_path); in kpersona_alloc_syscall() 131 persona = persona_alloc(id, login, kinfo.persona_type, pna_path, &error); in kpersona_alloc_syscall() 133 if (pna_path != NULL) { in kpersona_alloc_syscall() 134 zfree(ZV_NAMEI, pna_path); in kpersona_alloc_syscall() 140 pna_path = NULL; in kpersona_alloc_syscall() 295 if (persona->pna_path) { in kpersona_getpath_syscall() 296 error = copyoutstr((void *)persona->pna_path, path, MAXPATHLEN, &pathlen); in kpersona_getpath_syscall()
|
| H A D | kern_persona.c | 187 persona->pna_path = path; in persona_alloc() 494 if (persona->pna_path != NULL) { in persona_put() 495 zfree(ZV_NAMEI, persona->pna_path); in persona_put()
|
| /xnu-8020.101.4/bsd/sys/ |
| H A D | persona.h | 281 char *pna_path; member
|