Searched refs:prevp (Results 1 – 2 of 2) sorted by relevance
189 struct proc* prevp; in stats_remove_taskname() local191 for (procp = pidhash[hval], prevp = NULL; procp && procp->pid != pid; in stats_remove_taskname()193 prevp = procp; in stats_remove_taskname()198 if (!prevp) in stats_remove_taskname()201 prevp->pidhash_next = procp->pidhash_next; in stats_remove_taskname()
970 struct proc *prevp; in pid_remove() local972 for (procp = pidhash[hval], prevp = NULL; procp && procp->pid != pid; in pid_remove()974 prevp = procp; in pid_remove()979 if (!prevp) in pid_remove()982 prevp->pidhash_next = procp->pidhash_next; in pid_remove()