Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dstatslog.cpp53 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro
60 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()
Dlmkd.cpp509 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1)) macro
872 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()