Lines Matching defs:once
215 Define a once() function depending on the availability of atomics. If this is
222 /* Definition of once functionality. */
231 /* Structure for once(), which must be initialized with ONCE_INIT. */
239 Run the provided init() function exactly once, even if multiple threads
240 invoke once() at the same time. The state must be a once_t initialized with
243 local void once(once_t *state, void (*init)(void)) {
257 /* Structure for once(), which must be initialized with ONCE_INIT. */
274 /* Run the provided init() function once. This is not thread-safe. */
275 local void once(once_t *state, void (*init)(void)) {
289 /* State for once(). */
558 once(&made, make_crc_table);
595 once(&made, make_crc_table);
769 once(&made, make_crc_table);
1126 once(&made, make_crc_table);
1138 once(&made, make_crc_table);