Home
last modified time | relevance | path

Searched refs:branch (Results 1 – 25 of 206) sorted by relevance

123456789

/Linux-v4.19/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c40 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() local
47 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder()
58 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
63 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
67 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
75 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
82 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
86 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
90 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
94 branch = INTEL_PT_BR_UNCONDITIONAL; in intel_pt_insn_decoder()
[all …]
/Linux-v4.19/drivers/edac/
Di7300_edac.c69 #define to_channel(ch, branch) ((((branch)) << 1) | (ch)) argument
71 #define to_csrow(slot, ch, branch) \ argument
72 (to_channel(ch, branch) | ((slot) << 2))
413 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local
430 branch = (GET_FBD_FAT_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
452 branch, -1, rank, in i7300_process_fbd_error()
466 branch = (GET_FBD_NF_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
484 channel = (branch << 1); in i7300_process_fbd_error()
500 branch >> 1, channel % 2, rank, in i7300_process_fbd_error()
588 int slot, int ch, int branch, in decode_mtr() argument
[all …]
Di5400_edac.c516 int branch; in i5400_proccess_non_recoverable_info() local
540 branch = extract_fbdchan_indx(info->ferr_fat_fbd); in i5400_proccess_non_recoverable_info()
541 channel = branch; in i5400_proccess_non_recoverable_info()
552 rank, channel, channel + 1, branch >> 1, bank, 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
605 branch = extract_fbdchan_indx(info->ferr_nf_fbd); in i5400_process_nonfatal_error_info()
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()
[all …]
/Linux-v4.19/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c204 static void lpc18xx_ccu_register_branch_gate_div(struct lpc18xx_clk_branch *branch, in lpc18xx_ccu_register_branch_gate_div() argument
212 if (branch->flags & CCU_BRANCH_HAVE_DIV2) { in lpc18xx_ccu_register_branch_gate_div()
217 div->reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div()
226 branch->gate.reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div()
227 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div()
229 branch->clk = clk_register_composite(NULL, branch->name, &parent, 1, in lpc18xx_ccu_register_branch_gate_div()
232 &branch->gate.hw, &lpc18xx_ccu_gate_ops, 0); in lpc18xx_ccu_register_branch_gate_div()
233 if (IS_ERR(branch->clk)) { in lpc18xx_ccu_register_branch_gate_div()
235 pr_warn("%s: failed to register %s\n", __func__, branch->name); in lpc18xx_ccu_register_branch_gate_div()
240 switch (branch->offset) { in lpc18xx_ccu_register_branch_gate_div()
[all …]
/Linux-v4.19/tools/perf/util/
Dintel-bts.c87 struct branch { struct
96 struct branch *branch; in intel_bts_dump() local
97 size_t i, pos = 0, br_sz = sizeof(struct branch), sz; in intel_bts_dump()
116 branch = (struct branch *)buf; in intel_bts_dump()
118 le64_to_cpu(branch->from), in intel_bts_dump()
119 le64_to_cpu(branch->to), in intel_bts_dump()
120 le64_to_cpu(branch->misc) & 0x10 ? in intel_bts_dump()
246 for (; offs < len_a; offs += sizeof(struct branch)) { in intel_bts_find_overlap()
273 struct branch *branch) in intel_bts_synth_branch_sample() argument
289 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample()
[all …]
/Linux-v4.19/scripts/tracing/
Ddraw_functrace.py70 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-v4.19/include/linux/
Djump_label.h398 bool branch; \
400 branch = !arch_static_branch(&(x)->key, true); \
402 branch = !arch_static_branch_jump(&(x)->key, true); \
404 branch = ____wrong_branch_error(); \
405 likely(branch); \
410 bool branch; \
412 branch = arch_static_branch_jump(&(x)->key, false); \
414 branch = arch_static_branch(&(x)->key, false); \
416 branch = ____wrong_branch_error(); \
417 unlikely(branch); \
/Linux-v4.19/arch/sparc/include/asm/
Djump_label.h11 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-v4.19/arch/arm64/include/asm/
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
36 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch()
43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
50 : : "i"(&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/Linux-v4.19/arch/s390/include/asm/
Djump_label.h17 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
24 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch()
31 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
38 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch_jump()
/Linux-v4.19/arch/arm/include/asm/
Djump_label.h12 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-v4.19/arch/mips/include/asm/
Djump_label.h29 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
36 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch()
43 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
50 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/Linux-v4.19/arch/powerpc/include/asm/
Djump_label.h22 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
29 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch()
36 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
43 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/Linux-v4.19/Documentation/
Dstatic-keys.txt48 The static_branch_unlikely() branch will be generated into the code with as little
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
90 branch selection is basically 'free'. That is the basic tradeoff of this
138 The branch(es) can then be switched via reference counts::
144 Thus, 'static_branch_inc()' means 'make the branch true', and
[all …]
/Linux-v4.19/tools/perf/arch/x86/tests/
Dinsn-x86.c98 int op, branch; in test_data_item() local
115 branch = get_branch(dat->expected_branch_str); in test_data_item()
128 if ((int)intel_pt_insn.branch != branch) { in test_data_item()
130 intel_pt_insn.branch, branch, dat->asm_rep); in test_data_item()
Dgen-insn-x86-dat.awk21 branch = ""
51 printf "}, %d, %s, \"%s\", \"%s\",", len, rel, op, branch
54 branch = ""
69 branch = $i
/Linux-v4.19/arch/x86/include/asm/
Djump_label.h34 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
42 : : "i" (key), "i" (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
58 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch_jump()
/Linux-v4.19/tools/perf/tests/attr/
DREADME36 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-v4.19/fs/sysv/
Ditree.c128 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 …]
/Linux-v4.19/fs/minix/
Ditree_common.c73 Indirect *branch) in alloc_branch() argument
79 branch[0].key = cpu_to_block(parent); in alloc_branch()
86 branch[n].key = cpu_to_block(nr); in alloc_branch()
90 branch[n].bh = bh; in alloc_branch()
91 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
92 *branch[n].p = branch[n].key; in alloc_branch()
103 bforget(branch[i].bh); in alloc_branch()
105 minix_free_block(inode, block_to_cpu(branch[i].key)); in alloc_branch()
/Linux-v4.19/tools/perf/Documentation/
Dperf-top.txt168 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
219 --branch-any::
220 Enable taken branch stack sampling. Any type of taken branch may be sampled.
221 This is a shortcut for --branch-filter any. See --branch-filter for more infos.
224 --branch-filter::
225 Enable taken branch stack sampling. Each sample captures a series of consecutive
231 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
233 event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege
234 levels are subject to permissions. When sampling on multiple events, branch stack sampling
235 is enabled for all the sampling events. The sampled branch type is the same for all events.
[all …]
/Linux-v4.19/fs/ubifs/
Dlpt.c1198 struct ubifs_nbranch *branch = NULL; in ubifs_read_nnode() local
1204 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1205 lnum = branch->lnum; in ubifs_read_nnode()
1206 offs = branch->offs; in ubifs_read_nnode()
1239 branch->nnode = nnode; in ubifs_read_nnode()
1266 struct ubifs_nbranch *branch; in read_pnode() local
1271 branch = &parent->nbranch[iip]; in read_pnode()
1272 lnum = branch->lnum; in read_pnode()
1273 offs = branch->offs; in read_pnode()
1307 branch->pnode = pnode; in read_pnode()
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dftrace.c255 u32 branch, nop; in ftrace_modify_graph_caller() local
257 branch = aarch64_insn_gen_branch_imm(pc, in ftrace_modify_graph_caller()
263 return ftrace_modify_code(pc, nop, branch, true); in ftrace_modify_graph_caller()
265 return ftrace_modify_code(pc, branch, nop, true); in ftrace_modify_graph_caller()
/Linux-v4.19/arch/powerpc/tools/
Dunrel_branch_check.sh41 branch=`echo $tuple | cut -d':' -f2`
51 echo "$from $branch-> $to $sym"
/Linux-v4.19/scripts/coccinelle/misc/
Difcol.cocci1 /// Find confusingly indented code in or after an if. An if branch should
4 /// part of the if branch.
38 cocci.print_main("branch",p1)

123456789