Lines Matching refs:ip_strings

508 	memset(imgp->ip_strings, '\0', strlen(EXECUTABLE_KEY) + MAXPATHLEN);  in exec_save_path()
515 error = copyinstr(path, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
519 error = copystr(kpath, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
527 bcopy(EXECUTABLE_KEY, imgp->ip_strings, strlen(EXECUTABLE_KEY)); in exec_save_path()
534 *excpath = imgp->ip_strings + strlen(EXECUTABLE_KEY); in exec_save_path()
561 imgp->ip_strendp = imgp->ip_strings; in exec_reset_save_path()
2323 if (imgp->ip_strings) { in exec_activate_image()
4587 if (imgp->ip_strings) { in posix_spawn()
5180 if (imgp->ip_strings) { in __mac_execve()
5523 .start_string = imgp->ip_strings, in exec_copyout_strings()
5552 string_size = imgp->ip_strendp - imgp->ip_strings; in exec_copyout_strings()
5591 error = copyout(imgp->ip_strings, string_area, in exec_copyout_strings()
5614 user_addr_t cur_address = string_area + (cur_string - imgp->ip_strings); in exec_copyout_strings()
7237 imgp->ip_strings = (char *)(execargs_cache[i]); in execargs_alloc()
7248 kret = execargs_purgeable_allocate(&imgp->ip_strings); in execargs_alloc()
7250 kret = execargs_purgeable_reference(imgp->ip_strings); in execargs_alloc()
7259 imgp->ip_vdata = imgp->ip_strings + (NCARGS + PAGE_SIZE); in execargs_alloc()
7260 imgp->ip_strendp = imgp->ip_strings; in execargs_alloc()
7287 kret = execargs_purgeable_volatilize(imgp->ip_strings); in execargs_free()
7295 execargs_cache[i] = (vm_offset_t) imgp->ip_strings; in execargs_free()
7296 imgp->ip_strings = NULL; in execargs_free()
7301 assert(imgp->ip_strings == NULL); in execargs_free()
7330 if (path == NULL || imgp == NULL || imgp->ip_strings == NULL) { in thread_get_current_exec_path()
7334 exec_path = imgp->ip_strings + strlen(EXECUTABLE_KEY); in thread_get_current_exec_path()