Lines Matching full: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.
414 * Combine the right initial value (type) with the right branch order
418 * type\branch| likely (1) | unlikely (0)
444 * The branch type is encoded in the LSB of jump_entry::key,
445 * branch: 0 = unlikely, 1 = likely.
449 * enabled type branch instuction
463 * dynamic: instruction = enabled ^ branch
464 * static: instruction = type ^ branch
471 bool branch; \
473 branch = !arch_static_branch(&(x)->key, true); \
475 branch = !arch_static_branch_jump(&(x)->key, true); \
477 branch = ____wrong_branch_error(); \
478 likely_notrace(branch); \
483 bool branch; \
485 branch = arch_static_branch_jump(&(x)->key, false); \
487 branch = arch_static_branch(&(x)->key, false); \
489 branch = ____wrong_branch_error(); \
490 unlikely_notrace(branch); \
505 * Advanced usage; refcount, branch is enabled when: count != 0