Lines Matching refs:phash
60 LIST_HEAD(phhead, phash);
62 struct phash { struct
63 LIST_ENTRY(phash) le;
85 static struct phhead phash[PHASH_SIZE]; argument
795 struct phash *ph; in add_proc()
805 ph = emalloc(sizeof(struct phash)); in add_proc()
808 LIST_INSERT_HEAD(&phash[pid % PHASH_SIZE], ph, le); in add_proc()
839 struct phash *ph, *tph; in clear_procs()
844 LIST_FOREACH_SAFE(ph, &phash[i], le, tph) in clear_procs()
861 struct phash *ph; in find_proc()
863 LIST_FOREACH(ph, &phash[pid % PHASH_SIZE], le) in find_proc()