Lines Matching defs:once
208 Define a once() function depending on the availability of atomics. If this is
215 /* Definition of once functionality. */
224 /* Structure for once(), which must be initialized with ONCE_INIT. */
232 Run the provided init() function exactly once, even if multiple threads
233 invoke once() at the same time. The state must be a once_t initialized with
236 local void once(once_t *state, void (*init)(void)) {
250 /* Structure for once(), which must be initialized with ONCE_INIT. */
267 /* Run the provided init() function once. This is not thread-safe. */
268 local void once(once_t *state, void (*init)(void)) {
282 /* State for once(). */
551 once(&made, make_crc_table);
588 once(&made, make_crc_table);
700 once(&made, make_crc_table);
1023 once(&made, make_crc_table);
1036 once(&made, make_crc_table);