Searched refs:pid_hashfn (Results 1 – 2 of 2) sorted by relevance
58 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro65 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; procp = procp->pidhash_next) in pid_lookup()177 int hval = pid_hashfn(procp->pid); in proc_insert()187 int hval = pid_hashfn(pid); in stats_remove_taskname()
560 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro913 for (procp = pidhash[pid_hashfn(pid)]; procp && procp->pid != pid; in pid_lookup()959 int hval = pid_hashfn(procp->pid); in proc_insert()968 int hval = pid_hashfn(pid); in pid_remove()