Home
last modified time | relevance | path

Searched refs:pid_hashfn (Results 1 – 2 of 2) sorted by relevance

/system/memory/lmkd/
Dstatslog.cpp58 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro
65 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()
Dlmkd.cpp560 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro
913 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()