Searched refs:PIDHASH_SZ (Results 1 – 2 of 2) sorted by relevance
45 #define PIDHASH_SZ 1024 macro47 #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()
508 #define PIDHASH_SZ 1024 macro509 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()