Lines Matching refs:bit
45 int bit = 0; in notif_alloc_async_value() local
63 bit_ffc(nvb->alloc_values, (int)NOTIF_ASYNC_VALUE_MAX + 1, &bit); in notif_alloc_async_value()
64 if (bit < 0) { in notif_alloc_async_value()
68 *val = bit; in notif_alloc_async_value()
69 bit_set(nvb->alloc_values, bit); in notif_alloc_async_value()
107 int bit = -1; in notif_get_value() local
118 bit_ffs(nvb->values, (int)NOTIF_ASYNC_VALUE_MAX + 1, &bit); in notif_get_value()
119 *value_valid = (bit >= 0); in notif_get_value()
123 res = bit; in notif_get_value()
125 bit_ffs(nvb->values, (int)NOTIF_ASYNC_VALUE_MAX + 1, &bit); in notif_get_value()
131 *value_pending = (bit >= 0); in notif_get_value()