Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dstatslog.cpp45 #define PIDHASH_SZ 1024 macro
47 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1))
212 pidhash = static_cast<struct proc**>(calloc(PIDHASH_SZ, sizeof(*pidhash))); in proc_insert()
271 for (i = 0; i < PIDHASH_SZ; i++) { in stats_purge_tasknames()
279 memset(pidhash, 0, PIDHASH_SZ * sizeof(*pidhash)); in stats_purge_tasknames()
Dlmkd.cpp508 #define PIDHASH_SZ 1024 macro
509 static struct proc *pidhash[PIDHASH_SZ];
510 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1))
666 for (i = 0; i < PIDHASH_SZ; i++) { in remove_claims()
1209 for (i = 0; i < PIDHASH_SZ; i++) { in cmd_procpurge()