Lines Matching defs:bit
95 * and setting the inuse bit. This means that the lt_entries field can be
96 * safely dereferenced if you hold either the lock or the inuse bit. The
97 * inuse bit exists solely to allow us to swap in a new, larger entries
99 * Accordingly, the inuse bit should never be held for longer than it takes
168 static uint32_t flag_set(volatile uint32_t *flags, uint32_t bit);
169 static uint32_t flag_clear(volatile uint32_t *flags, uint32_t bit);
377 /* make entry inactive by removing active bit */
399 flag_set(volatile uint32_t *flags, uint32_t bit)
401 return (OSBitOrAtomic(bit, flags));
405 flag_clear(volatile uint32_t *flags, uint32_t bit)
407 return (OSBitAndAtomic(~bit, flags));