Home
last modified time | relevance | path

Searched refs:depth (Results 1 – 25 of 151) sorted by relevance

1234567

/arch/powerpc/platforms/powernv/
Dopal-tracepoints.c51 unsigned int *depth; in __trace_opal_entry() local
55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry()
57 if (*depth) in __trace_opal_entry()
60 (*depth)++; in __trace_opal_entry()
63 (*depth)--; in __trace_opal_entry()
72 unsigned int *depth; in __trace_opal_exit() local
76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit()
78 if (*depth) in __trace_opal_exit()
81 (*depth)++; in __trace_opal_exit()
84 (*depth)--; in __trace_opal_exit()
/arch/sh/oprofile/
Dbacktrace.c34 unsigned int *depth = data; in backtrace_address() local
36 if ((*depth)--) in backtrace_address()
71 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument
78 if (depth > backtrace_limit) in sh_backtrace()
79 depth = backtrace_limit; in sh_backtrace()
83 if (depth) in sh_backtrace()
85 &backtrace_ops, &depth); in sh_backtrace()
89 while (depth-- && (stackaddr != NULL)) in sh_backtrace()
/arch/x86/oprofile/
Dbacktrace.c47 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
56 while (depth-- && head) in x86_backtrace_32()
64 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) in x86_backtrace_32() argument
91 x86_backtrace(struct pt_regs * const regs, unsigned int depth) in x86_backtrace() argument
99 if (!depth) in x86_backtrace()
104 if (!--depth) in x86_backtrace()
115 if (!--depth) in x86_backtrace()
122 if (x86_backtrace_32(regs, depth)) in x86_backtrace()
125 while (depth-- && head) in x86_backtrace()
/arch/metag/oprofile/
Dbacktrace.c16 static void user_backtrace_fp(unsigned long __user *fp, unsigned int depth) in user_backtrace_fp() argument
18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) { in user_backtrace_fp()
38 unsigned int *depth = data; in kernel_backtrace_frame() local
43 if ((*depth)-- == 0) in kernel_backtrace_frame()
50 void metag_backtrace(struct pt_regs * const regs, unsigned int depth) in metag_backtrace() argument
54 user_backtrace_fp((unsigned long __user __force *)fp, depth); in metag_backtrace()
61 walk_stackframe(&frame, &kernel_backtrace_frame, &depth); in metag_backtrace()
Dbacktrace.h5 void metag_backtrace(struct pt_regs * const regs, unsigned int depth);
/arch/s390/kernel/
Dtrace.c20 unsigned int *depth; in trace_s390_diagnose_norecursion() local
26 depth = this_cpu_ptr(&diagnose_trace_depth); in trace_s390_diagnose_norecursion()
27 if (*depth == 0) { in trace_s390_diagnose_norecursion()
28 (*depth)++; in trace_s390_diagnose_norecursion()
30 (*depth)--; in trace_s390_diagnose_norecursion()
/arch/s390/oprofile/
Dinit.c19 unsigned int *depth = data; in __s390_backtrace() local
21 if (*depth == 0) in __s390_backtrace()
23 (*depth)--; in __s390_backtrace()
28 static void s390_backtrace(struct pt_regs *regs, unsigned int depth) in s390_backtrace() argument
32 dump_trace(__s390_backtrace, &depth, NULL, regs->gprs[15]); in s390_backtrace()
/arch/arm/oprofile/
Dcommon.c64 unsigned int *depth = d; in report_trace() local
66 if (*depth) { in report_trace()
68 (*depth)--; in report_trace()
71 return *depth == 0; in report_trace()
106 static void arm_backtrace(struct pt_regs * const regs, unsigned int depth) in arm_backtrace() argument
113 walk_stackframe(&frame, report_trace, &depth); in arm_backtrace()
117 while (depth-- && tail && !((unsigned long) tail & 3)) in arm_backtrace()
/arch/sh/kernel/
Dreturn_address.c17 void *return_address(unsigned int depth) in return_address() argument
23 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) { in return_address()
42 WARN_ON(i != depth + 1); in return_address()
52 void *return_address(unsigned int depth) in return_address() argument
/arch/mips/oprofile/
Dbacktrace.c134 unsigned int depth) in do_user_backtrace() argument
139 while (depth-- && !unwind_user_frame(frame, max_instr_check)) { in do_user_backtrace()
149 unsigned int depth) { } in do_kernel_backtrace() argument
153 unsigned int depth) in do_kernel_backtrace() argument
155 while (depth-- && frame->pc) { in do_kernel_backtrace()
165 void notrace op_mips_backtrace(struct pt_regs *const regs, unsigned int depth) in op_mips_backtrace() argument
174 do_user_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
176 do_kernel_backtrace(low_addr, &frame, depth); in op_mips_backtrace()
/arch/ia64/oprofile/
Dbacktrace.c28 unsigned int depth; member
93 while (bt->depth-- && next_frame(bt)) { in do_ia64_backtrace()
112 ia64_backtrace(struct pt_regs * const regs, unsigned int depth) in ia64_backtrace() argument
125 bt.depth = depth; in ia64_backtrace()
Dinit.c17 extern void ia64_backtrace(struct pt_regs * const regs, unsigned int depth);
/arch/powerpc/oprofile/
Dbacktrace.c92 void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth) in op_powerpc_backtrace() argument
98 depth += 1; in op_powerpc_backtrace()
101 while (depth--) { in op_powerpc_backtrace()
111 while (depth--) { in op_powerpc_backtrace()
122 while (depth--) { in op_powerpc_backtrace()
/arch/xtensa/oprofile/
Dbacktrace.c20 void xtensa_backtrace(struct pt_regs * const regs, unsigned int depth) in xtensa_backtrace() argument
23 xtensa_backtrace_user(regs, depth, xtensa_backtrace_cb, NULL); in xtensa_backtrace()
25 xtensa_backtrace_kernel(regs, depth, xtensa_backtrace_cb, in xtensa_backtrace()
Dinit.c15 extern void xtensa_backtrace(struct pt_regs *const regs, unsigned int depth);
/arch/xtensa/kernel/
Dstacktrace.c26 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_user() argument
38 if (!depth--) in xtensa_backtrace_user()
64 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--) in xtensa_backtrace_user()
85 if (!depth) in xtensa_backtrace_user()
90 while (a0 != 0 && depth--) { in xtensa_backtrace_user()
110 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth, in xtensa_backtrace_kernel() argument
130 while (a1 > sp_start && a1 < sp_end && depth--) { in xtensa_backtrace_kernel()
144 xtensa_backtrace_user(regs, depth, ufn, data); in xtensa_backtrace_kernel()
/arch/microblaze/kernel/
Dprom.c49 const char *uname, int depth, void *data) in early_init_dt_scan_chosen_serial() argument
54 pr_debug("%s: depth: %d, uname: %s\n", __func__, depth, uname); in early_init_dt_scan_chosen_serial()
56 if (depth == 1 && (strcmp(uname, "chosen") == 0 || in early_init_dt_scan_chosen_serial()
/arch/powerpc/include/asm/
Dbtext.h13 int depth, int pitch);
14 extern void btext_setup_display(int width, int height, int depth, int pitch,
/arch/xtensa/include/asm/
Dstacktrace.h36 void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth,
40 void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth,
/arch/powerpc/kernel/
Dbtext.c120 void __init btext_setup_display(int width, int height, int depth, int pitch, in btext_setup_display() argument
130 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_setup_display()
175 unsigned int width, height, depth, pitch; in btext_initialize() local
196 depth = *prop; in btext_initialize()
197 pitch = width * ((depth + 7) / 8); in btext_initialize()
223 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_initialize()
282 int depth, int pitch) in btext_update_display() argument
296 dispDeviceDepth = depth; in btext_update_display()
/arch/parisc/kernel/
Dftrace.c45 trace.depth = current->curr_ret_stack + 1; in prepare_ftrace_return()
51 if (ftrace_push_return_trace(old, self_addr, &trace.depth, in prepare_ftrace_return()
/arch/sparc/kernel/
Dbtext.c45 unsigned int width, height, depth, pitch; in btext_initialize() local
53 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0) in btext_initialize()
55 pitch = width * ((depth + 7) / 8); in btext_initialize()
79 dispDeviceDepth = depth == 15 ? 16 : depth; in btext_initialize()
/arch/mips/ralink/
Dof.c59 const char *uname, int depth, void *data) in early_init_dt_find_memory() argument
61 if (depth == 1 && !strcmp(uname, "memory@0")) in early_init_dt_find_memory()
/arch/sh/mm/
Dpmb.c64 static void pmb_unmap_entry(struct pmb_entry *, int depth);
489 static void __pmb_unmap_entry(struct pmb_entry *pmbe, int depth) in __pmb_unmap_entry() argument
511 } while (pmbe && --depth); in __pmb_unmap_entry()
514 static void pmb_unmap_entry(struct pmb_entry *pmbe, int depth) in pmb_unmap_entry() argument
522 __pmb_unmap_entry(pmbe, depth); in pmb_unmap_entry()
659 int i = 1, depth = 0; in pmb_merge() local
669 depth = i; in pmb_merge()
683 if (!depth || !pmb_size_valid(newsize)) in pmb_merge()
691 __pmb_unmap_entry(head->link, depth); in pmb_merge()
/arch/powerpc/platforms/pseries/
Dfirmware.c142 depth, void *data) in probe_fw_features() argument
149 if (depth != 1) in probe_fw_features()

1234567