Macro kernel::jump_label::static_branch_unlikely
source · macro_rules! static_branch_unlikely { ($key:path, $keytyp:ty, $field:ident) => { ... }; }
Expand description
Branch based on a static key.
Takes three arguments:
key- the path to the static variable containing thestatic_key.keytyp- the type ofkey.field- the name of the field ofkeythat contains thestatic_key.
§Safety
The macro must be used with a real static key defined by C.