Lines Matching refs:ip_strings

498 	memset(imgp->ip_strings, '\0', strlen(EXECUTABLE_KEY) + MAXPATHLEN);  in exec_save_path()
505 error = copyinstr(path, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
509 error = copystr(kpath, imgp->ip_strings + strlen(EXECUTABLE_KEY), len, &len); in exec_save_path()
517 bcopy(EXECUTABLE_KEY, imgp->ip_strings, strlen(EXECUTABLE_KEY)); in exec_save_path()
524 *excpath = imgp->ip_strings + strlen(EXECUTABLE_KEY); in exec_save_path()
551 imgp->ip_strendp = imgp->ip_strings; in exec_reset_save_path()
2297 if (imgp->ip_strings) { in exec_activate_image()
4489 if (imgp->ip_strings) { in posix_spawn()
5065 if (imgp->ip_strings) { in __mac_execve()
5410 .start_string = imgp->ip_strings, in exec_copyout_strings()
5439 string_size = imgp->ip_strendp - imgp->ip_strings; in exec_copyout_strings()
5478 error = copyout(imgp->ip_strings, string_area, in exec_copyout_strings()
5501 user_addr_t cur_address = string_area + (cur_string - imgp->ip_strings); in exec_copyout_strings()
7109 imgp->ip_strings = (char *)(execargs_cache[i]); in execargs_alloc()
7120 kret = execargs_purgeable_allocate(&imgp->ip_strings); in execargs_alloc()
7122 kret = execargs_purgeable_reference(imgp->ip_strings); in execargs_alloc()
7131 imgp->ip_vdata = imgp->ip_strings + (NCARGS + PAGE_SIZE); in execargs_alloc()
7132 imgp->ip_strendp = imgp->ip_strings; in execargs_alloc()
7159 kret = execargs_purgeable_volatilize(imgp->ip_strings); in execargs_free()
7167 execargs_cache[i] = (vm_offset_t) imgp->ip_strings; in execargs_free()
7168 imgp->ip_strings = NULL; in execargs_free()
7173 assert(imgp->ip_strings == NULL); in execargs_free()
7202 if (path == NULL || imgp == NULL || imgp->ip_strings == NULL) { in thread_get_current_exec_path()
7206 exec_path = imgp->ip_strings + strlen(EXECUTABLE_KEY); in thread_get_current_exec_path()