Searched refs:prevp (Results 1 – 2 of 2) sorted by relevance
227 struct proc* prevp; in stats_remove_taskname() local229 for (procp = pidhash[hval], prevp = NULL; procp && procp->pid != pid; in stats_remove_taskname()231 prevp = procp; in stats_remove_taskname()236 if (!prevp) in stats_remove_taskname()239 prevp->pidhash_next = procp->pidhash_next; in stats_remove_taskname()
873 struct proc *prevp; in pid_remove() local875 for (procp = pidhash[hval], prevp = NULL; procp && procp->pid != pid; in pid_remove()877 prevp = procp; in pid_remove()882 if (!prevp) in pid_remove()885 prevp->pidhash_next = procp->pidhash_next; in pid_remove()