Lines Matching defs:once
210 Define a once() function depending on the availability of atomics. If this is
217 /* Definition of once functionality. */
226 /* Structure for once(), which must be initialized with ONCE_INIT. */
234 Run the provided init() function exactly once, even if multiple threads
235 invoke once() at the same time. The state must be a once_t initialized with
238 local void once(once_t *state, void (*init)(void)) {
252 /* Structure for once(), which must be initialized with ONCE_INIT. */
269 /* Run the provided init() function once. This is not thread-safe. */
270 local void once(once_t *state, void (*init)(void)) {
284 /* State for once(). */
553 once(&made, make_crc_table);
590 once(&made, make_crc_table);
702 once(&made, make_crc_table);
1025 once(&made, make_crc_table);
1038 once(&made, make_crc_table);