Lines Matching refs:branch
33 * an "if (static_branch_unlikely(&key))" statement is an unconditional branch
38 * unconditional branch to the out-of-line true branch. Keys that are
42 * At runtime we can change the branch target by setting the key
44 * static_branch_disable(). If the direction of the branch is switched by
45 * these calls then we run-time modify the branch target via a
49 * to the out-of-line of true branch.
52 * the key or branch direction via static_branch_{inc,dec}. Thus,
56 * Since this relies on modifying code, the branch modifying functions
69 * simple conditional branch.
430 * Combine the right initial value (type) with the right branch order
434 * type\branch| likely (1) | unlikely (0)
460 * The branch type is encoded in the LSB of jump_entry::key,
461 * branch: 0 = unlikely, 1 = likely.
465 * enabled type branch instuction
479 * dynamic: instruction = enabled ^ branch
480 * static: instruction = type ^ branch
487 bool branch; \
489 branch = !arch_static_branch(&(x)->key, true); \
491 branch = !arch_static_branch_jump(&(x)->key, true); \
493 branch = ____wrong_branch_error(); \
494 likely_notrace(branch); \
499 bool branch; \
501 branch = arch_static_branch_jump(&(x)->key, false); \
503 branch = arch_static_branch(&(x)->key, false); \
505 branch = ____wrong_branch_error(); \
506 unlikely_notrace(branch); \
521 * Advanced usage; refcount, branch is enabled when: count != 0