Searched refs:PIDHASH_SZ (Results 1 – 2 of 2) sorted by relevance
56 #define PIDHASH_SZ 1024 macro58 #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()
558 #define PIDHASH_SZ 1024 macro559 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()