Lines Matching refs:core_proc
124 process_cpu_type(proc_t core_proc)
128 if (IS_64BIT_PROCESS(core_proc)) {
140 process_cpu_subtype(proc_t core_proc)
144 if (IS_64BIT_PROCESS(core_proc)) {
201 * Parameters: core_proc Process to dump core [*]
212 coredump(proc_t core_proc)
257 audit_proc_coredump(core_proc, NULL, EFAULT);
262 if (IS_64BIT_PROCESS(core_proc)) {
270 if (mapsize >= core_proc->p_rlimit[RLIMIT_CORE].rlim_cur)
279 proc_core_name(core_proc->p_comm, kauth_cred_getuid(cred),
280 core_proc->p_pid, alloced_name, MAXPATHLEN)) {
282 "/cores/core.%d", core_proc->p_pid);
302 core_proc->p_acflag |= ACORE;
335 mh64->cputype = process_cpu_type(core_proc);
336 mh64->cpusubtype = process_cpu_subtype(core_proc);
344 mh->cputype = process_cpu_type(core_proc);
345 mh->cpusubtype = process_cpu_subtype(core_proc);
448 (IS_64BIT_PROCESS(core_proc) ? UIO_USERSPACE64 : UIO_USERSPACE32),
449 IO_NOCACHE|IO_NODELOCKED|IO_UNIT, cred, (int64_t *) 0, core_proc);
485 UIO_SYSSPACE, IO_NOCACHE|IO_NODELOCKED|IO_UNIT, cred, (int *) 0, core_proc);
491 audit_proc_coredump(core_proc, name, error);