Searched refs:DO_ONCE (Results 1 - 5 of 5) sorted by relevance

/linux-master/include/linux/
H A Donce.h20 /* Call a function exactly once. The idea of DO_ONCE() is to perform
22 * once, where DO_ONCE() can live in the fast-path. After @func has
24 * out the condition into a nop. DO_ONCE() guarantees type safety of
29 * DO_ONCE(func, arg);
30 * DO_ONCE(func, arg);
36 * DO_ONCE(func, arg);
46 #define DO_ONCE(func, ...) \ macro
63 /* Variant of DO_ONCE() for process/sleepable contexts. */
81 DO_ONCE(get_random_bytes, (buf), (nbytes))
H A Dprandom.h24 DO_ONCE(prandom_seed_full_state, (pcpu_state))
/linux-master/drivers/nvme/host/
H A Dapple.c481 WARN(DO_ONCE(apple_nvme_print_sgl, iod->sg, iod->nents),
H A Dpci.c663 WARN(DO_ONCE(nvme_print_sgl, iod->sgt.sgl, iod->sgt.nents),
/linux-master/crypto/
H A Dtestmgr.c5829 DO_ONCE(testmgr_onetime_init);

Completed in 263 milliseconds