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.
433 * Combine the right initial value (type) with the right branch order
437 * type\branch| likely (1) | unlikely (0)
463 * The branch type is encoded in the LSB of jump_entry::key,
464 * branch: 0 = unlikely, 1 = likely.
468 * enabled type branch instuction
482 * dynamic: instruction = enabled ^ branch
483 * static: instruction = type ^ branch
490 bool branch; \
492 branch = !arch_static_branch(&(x)->key, true); \
494 branch = !arch_static_branch_jump(&(x)->key, true); \
496 branch = ____wrong_branch_error(); \
497 likely_notrace(branch); \
502 bool branch; \
504 branch = arch_static_branch_jump(&(x)->key, false); \
506 branch = arch_static_branch(&(x)->key, false); \
508 branch = ____wrong_branch_error(); \
509 unlikely_notrace(branch); \
524 * Advanced usage; refcount, branch is enabled when: count != 0