utils.h

Miscellaneous utility functions in the vdev API

Function safety

All the functions that utils.h provides are thread safe.

Function When used Notes
next_pow2() Startup, running  
qvm_block_string() Startup, running (see notes) Use only at startup.
qvm_block_type_name() Startup, running (see notes) Use only at startup.
qvm_callback_pulse() Startup, running  
qvm_channel() Startup, running  
qvm_make_non_safety() Startup, running  
qvm_msgblock_oneshot() Startup, running  
qvm_msgblock_start() Startup, running  
qvm_msgblock_stop() Startup, running  
qvm_overlap() Startup, running  
qvm_parse_block() Startup  
qvm_parse_intr() Startup  
qvm_parse_num() Startup  
qvm_register_setvar() Startup (see notes) Constructor.
qvm_safety_env() Startup, running  
qvm_slice() Startup, running  
qvm_slice_store() Startup, running  
qvm_unique() Startup, running (see notes) Use only at startup.