Lines Matching defs:before
147 unsigned int before, after;
148 before = xp_acquired;
149 if (before & XP_ACQ_EXCL)
151 if (before & (1 << xplx_devid))
153 after = before | (1 << xplx_devid) | excl;
154 if (atomic_cas_uint(&xp_acquired, before, after) == before) {
166 unsigned int before, after;
167 before = xp_acquired;
168 after = before & ~(1 << xplx_devid) & ~XP_ACQ_EXCL;
169 if (atomic_cas_uint(&xp_acquired, before, after) == before) {