Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/util/intel-pt-decoder/
Dintel-pt-insn-decoder.c35 enum intel_pt_insn_branch branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder() local
40 intel_pt_insn->branch = INTEL_PT_BR_NO_BRANCH; in intel_pt_insn_decoder()
51 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
56 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
60 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
68 branch = INTEL_PT_BR_CONDITIONAL; in intel_pt_insn_decoder()
75 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
79 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
83 branch = INTEL_PT_BR_INDIRECT; in intel_pt_insn_decoder()
87 branch = INTEL_PT_BR_UNCONDITIONAL; in intel_pt_insn_decoder()
[all …]
Dintel-pt-insn-decoder.h47 enum intel_pt_insn_branch branch; member
Dintel-pt-decoder.c889 if (intel_pt_insn->branch == INTEL_PT_BR_NO_BRANCH) { in intel_pt_walk_insn()
900 if (intel_pt_insn->branch != INTEL_PT_BR_UNCONDITIONAL || in intel_pt_walk_insn()
911 if (intel_pt_insn->branch == INTEL_PT_BR_UNCONDITIONAL) { in intel_pt_walk_insn()
987 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_fup()
994 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_fup()
1016 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_tip()
1038 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_tip()
1089 if (intel_pt_insn.branch == INTEL_PT_BR_INDIRECT) { in intel_pt_walk_tnt()
1109 if (intel_pt_insn.branch == INTEL_PT_BR_CONDITIONAL) { in intel_pt_walk_tnt()
/linux-4.4.14/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c206 static void lpc18xx_ccu_register_branch_gate_div(struct lpc18xx_clk_branch *branch, in lpc18xx_ccu_register_branch_gate_div() argument
214 if (branch->flags & CCU_BRANCH_HAVE_DIV2) { in lpc18xx_ccu_register_branch_gate_div()
219 div->reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div()
228 branch->gate.reg = branch->offset + reg_base; in lpc18xx_ccu_register_branch_gate_div()
229 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div()
231 branch->clk = clk_register_composite(NULL, branch->name, &parent, 1, in lpc18xx_ccu_register_branch_gate_div()
234 &branch->gate.hw, &lpc18xx_ccu_gate_ops, 0); in lpc18xx_ccu_register_branch_gate_div()
235 if (IS_ERR(branch->clk)) { in lpc18xx_ccu_register_branch_gate_div()
237 pr_warn("%s: failed to register %s\n", __func__, branch->name); in lpc18xx_ccu_register_branch_gate_div()
242 switch (branch->offset) { in lpc18xx_ccu_register_branch_gate_div()
[all …]
/linux-4.4.14/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))
414 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local
431 branch = (GET_FBD_FAT_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
453 branch, -1, rank, in i7300_process_fbd_error()
467 branch = (GET_FBD_NF_IDX(error_reg) == 2) ? 1 : 0; in i7300_process_fbd_error()
485 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 …]
Di5000_edac.c551 int branch; in i5000_process_nonfatal_error_info() local
568 branch = EXTRACT_FBDCHAN_INDX(info->ferr_nf_fbd); in i5000_process_nonfatal_error_info()
574 channel = branch & 2; in i5000_process_nonfatal_error_info()
583 rank, channel, channel + 1, branch >> 1, bank, in i5000_process_nonfatal_error_info()
638 branch = EXTRACT_FBDCHAN_INDX(info->ferr_nf_fbd); in i5000_process_nonfatal_error_info()
646 channel += branch; in i5000_process_nonfatal_error_info()
655 rank, channel, branch >> 1, bank, in i5000_process_nonfatal_error_info()
676 "CAS=%d, CE Err=0x%x (%s))", branch >> 1, bank, in i5000_process_nonfatal_error_info()
720 branch = EXTRACT_FBDCHAN_INDX(info->ferr_nf_fbd); in i5000_process_nonfatal_error_info()
728 branch >> 1, -1, -1, in i5000_process_nonfatal_error_info()
[all …]
/linux-4.4.14/include/linux/
Djump_label.h334 bool branch; \
336 branch = !arch_static_branch(&(x)->key, true); \
338 branch = !arch_static_branch_jump(&(x)->key, true); \
340 branch = ____wrong_branch_error(); \
341 branch; \
346 bool branch; \
348 branch = arch_static_branch_jump(&(x)->key, false); \
350 branch = arch_static_branch(&(x)->key, false); \
352 branch = ____wrong_branch_error(); \
353 branch; \
/linux-4.4.14/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-4.4.14/tools/perf/util/
Dintel-bts.c85 struct branch { struct
94 struct branch *branch; in intel_bts_dump() argument
95 size_t i, pos = 0, br_sz = sizeof(struct branch), sz; in intel_bts_dump()
114 branch = (struct branch *)buf; in intel_bts_dump()
116 le64_to_cpu(branch->from), in intel_bts_dump()
117 le64_to_cpu(branch->to), in intel_bts_dump()
118 le64_to_cpu(branch->misc) & 0x10 ? in intel_bts_dump()
244 for (; offs < len_a; offs += sizeof(struct branch)) { in intel_bts_find_overlap()
271 struct branch *branch) in intel_bts_synth_branch_sample() argument
282 sample.ip = le64_to_cpu(branch->from); in intel_bts_synth_branch_sample()
[all …]
Dparse-events.l227 branch-instructions|branches { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_INS…
228 branch-misses { return sym(yyscanner, PERF_TYPE_HARDWARE, PERF_COUNT_HW_BRANCH_MISSES); }
257 branch|branches|bpu|btb|bpc |
Dmachine.c1753 struct branch_stack *branch = sample->branch_stack; in thread__resolve_callchain_sample() local
1789 if (branch && callchain_param.branch_callstack) { in thread__resolve_callchain_sample()
1790 int nr = min(max_stack, (int)branch->nr); in thread__resolve_callchain_sample()
1793 if (branch->nr > PERF_MAX_BRANCH_DEPTH) { in thread__resolve_callchain_sample()
1800 be[i] = branch->entries[i]; in thread__resolve_callchain_sample()
1815 be[i] = branch->entries[branch->nr - i - 1]; in thread__resolve_callchain_sample()
Dintel-pt.c302 enum intel_pt_insn_branch branch; member
387 e->branch = intel_pt_insn->branch; in intel_pt_cache_add()
465 intel_pt_insn->branch = e->branch; in intel_pt_walk_next_insn()
494 if (intel_pt_insn->branch != INTEL_PT_BR_NO_BRANCH) in intel_pt_walk_next_insn()
DBuild87 libperf-y += parse-branch-options.o
/linux-4.4.14/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-4.4.14/arch/sparc/include/asm/
Djump_label.h10 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
35 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/linux-4.4.14/arch/s390/include/asm/
Djump_label.h15 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
22 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch()
29 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
36 : : "X" (&((char *)key)[branch]) : : label); in arch_static_branch_jump()
/linux-4.4.14/arch/arm/include/asm/
Djump_label.h11 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
18 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch()
25 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
32 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/linux-4.4.14/Documentation/
Dstatic-keys.txt42 The static_branch_unlikely() branch will be generated into the code with as little
49 Currently, tracepoints are implemented using a conditional branch. The
70 the branch site to change the branch direction.
72 For example, if we have a simple branch that is disabled by default:
75 printk("I am the true branch\n");
79 straight-line code path. When the branch is 'flipped', we will patch the
81 out-of-line true branch. Thus, changing branch direction is expensive but
82 branch selection is basically 'free'. That is the basic tradeoff of this
129 The branch(es) can then be switched via reference counts:
135 Thus, 'static_branch_inc()' means 'make the branch true', and
[all …]
Dassoc_array.txt71 extra branch until as such time an object needs to be added to a full node.
548 branch that's in a slot further along than we were at.
550 (5) Insertion replacing nodes that we're processing a dependent branch of.
553 (6) Deletion collapsing a branch under us. This doesn't affect us because the
Dapplying-patches.txt276 This is the recommended branch for users who want the most recent stable
316 This is a good branch to run for people who want to help out testing
403 This branch is in constant flux and contains many experimental features, a
DSubmittingPatches458 If you are a subsystem or branch maintainer, sometimes you need to slightly
475 This practice is particularly helpful if you maintain a stable branch and
748 request itself should include the repository name and the branch of
Drbtree.txt79 root, compare each value, and follow the left or right branch as necessary.
Dbcache.txt193 Solution: warm the cache by doing writes, or use the testing branch (there's
Dmemory-barriers.txt332 branch prediction and various types of caching. Memory barriers are used to
1169 branch circumvented the load - in which case it can discard the value or just
1433 gets rid of a load and a branch. The problem is that the compiler
1550 The compiler might save a branch by optimizing this as follows:
1557 a branch. Unfortunately, in concurrent code, this optimization
DHOWTO271 This is the recommended branch for users who want the most recent stable
DCodingStyle168 This does not apply if only one branch of a conditional statement is a single
/linux-4.4.14/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-4.4.14/arch/x86/include/asm/
Djump_label.h19 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
27 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch()
34 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
43 : : "i" (key), "i" (branch) : : l_yes); in arch_static_branch_jump()
Duprobes.h51 } branch; member
/linux-4.4.14/arch/powerpc/include/asm/
Djump_label.h21 static __always_inline bool arch_static_branch(struct static_key *key, bool branch) in arch_static_branch() argument
28 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch()
35 static __always_inline bool arch_static_branch_jump(struct static_key *key, bool branch) in arch_static_branch_jump() argument
42 : : "i" (&((char *)key)[branch]) : : l_yes); in arch_static_branch_jump()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dinsn-x86.c97 int op, branch; in test_data_item() local
114 branch = get_branch(dat->expected_branch_str); in test_data_item()
127 if ((int)intel_pt_insn.branch != branch) { in test_data_item()
129 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-4.4.14/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-4.4.14/arch/arm64/kernel/
Dftrace.c155 u32 branch, nop; in ftrace_modify_graph_caller() local
157 branch = aarch64_insn_gen_branch_imm(pc, in ftrace_modify_graph_caller()
163 return ftrace_modify_code(pc, nop, branch, true); in ftrace_modify_graph_caller()
165 return ftrace_modify_code(pc, branch, nop, true); in ftrace_modify_graph_caller()
/linux-4.4.14/fs/sysv/
Ditree.c127 Indirect *branch) in alloc_branch() argument
133 branch[0].key = sysv_new_block(inode->i_sb); in alloc_branch()
134 if (branch[0].key) for (n = 1; n < num; n++) { in alloc_branch()
138 branch[n].key = sysv_new_block(inode->i_sb); in alloc_branch()
139 if (!branch[n].key) in alloc_branch()
145 parent = block_to_cpu(SYSV_SB(inode->i_sb), branch[n-1].key); in alloc_branch()
149 branch[n].bh = bh; in alloc_branch()
150 branch[n].p = (sysv_zone_t*) bh->b_data + offsets[n]; in alloc_branch()
151 *branch[n].p = branch[n].key; in alloc_branch()
161 bforget(branch[i].bh); in alloc_branch()
[all …]
/linux-4.4.14/fs/minix/
Ditree_common.c72 Indirect *branch) in alloc_branch() argument
78 branch[0].key = cpu_to_block(parent); in alloc_branch()
85 branch[n].key = cpu_to_block(nr); in alloc_branch()
89 branch[n].bh = bh; in alloc_branch()
90 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
91 *branch[n].p = branch[n].key; in alloc_branch()
102 bforget(branch[i].bh); in alloc_branch()
104 minix_free_block(inode, block_to_cpu(branch[i].key)); in alloc_branch()
/linux-4.4.14/tools/perf/Documentation/
Dperf-top.txt163 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
213 --branch-any::
214 Enable taken branch stack sampling. Any type of taken branch may be sampled.
215 This is a shortcut for --branch-filter any. See --branch-filter for more infos.
218 --branch-filter::
219 Enable taken branch stack sampling. Each sample captures a series of consecutive
225 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
227 event are applied to the branch filter. Both kernel (k) and hypervisor (hv) privilege
228 levels are subject to permissions. When sampling on multiple events, branch stack sampling
229 is enabled for all the sampling events. The sampled branch type is the same for all events.
[all …]
Dperf-report.txt104 If --branch-stack option is used, following sort keys are also
112 - mispredict: "N" for predicted branch, "Y" for mispredicted branch
113 - in_tx: branch in TSX transaction
118 and symbol_to, see '--branch-stack'.
131 (incompatible with --branch-stack):
173 --call-graph=<print_type,threshold[,print_limit],order,sort_key,branch>::
175 call order, sort key and branch. Note that ordering of parameters is not
182 - fractal: like graph, but displays relative rates. Each branch of
203 branch can be:
204 - branch: include last branch information in callgraph when available.
[all …]
Dperf-record.txt162 doesn't work with branch stack sampling at the same time.
228 --branch-any::
229 Enable taken branch stack sampling. Any type of taken branch may be sampled.
230 This is a shortcut for --branch-filter any. See --branch-filter for more infos.
233 --branch-filter::
234 Enable taken branch stack sampling. Each sample captures a series of consecutive
243 - ind_call: any indirect branch
245 - u: only when the branch target is at the user level
246 - k: only when the branch target is in the kernel
254 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
[all …]
Ditrace.txt9 l synthesize last branch entries (use with i or x)
25 Also the number of last branch entries (default 64, max. 1024) for
Dperf-script.txt170 Trace decoding. The flags are "bcrosyiABEx" which stand for branch,
178 The brstack output includes branch related information with raw addresses using the
180 FROM: branch source instruction
181 TO : branch target instruction
182 …M/P/-: M=branch target mispredicted or branch direction was mispredicted, P=target predicted or di…
183 X/- : X=branch inside a transactional region, -=not in transaction region or not supported
Dintel-bts.txt8 similarities because it can also identify every branch a program takes. A
Dandroid.txt27 1. Download the master branch of the Android source tree.
Dintel-pt.txt21 conditional branch was taken or not taken, so to make use of that packet the
90 a branch sample is synthesized for every single branch. To get an idea what
102 The flags are "bcrosyiABEx" which stand for branch, call, return, conditional,
674 l synthesize last branch entries (use with i or x)
722 Also the number of last branch entries (default 64, max. 1024) for instructions or
728 Note that last branch entries are cleared for each sample, so there is no overlap
/linux-4.4.14/fs/ubifs/
Dlpt.c1195 struct ubifs_nbranch *branch = NULL; in ubifs_read_nnode() local
1201 branch = &parent->nbranch[iip]; in ubifs_read_nnode()
1202 lnum = branch->lnum; in ubifs_read_nnode()
1203 offs = branch->offs; in ubifs_read_nnode()
1236 branch->nnode = nnode; in ubifs_read_nnode()
1263 struct ubifs_nbranch *branch; in read_pnode() local
1268 branch = &parent->nbranch[iip]; in read_pnode()
1269 lnum = branch->lnum; in read_pnode()
1270 offs = branch->offs; in read_pnode()
1304 branch->pnode = pnode; in read_pnode()
[all …]
Dlpt_commit.c912 struct ubifs_nbranch *branch; in make_nnode_dirty() local
914 branch = &nnode->parent->nbranch[nnode->iip]; in make_nnode_dirty()
915 if (branch->lnum != lnum || branch->offs != offs) in make_nnode_dirty()
956 struct ubifs_nbranch *branch; in make_pnode_dirty() local
961 branch = &pnode->parent->nbranch[pnode->iip]; in make_pnode_dirty()
962 if (branch->lnum != lnum || branch->offs != offs) in make_pnode_dirty()
1523 struct ubifs_nbranch *branch; in dbg_is_nnode_dirty() local
1527 branch = &nnode->parent->nbranch[nnode->iip]; in dbg_is_nnode_dirty()
1528 if (branch->lnum != lnum || branch->offs != offs) in dbg_is_nnode_dirty()
1557 struct ubifs_nbranch *branch; in dbg_is_pnode_dirty() local
[all …]
/linux-4.4.14/drivers/usb/host/
Dohci-q.c110 int i, branch = -ENOSPC; in balance() local
120 if (branch < 0 || ohci->load [branch] > ohci->load [i]) { in balance()
130 branch = i; in balance()
133 return branch; in balance()
148 ed, ed->branch, ed->load, ed->interval); in periodic_link()
150 for (i = ed->branch; i < NUM_INTS; i += ed->interval) { in periodic_link()
184 int branch; in ed_schedule() local
247 branch = balance (ohci, ed->interval, ed->load); in ed_schedule()
248 if (branch < 0) { in ed_schedule()
251 branch, ed->interval, ed->load); in ed_schedule()
[all …]
Dsl811-hcd.c450 "deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); in finish_request()
451 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) { in finish_request()
461 ep->branch = PERIODIC_SIZE; in finish_request()
765 int i, branch = -ENOSPC; in balance() local
771 if (branch < 0 || sl811->load[branch] > sl811->load[i]) { in balance()
781 branch = i; in balance()
784 return branch; in balance()
876 ep->branch = PERIODIC_SIZE; in sl811h_urb_enqueue()
900 if (ep->branch < PERIODIC_SIZE) { in sl811h_urb_enqueue()
907 + ep->branch; in sl811h_urb_enqueue()
[all …]
Disp116x-hcd.c322 DBG("deschedule qh%d/%p branch %d\n", ep->period, ep, ep->branch); in finish_request()
323 for (i = ep->branch; i < PERIODIC_SIZE; i += ep->period) { in finish_request()
333 ep->branch = PERIODIC_SIZE; in finish_request()
653 int i, branch = -ENOSPC; in balance() local
658 if (branch < 0 || isp116x->load[branch] > isp116x->load[i]) { in balance()
668 branch = i; in balance()
671 return branch; in balance()
755 ep->branch = PERIODIC_SIZE; in isp116x_urb_enqueue()
780 if (ep->branch < PERIODIC_SIZE) in isp116x_urb_enqueue()
783 ep->branch = ret = balance(isp116x, ep->period, ep->load); in isp116x_urb_enqueue()
[all …]
Disp1362-hcd.c334 ptd->faddr |= PTD_SF_INT(ep->branch); in prepare_ptd()
486 ep, ep->branch, ep->load, in finish_request()
487 isp1362_hcd->load[ep->branch], in finish_request()
488 isp1362_hcd->load[ep->branch] - ep->load); in finish_request()
489 isp1362_hcd->load[ep->branch] -= ep->load; in finish_request()
490 ep->branch = PERIODIC_SIZE; in finish_request()
1184 int i, branch = -ENOSPC; in balance() local
1190 if (branch < 0 || isp1362_hcd->load[branch] > isp1362_hcd->load[i]) { in balance()
1202 branch = i; in balance()
1205 return branch; in balance()
[all …]
Dsl811.h183 u16 branch; member
Dohci.h63 u8 branch; member
Disp116x.h318 u16 branch; member
Disp1362.h447 u8 branch; member
Dohci-hcd.c247 frame |= ed->branch; in ohci_urb_enqueue()
/linux-4.4.14/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)
/linux-4.4.14/arch/tile/kernel/
Dftrace.c219 unsigned long branch = ftrace_gen_branch(pc, caller_fn, false); in __ftrace_modify_caller() local
221 unsigned long old = enable ? nop : branch; in __ftrace_modify_caller()
222 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller()
/linux-4.4.14/arch/arm/kernel/
Dftrace.c238 unsigned long branch = arm_gen_branch(pc, caller_fn); in __ftrace_modify_caller() local
240 unsigned long old = enable ? nop : branch; in __ftrace_modify_caller()
241 unsigned long new = enable ? branch : nop; in __ftrace_modify_caller()
Dhead.S97 THUMB( it eq ) @ force fixup-able long branch encoding
104 THUMB( it lo ) @ force fixup-able long branch encoding
391 THUMB( it eq ) @ force fixup-able long branch encoding
Dentry-armv.S1051 @ the branch table must immediately follow this code
1058 movs pc, lr @ branch to handler in SVC mode
/linux-4.4.14/Documentation/devicetree/bindings/clock/
Dlpc1850-ccu.txt5 branch clocks are distributed between CCU1 and CCU2.
20 are the branch clock names defined in table below.
35 Which branch clocks that are available on the CCU depends on the
Dlpc1850-cgu.txt6 Control Units (CCUs) which control the branch clocks to the
/linux-4.4.14/arch/x86/kernel/
Duprobes.c589 return auprobe->branch.opc1 == 0xe8; in branch_is_call()
625 switch (auprobe->branch.opc1) { in check_jmp_cond()
642 unsigned long new_ip = regs->ip += auprobe->branch.ilen; in branch_emulate_op()
643 unsigned long offs = (long)auprobe->branch.offs; in branch_emulate_op()
742 auprobe->branch.opc1 = opc1; in branch_setup_xol_ops()
743 auprobe->branch.ilen = insn->length; in branch_setup_xol_ops()
744 auprobe->branch.offs = insn->immediate.value; in branch_setup_xol_ops()
Dparavirt.c87 struct branch { struct
97 struct branch *b = insnbuf; in paravirt_patch_call() argument
115 struct branch *b = insnbuf; in paravirt_patch_jmp()
/linux-4.4.14/Documentation/ia64/
Dxen.txt129 2. git branch (if necessary)
132 (Note: The current branch is xen-ia64-domu-minimal-2008may19.
133 But you would find the new branch. You can see with
134 "git branch -r" to get the branch lists.
Dfsys.txt207 PSR.tb Lazy redirect. If a taken-branch trap occurs while in
211 taken branch would occur on the branch invoking the
215 return will trigger a taken-branch trap, but since the trap is
/linux-4.4.14/scripts/coccinelle/locks/
Dmini_lock.cocci2 /// where the unlock is missing from an if branch, and there is a lock
4 /// cases where the if branch represents a case where the function is
/linux-4.4.14/kernel/
Djump_label.c180 bool branch = jump_entry_branch(entry); in jump_label_type() local
183 return enabled ^ branch; in jump_label_type()
241 bool branch = jump_entry_branch(entry); in jump_label_init_type() local
244 return type ^ branch; in jump_label_init_type()
/linux-4.4.14/Documentation/development-process/
D7.AdvancedTopics57 of development can be separated into a separate "topic branch" and
60 development in any branch which you intend to ask others to pull from.
71 shifted from one branch to another. And so on. Judicious use of git's
99 edge. For a private branch, rebasing can be an easy way to keep up with
106 perform test merges in a private branch. The git "rerere" tool can be
125 branch stick closely to the associated topic; a "driver fixes" branch
138 your tree is, what branch to pull, and what changes will result from the
/linux-4.4.14/arch/mips/pmcs-msp71xx/
DPlatform6 -mno-branch-likely
/linux-4.4.14/arch/m68k/fpsp040/
Dx_snan.S53 bnes ena |If enabled, then branch
59 | inex2 or inex1 occurred, we must clean up and branch to the
148 beqs sto_long |branch if move_out long
151 beqs sto_word |branch if move_out word
154 beqs sto_byte |branch if move_out byte
Dx_bsun.S4 | fpsp_bsun --- FPSP handler for branch/set on unordered exception
Dx_store.S81 beq opc011 |branch if opclass 3
92 beq dest_ext |then branch
94 beq dest_sgl |then branch
Dkernel_ex.S80 beqs p_inf |branch if pos sign
291 beqs dst_snan |branch if signalling
344 beqs src_dis |branch if disabled
Dx_operr.S291 beqs not_true_operr |branch if not true operr
293 beqs not_true_operr |branch if not true operr
323 | inex2 or inex1 occurred, we must clean up and branch to the
Dx_unfl.S82 | inex2 or inex1 occurred, we must clean up and branch to the
117 beqs e1_set |if set then branch
Dround.S342 beqs all_clr |branch if none set
345 bmis greater |then branch
426 bnes not_ext |else branch
444 bpls chk_stky |then branch (all bits would be
457 bpls chk_stky |then branch (all bits would be
Dsetox.S73 | is also in the compact form. Thus taking the branch
76 | but close to, 16380 log(2) and the branch to Step 9 is
80 | 2.1 Set AdjFlag := 0 (indicates the branch 1.3 -> 2 was taken)
480 |--This is the normal branch: 2^(-65) <= |X| < 16380 log2.
Dsgetem.S112 bnes upper |then branch
Dbindec.S253 fbge pos_res |if pos, branch
306 tstl %d7 |branch on sign of k
315 tstl %d4 |LEN check: branch on sign of LEN
Dsint.S145 bgts out_rnge |branch if exp < 63
Ddo_func.S106 bnes ld_mzinx |if negative, branch
126 bne ld_minf |if negative branch
Dbinstr.S111 | A6. Test d7 and branch.
Dskeleton.S94 | or unfl bits set in the fpsr. If any of these are set, branch
Dfpsp.h229 .set bsun_bit,7 | branch on unordered
Dres_func.S61 beqs monadic |then branch
1493 bne int_dnrm |if so, branch
1583 bne int_dnrm |branch if so
Dbugfix.S172 | Simply branch to fix_done and exit normally.
Dutil.S356 beql unf_e1_exc |branch to e1 underflow
/linux-4.4.14/fs/ext2/
Dinode.c359 ext2_blks_to_allocate(Indirect * branch, int k, unsigned long blks, in ext2_blks_to_allocate() argument
379 && le32_to_cpu(*(branch[0].p + count)) == 0) { in ext2_blks_to_allocate()
475 int *offsets, Indirect *branch) in ext2_alloc_branch() argument
490 branch[0].key = cpu_to_le32(new_blocks[0]); in ext2_alloc_branch()
505 branch[n].bh = bh; in ext2_alloc_branch()
508 branch[n].p = (__le32 *) bh->b_data + offsets[n]; in ext2_alloc_branch()
509 branch[n].key = cpu_to_le32(new_blocks[n]); in ext2_alloc_branch()
510 *branch[n].p = branch[n].key; in ext2_alloc_branch()
519 *(branch[n].p + i) = cpu_to_le32(++current_block); in ext2_alloc_branch()
536 bforget(branch[i].bh); in ext2_alloc_branch()
/linux-4.4.14/fs/ext4/
Dindirect.c269 static int ext4_blks_to_allocate(Indirect *branch, int k, unsigned int blks, in ext4_blks_to_allocate() argument
289 le32_to_cpu(*(branch[0].p + count)) == 0) { in ext4_blks_to_allocate()
325 Indirect *branch) in ext4_alloc_branch() argument
344 branch[i].key = cpu_to_le32(new_blocks[i]); in ext4_alloc_branch()
348 bh = branch[i].bh = sb_getblk(ar->inode->i_sb, new_blocks[i-1]); in ext4_alloc_branch()
362 p = branch[i].p = (__le32 *) bh->b_data + offsets[i]; in ext4_alloc_branch()
388 if (i > 0 && i != indirect_blks && branch[i].bh) in ext4_alloc_branch()
389 ext4_forget(handle, 1, ar->inode, branch[i].bh, in ext4_alloc_branch()
390 branch[i].bh->b_blocknr); in ext4_alloc_branch()
/linux-4.4.14/lib/
Dtest_static_keys.c49 #define test_key_func(key, branch) \ argument
50 ({bool func(void) { return branch(key); } func; })
/linux-4.4.14/Documentation/filesystems/
Dext3.txt6 for the 2.2 branch, and ported to 2.4 kernels by Peter Braam, Andreas Dilger,
/linux-4.4.14/arch/m68k/ifpsp060/
Dilsp.doc71 function. A branch instruction located at the selected entry point
90 bsr.l _060LISP_TOP+0x18 # branch to multiply routine
105 bsr.l _060LISP_TOP+0x08 # branch to divide routine
122 bsr.l _060LSP_TOP_+0x48 # branch to "cmp2" routine
Dfplsp.doc72 function. A branch instruction located at the selected entry point
88 bsr.l _060FPLSP_TOP+0x1a8 # branch to fsin routine
100 bsr.l _060FPLSP_TOP+0x168 # branch to frem routine
Dfskeleton.S210 | Illegals branch here.
224 | exceptions branch here.
246 | discovers that the trap condition is true and it should branch to the operating
/linux-4.4.14/arch/arc/lib/
Dstrchr-700.S44 breq r7,0,.Loop ; For speed, we want this branch to be unaligned.
48 breq r12,0,.Loop ; For speed, we want this branch to be unaligned.
/linux-4.4.14/arch/mips/
DKconfig.debug119 prompt "Compact branch policy"
127 of the compact branch instructions introduced by MIPSr6. This is
135 it to make use of compact branch instructions where it deems them
144 force it to always emit compact branches, making no use of branch
/linux-4.4.14/arch/s390/boot/compressed/
Dhead.S24 # setup registers for memory mover & branch to target
/linux-4.4.14/tools/testing/ktest/examples/include/
Dpatchcheck.conf32 PATCH_CHECKOUT := test/branch
/linux-4.4.14/drivers/clk/qcom/
DMakefile8 clk-qcom-y += clk-branch.o
/linux-4.4.14/arch/arm/mach-uniphier/
Dheadsmp.S33 bxeq r1 @ branch to secondary_startup
/linux-4.4.14/arch/m68k/include/uapi/asm/
Dbootinfo.h163 __be16 branch; member
/linux-4.4.14/drivers/net/wimax/i2400m/
Dcontrol.c1020 unsigned major, minor, branch; in i2400m_firmware_check() local
1056 branch = le16_to_cpu(l4mv->branch); in i2400m_firmware_check()
1060 "%u.%u.%u\n", major, minor, branch); in i2400m_firmware_check()
1066 major, minor, branch); in i2400m_firmware_check()
1070 major, minor, branch); in i2400m_firmware_check()
/linux-4.4.14/arch/mips/loongson64/
DPlatform30 cflags-$(CONFIG_MACH_LOONGSON64) += -I$(srctree)/arch/mips/include/asm/mach-loongson64 -mno-branch-…
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-events2 /sys/devices/cpu/events/branch-misses
6 /sys/devices/cpu/events/branch-instructions
Dsysfs-devices-edac132 branch/channel/slot or channel/slot) of the dimm or rank.
Dsysfs-bus-coresight-devices-etm4x91 P0 instruction tracing, branch broadcast, cycle counting and
136 use branch broadcasting.
/linux-4.4.14/arch/c6x/lib/
Dremu.S59 ;; RETURN A may happen here (note: must happen before the next branch)
73 ;; loop backwards branch happens here
Ddivremu.S57 ;; RETURN A may happen here (note: must happen before the next branch)
75 ;; loop backwards branch happens here
Ddivu.S69 ;; RETURN A may happen here (note: must happen before the next branch)
87 ;; loop backwards branch happens here
Dstrasgi.S73 ;; loop back branch happens here
/linux-4.4.14/drivers/mfd/
Ddb8500-prcmu.c455 int branch; member
1493 int branch) in pll_rate() argument
1516 if ((branch == PLL_FIX) || ((branch == PLL_DIV) && in pll_rate()
1548 rate = pll_rate(PRCM_PLLSOC0_FREQ, rate, clk_mgt[clock].branch); in clock_rate()
1550 rate = pll_rate(PRCM_PLLSOC1_FREQ, rate, clk_mgt[clock].branch); in clock_rate()
1552 rate = pll_rate(PRCM_PLLDDR_FREQ, rate, clk_mgt[clock].branch); in clock_rate()
1660 static unsigned long clock_source_rate(u32 clk_mgt_val, int branch) in clock_source_rate() argument
1666 return pll_rate(PRCM_PLLSOC0_FREQ, ROOT_CLOCK_RATE, branch); in clock_source_rate()
1668 return pll_rate(PRCM_PLLSOC1_FREQ, ROOT_CLOCK_RATE, branch); in clock_source_rate()
1670 return pll_rate(PRCM_PLLDDR_FREQ, ROOT_CLOCK_RATE, branch); in clock_source_rate()
[all …]
/linux-4.4.14/Documentation/networking/
D6lowpan.txt48 In case of generic 6lowpan branch ("net/6lowpan") you can remove the check
Dfilter.txt199 The instruction set consists of load, store, branch, alu, miscellaneous
1241 accesses memory with correct alignment in one side of 'if' branch, but fails
1242 to do so in the other side of 'if' branch:
Dpacket_mmap.txt258 In kernel versions prior to 2.4.26 (for the 2.4 branch) and 2.6.5 (2.6 branch),
/linux-4.4.14/arch/powerpc/perf/
Dpower7-pmu.c383 GENERIC_EVENT_ATTR(branch-instructions, PM_BRU_FIN);
384 GENERIC_EVENT_ATTR(branch-misses, PM_BR_MPRED);
/linux-4.4.14/arch/c6x/kernel/
Dvectors.S51 MVKL .S1 _c_int00,A0 ; branch to _c_int00
Dentry.S240 BNOP .S2 B0,5 ; branch to syscall handler
/linux-4.4.14/Documentation/virtual/kvm/
Dreview-checklist.txt7 2. Patches should be against kvm.git master branch.
Dppc-pv.txt186 4) patch the original instruction to branch to the new code
/linux-4.4.14/arch/arm/mach-omap2/
Dsram242x.S127 bhi volt_delay @ not yet->branch
164 cmp r0, #0x1 @ going to half speed (post branch link)
222 bhi volt_delay_c @ not yet->branch
Dsram243x.S127 bhi volt_delay @ not yet->branch
164 cmp r0, #0x1 @ going to half speed (post branch link)
222 bhi volt_delay_c @ not yet->branch
/linux-4.4.14/Documentation/frv/
Datomic-ops.txt61 (2) The branch from step (5) back to step (1) may have to happen more than once until the store
105 Such that the branch can then be taken if the operation was aborted.
/linux-4.4.14/tools/perf/arch/x86/util/
Dintel-bts.c57 struct branch { struct
456 btsr->itr.alignment = sizeof(struct branch); in intel_bts_recording_init()
/linux-4.4.14/kernel/trace/
DKconfig280 The branch profiling is a software profiler. It will add hooks
281 into the C conditionals to test which path a branch takes.
286 The "all branch" profiler will profile every if-statement in the
291 If unsure, choose "No branch profiling".
294 bool "No branch profiling"
296 No branch profiling. Branch profiling adds a bit of overhead.
316 This tracer profiles all branch conditions. Every if ()
Dtrace_entries.h307 FTRACE_ENTRY(branch, trace_branch,
/linux-4.4.14/include/uapi/linux/wimax/
Di2400m.h482 __le16 branch; member
/linux-4.4.14/arch/xtensa/lib/
Dmemset.S114 bbci.l a5, 0, .L20 # branch if dst alignment half-aligned
/linux-4.4.14/arch/
DKconfig56 This option enables a transparent branch optimization that
57 makes certain almost-always-true or almost-always-false branch
70 This technique lowers overhead and stress on the branch prediction
81 Boot time self-test of the branch patching code.
/linux-4.4.14/arch/mips/dec/
Dint-handler.S165 # a trick to save a branch:
/linux-4.4.14/arch/xtensa/kernel/
Dvectors.S639 # branch to user or kernel vector
694 bbsi.l a0, PS_UM_BIT, 1f # branch if user mode
/linux-4.4.14/arch/alpha/lib/
Dev6-copy_user.S66 ble $1, $onebyteloop # .. .. U .. : 1st branch : small amount of data
/linux-4.4.14/Documentation/powerpc/
Dcpu_features.txt25 index, structure dereference, and conditional branch were added. To avoid the
Dpmu-ebb.txt5 branch directly to a specified user space address when certain events occur.
Dtransactional_memory.txt59 'tbegin+4'. The branch to abort_handler will be taken this second time; the
/linux-4.4.14/arch/mips/kernel/
DMakefile7 obj-y += cpu-probe.o branch.o elf.o entry.o genex.o idle.o irq.o \
/linux-4.4.14/arch/arm/lib/
Ddiv64.S143 @ If possible, branch for another shift in the division loop.
/linux-4.4.14/arch/sparc/kernel/
Dwof.S95 be,a spwin_fromuser ! all user wins, branch
Dtsb.S313 or %g3, 0x7c, %g3 ! Compute branch offset
/linux-4.4.14/arch/parisc/kernel/
Dperf_asm.S154 blr %r1,%r0 ; branch to 8-instruction sequence
1391 blr %r1,%r0 ; branch to 8-instruction sequence
/linux-4.4.14/Documentation/trace/
Dtracepoints.txt18 (checking a condition for a branch) and space penalty (adding a few
Dftrace-design.txt356 "branch" type instruction. Specifically, the function is:
Dftrace.txt806 branch - Enable branch tracing with the tracer.
/linux-4.4.14/arch/m68k/ifpsp060/src/
Disp.S32 # effect, branches to one of the branch table entries located
896 # _imem_read_word(); fetch may fail -> branch to #
903 # _imem_read_word(); fetch may fail -> branch to #
Dilsp.S32 # effect, branches to one of the branch table entries located here.
205 beq.b ldqpos # branch to quot positive
Dfpsp.S33 # effect, branches to one of the branch table entries located
1355 # branch to _real_inex() (even if the result was exact!);
1933 # branch to _real_inex() (even if the result was exact!);
3859 # Instruction exception stack frame else branch to the OS entry
4388 # restore a bsun exception into the machine, and branch to the user
4420 bra.l _real_bsun # branch to user bsun hook
16275 # finally executed, the branch occurs. #
16330 # For the IEEE nonaware tests, only the false branch changes the #
16331 # counter. However, the true branch may set bsun so we check to see #
16337 # Typically, only one of the two possible branch directions could #
[all …]
Dpfpsp.S32 # effect, branches to one of the branch table entries located
1354 # branch to _real_inex() (even if the result was exact!);
1932 # branch to _real_inex() (even if the result was exact!);
Dfplsp.S33 # effect, branches to one of the branch table entries located here.
424 set bsun_bit, 7 # branch on unordered
6728 # form. Thus taking the branch to Step 2 guarantees #
6731 # 16380 log(2) and the branch to Step 9 is taken. #
6734 # 2.1 Set AdjFlag := 0 (indicates the branch 1.3 -> 2 #
7120 #--This is the normal branch: 2^(-65) <= |X| < 16380 log2.
9312 # Source is outside of 2^14 range. Test the sign and branch
/linux-4.4.14/arch/arm/mm/
Dabort-lv4t.S33 add pc, pc, r7, lsr #22 @ Now branch to the relevant processing routine
DKconfig791 bool "Disable branch prediction"
794 Say Y here to disable branch prediction. If unsure, say N.
/linux-4.4.14/arch/unicore32/kernel/
Dentry.S713 @ the branch table must immediately follow this code
719 mov.a pc, lr @ branch to handler in PRIV mode
/linux-4.4.14/drivers/video/fbdev/
Dpxafb.c85 struct fb_var_screeninfo *var, int branch);
1106 int branch) in setup_base_frame() argument
1112 dma = DMA_BASE + (branch ? DMA_MAX : 0); in setup_base_frame()
1113 pal = (bpp >= 16) ? PAL_NONE : PAL_BASE + (branch ? PAL_MAX : 0); in setup_base_frame()
/linux-4.4.14/arch/sparc/mm/
Dultra.S189 be,pn %xcc, 2f ! Nope, branch
192 bne,pt %xcc, 2f ! Nope, branch
/linux-4.4.14/arch/arm/
DKconfig1051 bool "ARM errata: Stale prediction on replaced interworking branch"
1056 interworking branch is replaced with another code sequence at the
1059 stale interworking branch prediction. This results in Cortex-A8
1062 and also flushes the branch target cache at every context switch.
1574 bool "Work around buggy Thumb-2 short branch relocations in gas"
1580 branch instructions.
1584 trampoline, are within range of the branch. For this reason, the
/linux-4.4.14/arch/mips/kvm/
Dlocore.S243 nop #08: branch delay slot
/linux-4.4.14/Documentation/isdn/
DREADME.concap59 isdn network interfaces I could have introduced yet another branch to
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event.c1610 EVENT_ATTR(branch-instructions, BRANCH_INSTRUCTIONS );
1611 EVENT_ATTR(branch-misses, BRANCH_MISSES );
/linux-4.4.14/arch/s390/kernel/
Dentry.S522 basr %r14,%r1 # branch to interrupt-handler
547 lpswe __LC_RETURN_PSW # branch to .Lsysc_per and enable irqs
/linux-4.4.14/Documentation/RCU/
Drcu_dereference.txt198 optimizations that leverage the branch-prediction hardware are
/linux-4.4.14/drivers/firewire/
Dohci.c1056 __le16 branch; in find_branch_descriptor() local
1058 branch = d->control & cpu_to_le16(DESCRIPTOR_BRANCH_ALWAYS); in find_branch_descriptor()
1061 if (z == 2 && branch == cpu_to_le16(DESCRIPTOR_BRANCH_ALWAYS)) in find_branch_descriptor()
/linux-4.4.14/arch/arm/crypto/
Dsha1-armv4-large.S32 @ i-cache availability, branch penalties, etc.
/linux-4.4.14/Documentation/timers/
DNO_HZ.txt238 by providing a simple OS-jitter test suite, which is available on branch
/linux-4.4.14/Documentation/s390/
DDebugging390.txt600 4) The basr ( branch relative & save ) trick works as follows the instruction
640 # address using branch & save instruction.
839 if you were inclined you could add traces for all branch instructions &
845 to branch to 0 & crashing as this will stop at the address before in jumps to 0.
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_main.c9505 static void i40e_switch_branch_release(struct i40e_veb *branch) in i40e_switch_branch_release() argument
9507 struct i40e_pf *pf = branch->pf; in i40e_switch_branch_release()
9508 u16 branch_seid = branch->seid; in i40e_switch_branch_release()
9509 u16 veb_idx = branch->idx; in i40e_switch_branch_release()
9516 if (pf->veb[i]->uplink_seid == branch->seid) in i40e_switch_branch_release()
/linux-4.4.14/Documentation/DocBook/
Dgpu.xml.db357 API-struct-drm-dp-mst-branch
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.reg3614 * Interrupt branch address for SCS SEQ_INT1 mode 0 and 1 interrupts.
3640 * Interrupt branch address for HST_SEQ_INT2 interrupts.
Daic79xx.seq1870 * First instruction in an ISR cannot be a branch on
/linux-4.4.14/Documentation/sound/alsa/
DHD-Audio.txt653 The master branch or for-next branches can be used as the main
/linux-4.4.14/
DMAINTAINERS43 your changes in a branch derived from Linus' latest git tree.