Searched refs:pid_hashfn (Results 1 – 2 of 2) sorted by relevance
53 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro60 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; procp = procp->pidhash_next) in pid_lookup()170 int hval = pid_hashfn(procp->pid); in proc_insert()180 int hval = pid_hashfn(pid); in stats_remove_taskname()
509 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro872 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; in pid_lookup()913 int hval = pid_hashfn(procp->pid); in proc_insert()921 int hval = pid_hashfn(pid); in pid_remove()