Lines Matching refs:phash
57 LIST_HEAD(phhead, phash);
59 struct phash { struct
60 LIST_ENTRY(phash) le;
82 static struct phhead phash[PHASH_SIZE]; argument
841 struct phash *ph; in add_proc()
851 ph = emalloc(sizeof(struct phash)); in add_proc()
854 LIST_INSERT_HEAD(&phash[pid % PHASH_SIZE], ph, le); in add_proc()
885 struct phash *ph, *tph; in clear_procs()
890 LIST_FOREACH_SAFE(ph, &phash[i], le, tph) in clear_procs()
907 struct phash *ph; in find_proc()
909 LIST_FOREACH(ph, &phash[pid % PHASH_SIZE], le) in find_proc()