Lines Matching refs:reinit
45 #define REINIT(v) ((v) & 0x1) /* if odd reinit is active */
212 static volatile uint32_t reinit = 0;
851 /* reinit is now an atomic counter */
853 (void) atomic_inc_uint(&reinit);
856 (void) atomic_inc_uint(&reinit);
1151 /* reinit is now an atomic counter */
1152 (void) atomic_inc_uint(&reinit);
1155 (void) atomic_inc_uint(&reinit);
1221 reinit = 0;
1582 /* load the value of reinit() before changing the free mask */
1583 old_reinit = reinit;
1596 if (REINIT(old_reinit) || old_reinit != reinit) {
1604 * could have been, the reinit thread may be in the middle
1607 * If reinit is odd then we are in reinit_cpu_list
1608 * If reinit is even then we are NOT in reinit_cpu_list
1609 * If reinit is zero then we were never in reinit_cpu_list
1613 * reinit thread is guaranteed to not be touching it. The
1619 * 1. The reinit thread has not yet processed our percpu, or
1620 * 2. the reinit thread has already processed our percpu.
1627 if (REINIT(old_reinit) || old_reinit != reinit) {
1656 * or if reinit was odd and we were not using locks
1733 if (REINIT(reinit) && (debugopt & MTDEBUGPATTERN))