Lines Matching refs:phash
58 LIST_HEAD(phhead, phash);
60 struct phash { struct
61 LIST_ENTRY(phash) le;
83 static struct phhead phash[PHASH_SIZE]; variable
793 struct phash *ph; in add_proc()
803 ph = emalloc(sizeof(struct phash)); in add_proc()
806 LIST_INSERT_HEAD(&phash[pid % PHASH_SIZE], ph, le); in add_proc()
837 struct phash *ph, *tph; in clear_procs()
842 LIST_FOREACH_SAFE(ph, &phash[i], le, tph) in clear_procs()
859 struct phash *ph; in find_proc()
861 LIST_FOREACH(ph, &phash[pid % PHASH_SIZE], le) in find_proc()