Lines Matching refs:proc
122 * proc - Descriptor for the process to check.
128 procdesc_is_forked(const ProcDesc* proc)
130 return proc->parent_pid != 0;
135 * proc - Descriptor for the process to check.
140 procdesc_is_executing(const ProcDesc* proc)
142 return (proc->flags & PROC_FLAG_EXECUTING) != 0;
147 * proc - Descriptor for the process to check.
152 procdesc_is_exiting(const ProcDesc* proc)
154 return (proc->flags & PROC_FLAG_EXITING) != 0;
159 * proc - Descriptor for the process to check.
164 procdesc_is_libc_initialized(const ProcDesc* proc)
166 return (proc->flags & PROC_FLAG_LIBC_INITIALIZED) != 0;
171 * proc - Descriptor for the process to check.
177 procdesc_is_image_path_replaced(const ProcDesc* proc)
179 return (proc->flags & PROC_FLAG_IMAGE_PATH_REPLACED) != 0;
216 * proc - Process descriptor where to add new allocation entry info.
219 procdesc_add_malloc(ProcDesc* proc,
223 return allocmap_insert(&proc->alloc_map, desc, replaced);
231 * proc - Process descriptor where to find an allocation entry.
234 procdesc_find_malloc_for_range(ProcDesc* proc,
238 return allocmap_find(&proc->alloc_map, address, block_size);
246 * proc - Process descriptor where to find an allocation entry.
249 procdesc_find_malloc(ProcDesc* proc, target_ulong address)
251 return procdesc_find_malloc_for_range(proc, address, 1);
259 * proc - Process descriptor where to pull an allocation entry from.
262 procdesc_pull_malloc(ProcDesc* proc, target_ulong address, MallocDescEx* pulled)
264 return allocmap_pull(&proc->alloc_map, address, pulled);
269 * proc - Process to empty allocation map for.
274 procdesc_empty_alloc_map(ProcDesc* proc)
276 return allocmap_empty(&proc->alloc_map);
281 * proc - Descriptor of the process where to look for an entry.
288 procdesc_find_mapentry(const ProcDesc* proc, target_ulong addr)
290 return mmrangemap_find(&proc->mmrange_map, addr, addr + 1);
295 * proc - Descriptor of the process where to look for a module.
302 procdesc_get_range_desc(const ProcDesc* proc, target_ulong addr)
304 return procdesc_find_mapentry(proc, addr);
310 * proc - Descriptor of the process where to look for a module.
317 procdesc_get_module_path(const ProcDesc* proc, target_ulong addr)
319 MMRangeDesc* rdesc = procdesc_find_mapentry(proc, addr);