/linux/tools/perf/util/intel-pt-decoder/ |
A D | intel-pt-insn-decoder.c | 51 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 60 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 65 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 84 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 88 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 92 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 100 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 117 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 125 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() 130 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder() [all …]
|
/linux/drivers/edac/ |
A D | i7300_edac.c | 67 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) argument 450 branch, -1, rank, in i7300_process_fbd_error() 482 channel = (branch << 1); in i7300_process_fbd_error() 592 channel = to_channel(ch, branch); in decode_mtr() 594 mtr = pvt->mtr[slot][branch]; in decode_mtr() 767 for (branch = 0; branch < max_branch; branch++) { in i7300_init_csrows() 769 channel = to_channel(0, branch); in i7300_init_csrows() 790 for (branch = 0; branch < max_branch; branch++) { in i7300_init_csrows() 793 &pvt->mtr[slot][branch]); in i7300_init_csrows() 912 int branch; in i7300_put_devices() local [all …]
|
A D | i5400_edac.c | 516 int branch; in i5400_proccess_non_recoverable_info() local 541 channel = branch; in i5400_proccess_non_recoverable_info() 564 branch >> 1, -1, rank, in i5400_proccess_non_recoverable_info() 581 int branch; in i5400_process_nonfatal_error_info() local 613 channel += branch; in i5400_process_nonfatal_error_info() 625 rank, channel, branch >> 1, bank, in i5400_process_nonfatal_error_info() 632 branch >> 1, bank, rdwr_str(rdwr), ras, cas, in i5400_process_nonfatal_error_info() 636 branch >> 1, channel % 2, rank, in i5400_process_nonfatal_error_info() 650 branch >> 1, allErrors, error_name[errnum]); in i5400_process_nonfatal_error_info() 962 int channel, branch; in calculate_dimm_size() local [all …]
|
/linux/drivers/clk/nxp/ |
A D | clk-lpc18xx-ccu.c | 205 static void lpc18xx_ccu_register_branch_gate_div(struct lpc18xx_clk_branch *branch, in lpc18xx_ccu_register_branch_gate_div() argument 213 if (branch->flags & CCU_BRANCH_HAVE_DIV2) { in lpc18xx_ccu_register_branch_gate_div() 218 div->reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 227 branch->gate.reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div() 228 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div() 230 branch->clk = clk_register_composite(NULL, branch->name, &parent, 1, in lpc18xx_ccu_register_branch_gate_div() 233 &branch->gate.hw, &lpc18xx_ccu_gate_ops, 0); in lpc18xx_ccu_register_branch_gate_div() 234 if (IS_ERR(branch->clk)) { in lpc18xx_ccu_register_branch_gate_div() 236 pr_warn("%s: failed to register %s\n", __func__, branch->name); in lpc18xx_ccu_register_branch_gate_div() 241 switch (branch->offset) { in lpc18xx_ccu_register_branch_gate_div() [all …]
|
/linux/tools/perf/util/ |
A D | intel-bts.c | 80 struct branch { struct 89 struct branch *branch; in intel_bts_dump() argument 109 branch = (struct branch *)buf; in intel_bts_dump() 273 struct branch *branch) in intel_bts_synth_branch_sample() argument 363 struct branch *branch) in intel_bts_get_branch_type() argument 367 if (!branch->from) { in intel_bts_get_branch_type() 368 if (branch->to) in intel_bts_get_branch_type() 387 branch->from); in intel_bts_get_branch_type() 410 struct branch *branch; in intel_bts_process_buffer() local 420 branch = buffer->data; in intel_bts_process_buffer() [all …]
|
/linux/arch/x86/include/asm/ |
A D | jump_label.h | 25 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 30 : : "i" (key), "i" (2 | branch) : : l_yes); in arch_static_branch() 39 static __always_inline bool arch_static_branch(struct static_key * const key, const bool branch) in arch_static_branch() argument 44 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch() 53 …atic __always_inline bool arch_static_branch_jump(struct static_key * const key, const bool branch) in arch_static_branch_jump() argument 58 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch_jump()
|
/linux/Documentation/admin-guide/hw-vuln/ |
A D | spectre.rst | 6 Spectre is a class of side channel attacks that exploit branch prediction 18 use branch prediction and speculative execution. 55 buffers, and branch predictors. Malicious software may be able to 92 The branch target injection attack takes advantage of speculative 242 from not using indirect branch speculation and clearing the branch 251 This prevents the branch target buffer from being used for branch 282 indirect branch speculation disabled via prctl(). The branch target 450 -mindirect-branch=thunk-extern -mindirect-branch-register options. 550 (indirect branch prediction) vulnerability. System may 558 (indirect branch speculation) vulnerability. [all …]
|
/linux/scripts/tracing/ |
A D | draw_functrace.py | 70 def __toString(self, branch, lastChild): argument 72 s = "%s----%s (%s)\n" % (branch, self._func, self._time) 74 s = "%s----%s\n" % (branch, self._func) 78 branch = branch[:-1] + " " 81 s += "%s" % self._children[i].__toString(branch +\ 84 s += "%s" % self._children[i].__toString(branch +\
|
/linux/Documentation/staging/ |
A D | static-keys.rst | 56 Currently, tracepoints are implemented using a conditional branch. The 78 the branch site to change the branch direction. 80 For example, if we have a simple branch that is disabled by default:: 83 printk("I am the true branch\n"); 87 straight-line code path. When the branch is 'flipped', we will patch the 89 out-of-line true branch. Thus, changing branch direction is expensive but 138 The branch(es) can then be switched via reference counts:: 144 Thus, 'static_branch_inc()' means 'make the branch true', and 145 'static_branch_dec()' means 'make the branch false' with appropriate 147 static_branch_dec(), will switch the branch to false. And a subsequent [all …]
|
/linux/arch/arm64/include/asm/ |
A D | jump_label.h | 19 bool branch) in arch_static_branch() argument 28 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch() 36 bool branch) in arch_static_branch_jump() argument 45 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/include/linux/ |
A D | jump_label.h | 483 bool branch; \ 485 branch = !arch_static_branch(&(x)->key, true); \ 487 branch = !arch_static_branch_jump(&(x)->key, true); \ 489 branch = ____wrong_branch_error(); \ 490 likely_notrace(branch); \ 495 bool branch; \ 497 branch = arch_static_branch_jump(&(x)->key, false); \ 499 branch = arch_static_branch(&(x)->key, false); \ 501 branch = ____wrong_branch_error(); \ 502 unlikely_notrace(branch); \
|
/linux/arch/parisc/include/asm/ |
A D | jump_label.h | 13 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 21 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 28 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 36 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/riscv/include/asm/ |
A D | jump_label.h | 18 bool branch) in arch_static_branch() argument 31 : : "i"(&((char *)key)[branch]) : : label); in arch_static_branch() 39 bool branch) in arch_static_branch_jump() argument 52 : : "i"(&((char *)key)[branch]) : : label); in arch_static_branch_jump()
|
/linux/arch/xtensa/include/asm/ |
A D | jump_label.h | 14 bool branch) in arch_static_branch() argument 21 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 29 bool branch) in arch_static_branch_jump() argument 49 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/sparc/include/asm/ |
A D | jump_label.h | 11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 20 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 27 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 36 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/s390/include/asm/ |
A D | jump_label.h | 27 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 35 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label); in arch_static_branch() 41 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 49 : : JUMP_LABEL_STATIC_KEY_CONSTRAINT (key), "i" (branch) : : label); in arch_static_branch_jump()
|
/linux/tools/perf/arch/x86/tests/ |
A D | insn-x86.c | 99 int op, branch, ret; in test_data_item() local 116 branch = get_branch(dat->expected_branch_str); in test_data_item() 129 if ((int)intel_pt_insn.branch != branch) { in test_data_item() 131 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
|
A D | gen-insn-x86-dat.awk | 14 branch = "" 44 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch 47 branch = "" 62 branch = $i
|
/linux/arch/arm/include/asm/ |
A D | jump_label.h | 12 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 19 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 26 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 33 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/arc/include/asm/ |
A D | jump_label.h | 32 bool branch) in arch_static_branch() argument 40 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 48 bool branch) in arch_static_branch_jump() argument 56 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/powerpc/include/asm/ |
A D | jump_label.h | 18 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 26 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 33 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 41 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/arch/mips/include/asm/ |
A D | jump_label.h | 35 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument 42 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch() 49 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument 55 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
|
/linux/tools/bootconfig/scripts/ |
A D | bconf2ftrace.sh | 184 branch=$1.$2.$3 198 xbc_get_val ${branch}.probes | while read line; do 203 run_cmd "echo '`compose_synth $3 ${branch}.fields`' >> $TRACEFS/synthetic_events" 207 set_value_of ${branch}.filter ${eventdir}/filter 208 set_array_of ${branch}.actions ${eventdir}/trigger 210 setup_histograms ${branch}.hist ${eventdir}/trigger 212 if xbc_has_key ${branch}.enable; then
|
/linux/tools/perf/tests/attr/ |
A D | README | 36 perf record -b kill (test-record-branch-any) 37 perf record -j any kill (test-record-branch-filter-any) 38 perf record -j any_call kill (test-record-branch-filter-any_call) 39 perf record -j any_ret kill (test-record-branch-filter-any_ret) 40 perf record -j hv kill (test-record-branch-filter-hv) 41 perf record -j ind_call kill (test-record-branch-filter-ind_call) 42 perf record -j k kill (test-record-branch-filter-k) 43 perf record -j u kill (test-record-branch-filter-u)
|
/linux/fs/sysv/ |
A D | itree.c | 128 Indirect *branch) in alloc_branch() argument 134 branch[0].key = sysv_new_block(inode->i_sb); in alloc_branch() 135 if (branch[0].key) for (n = 1; n < num; n++) { in alloc_branch() 139 branch[n].key = sysv_new_block(inode->i_sb); in alloc_branch() 140 if (!branch[n].key) in alloc_branch() 146 parent = block_to_cpu(SYSV_SB(inode->i_sb), branch[n-1].key); in alloc_branch() 150 branch[n].bh = bh; in alloc_branch() 151 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch() 152 *branch[n].p = branch[n].key; in alloc_branch() 162 bforget(branch[i].bh); in alloc_branch() [all …]
|