Lines Matching refs:proc
116 * proc - Descriptor for the process to check.
122 procdesc_is_forked(const ProcDesc* proc)
124 return proc->parent_pid != 0;
129 * proc - Descriptor for the process to check.
134 procdesc_is_executing(const ProcDesc* proc)
136 return (proc->flags & PROC_FLAG_EXECUTING) != 0;
141 * proc - Descriptor for the process to check.
146 procdesc_is_exiting(const ProcDesc* proc)
148 return (proc->flags & PROC_FLAG_EXITING) != 0;
153 * proc - Descriptor for the process to check.
158 procdesc_is_libc_initialized(const ProcDesc* proc)
160 return (proc->flags & PROC_FLAG_LIBC_INITIALIZED) != 0;
165 * proc - Descriptor for the process to check.
171 procdesc_is_image_path_replaced(const ProcDesc* proc)
173 return (proc->flags & PROC_FLAG_IMAGE_PATH_REPLACED) != 0;
210 * proc - Process descriptor where to add new allocation entry info.
213 procdesc_add_malloc(ProcDesc* proc,
217 return allocmap_insert(&proc->alloc_map, desc, replaced);
225 * proc - Process descriptor where to find an allocation entry.
228 procdesc_find_malloc_for_range(ProcDesc* proc,
232 return allocmap_find(&proc->alloc_map, address, block_size);
240 * proc - Process descriptor where to find an allocation entry.
243 procdesc_find_malloc(ProcDesc* proc, target_ulong address)
245 return procdesc_find_malloc_for_range(proc, address, 1);
253 * proc - Process descriptor where to pull an allocation entry from.
256 procdesc_pull_malloc(ProcDesc* proc, target_ulong address, MallocDescEx* pulled)
258 return allocmap_pull(&proc->alloc_map, address, pulled);
263 * proc - Process to empty allocation map for.
268 procdesc_empty_alloc_map(ProcDesc* proc)
270 return allocmap_empty(&proc->alloc_map);
275 * proc - Descriptor of the process where to look for an entry.
282 procdesc_find_mapentry(const ProcDesc* proc, target_ulong addr)
284 return mmrangemap_find(&proc->mmrange_map, addr, addr + 1);
289 * proc - Descriptor of the process where to look for a module.
296 procdesc_get_range_desc(const ProcDesc* proc, target_ulong addr)
298 return procdesc_find_mapentry(proc, addr);
304 * proc - Descriptor of the process where to look for a module.
311 procdesc_get_module_path(const ProcDesc* proc, target_ulong addr)
313 MMRangeDesc* rdesc = procdesc_find_mapentry(proc, addr);