Home
last modified time | relevance | path

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

/system/memory/lmkd/
Dstatslog.cpp56 #define PIDHASH_SZ 1024 macro
58 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1))
174 pidhash = static_cast<struct proc**>(calloc(PIDHASH_SZ, sizeof(*pidhash))); in proc_insert()
233 for (i = 0; i < PIDHASH_SZ; i++) { in stats_purge_tasknames()
241 memset(pidhash, 0, PIDHASH_SZ * sizeof(*pidhash)); in stats_purge_tasknames()
Dlmkd.cpp558 #define PIDHASH_SZ 1024 macro
559 static struct proc *pidhash[PIDHASH_SZ];
560 #define pid_hashfn(x) ((((x) >> 8) ^ (x)) & (PIDHASH_SZ - 1))
722 for (i = 0; i < PIDHASH_SZ; i++) { in remove_claims()
1332 for (i = 0; i < PIDHASH_SZ; i++) { in cmd_procpurge()