Home
last modified time | relevance | path

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

/openbsd/sys/kern/
H A Dsubr_pool.c137 #define POOL_IMAGIC(ph, pi) ((u_long)(pi) ^ (ph)->ph_magic)
150 unsigned long ph_magic; member
154 #define POOL_PHPOISON(ph) ISSET((ph)->ph_magic, POOL_MAGICBIT)
943 arc4random_buf(&ph->ph_magic, sizeof(ph->ph_magic)); in pool_p_alloc()
947 SET(ph->ph_magic, POOL_MAGICBIT); in pool_p_alloc()
949 CLR(ph->ph_magic, POOL_MAGICBIT); in pool_p_alloc()