Searched defs:depth (Results 1 - 25 of 40) sorted by relevance

12

/arch/sh/kernel/
H A Dreturn_address.c17 void *return_address(unsigned int depth) argument
23 for (i = 0, frame = NULL, ra = 0; i <= depth; i++) {
41 /* Failed to unwind the stack to the specified depth. */
42 WARN_ON(i != depth + 1);
52 void *return_address(unsigned int depth) argument
/arch/metag/oprofile/
H A Dbacktrace.c16 static void user_backtrace_fp(unsigned long __user *fp, unsigned int depth) argument
18 while (depth-- && access_ok(VERIFY_READ, fp, 8)) {
38 unsigned int *depth = data; local
42 /* decrement depth and stop if we reach 0 */
43 if ((*depth)-- == 0)
50 void metag_backtrace(struct pt_regs * const regs, unsigned int depth) argument
54 user_backtrace_fp((unsigned long __user __force *)fp, depth);
61 walk_stackframe(&frame, &kernel_backtrace_frame, &depth);
/arch/powerpc/platforms/powernv/
H A Dopal-tracepoints.c47 unsigned int *depth; local
51 depth = &__get_cpu_var(opal_trace_depth);
53 if (*depth)
56 (*depth)++;
59 (*depth)--;
68 unsigned int *depth; local
72 depth = &__get_cpu_var(opal_trace_depth);
74 if (*depth)
77 (*depth)++;
80 (*depth)
[all...]
/arch/s390/oprofile/
H A Dbacktrace.c12 __show_trace(unsigned int *depth, unsigned long sp, argument
18 while (*depth) {
23 (*depth)--;
27 while (*depth) {
35 (*depth)--;
40 if (*depth == 0)
48 (*depth)--;
56 void s390_backtrace(struct pt_regs * const regs, unsigned int depth) argument
72 head = __show_trace(&depth, head, S390_lowcore.async_stack - ASYNC_SIZE,
75 __show_trace(&depth, hea
[all...]
/arch/arm/mach-s5pv210/
H A Ds5pv210.c26 int depth, void *data)
25 s5pv210_fdt_map_sys(unsigned long node, const char *uname, int depth, void *data) argument
/arch/avr32/oprofile/
H A Dbacktrace.c55 void avr32_backtrace(struct pt_regs * const regs, unsigned int depth) argument
64 * "depth" steps.
66 while (depth-- && valid_stack_ptr(task_thread_info(current),
76 while (depth-- && head)
/arch/microblaze/kernel/
H A Dprom.c49 const char *uname, int depth, void *data)
54 pr_debug("%s: depth: %d, uname: %s\n", __func__, depth, uname);
56 if (depth == 1 && (strcmp(uname, "chosen") == 0 ||
48 early_init_dt_scan_chosen_serial(unsigned long node, const char *uname, int depth, void *data) argument
/arch/powerpc/kernel/
H A Depapr_paravirt.c37 int depth, void *data)
35 early_init_dt_scan_epapr(unsigned long node, const char *uname, int depth, void *data) argument
/arch/powerpc/oprofile/
H A Dbacktrace.c92 void op_powerpc_backtrace(struct pt_regs * const regs, unsigned int depth) argument
98 depth += 1;
101 while (depth--) {
110 while (depth--) {
121 while (depth--) {
/arch/sh/oprofile/
H A Dbacktrace.c34 unsigned int *depth = data; local
36 if ((*depth)--)
71 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) argument
76 * Paranoia - clip max depth as we could get lost in the weeds.
78 if (depth > backtrace_limit)
79 depth = backtrace_limit;
83 if (depth)
85 &backtrace_ops, &depth);
89 while (depth-- && (stackaddr != NULL))
/arch/xtensa/oprofile/
H A Dbacktrace.c29 static void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth) argument
61 for (index = WSBITS - 1; (index > 0) && depth; depth--, index--)
82 if (depth > 0) {
85 while (a0 != 0 && depth--) {
114 static void xtensa_backtrace_kernel(struct pt_regs *regs, unsigned int depth) argument
131 while (a1 > sp_start && a1 < sp_end && depth--) {
144 return xtensa_backtrace_user(regs, depth);
163 void xtensa_backtrace(struct pt_regs * const regs, unsigned int depth) argument
166 xtensa_backtrace_user(regs, depth);
[all...]
/arch/ia64/oprofile/
H A Dbacktrace.c28 unsigned int depth; member in struct:__anon1834
93 while (bt->depth-- && next_frame(bt)) {
112 ia64_backtrace(struct pt_regs * const regs, unsigned int depth) argument
125 bt.depth = depth;
/arch/parisc/kernel/
H A Dftrace.c25 unsigned long func, int *depth)
43 *depth = index;
68 trace->depth = index;
135 self_addr, &trace.depth) == -EBUSY) {
24 push_return_trace(unsigned long ret, unsigned long long time, unsigned long func, int *depth) argument
/arch/x86/oprofile/
H A Dbacktrace.c28 unsigned int *depth = data; local
30 if ((*depth)--)
66 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) argument
75 while (depth-- && head)
83 x86_backtrace_32(struct pt_regs * const regs, unsigned int depth) argument
110 x86_backtrace(struct pt_regs * const regs, unsigned int depth) argument
116 if (depth)
118 &backtrace_ops, &depth);
122 if (x86_backtrace_32(regs, depth))
125 while (depth
[all...]
/arch/arm/mach-shmobile/
H A Dsetup-rcar-gen2.c123 int depth, void *data)
122 rcar_gen2_scan_mem(unsigned long node, const char *uname, int depth, void *data) argument
/arch/arm/oprofile/
H A Dcommon.c64 unsigned int *depth = d; local
66 if (*depth) {
68 (*depth)--;
71 return *depth == 0;
106 static void arm_backtrace(struct pt_regs * const regs, unsigned int depth) argument
113 walk_stackframe(&frame, report_trace, &depth);
117 while (depth-- && tail && !((unsigned long) tail & 3))
/arch/arm/plat-samsung/
H A Ds5p-dev-mfc.c64 int depth, void *data)
63 s5p_fdt_alloc_mfc_mem(unsigned long node, const char *uname, int depth, void *data) argument
/arch/arm/mach-exynos/
H A Dexynos.c202 int depth, void *data)
201 exynos_fdt_map_chipid(unsigned long node, const char *uname, int depth, void *data) argument
/arch/arm64/kernel/
H A Dtopology.c96 static int __init parse_cluster(struct device_node *cluster, int depth) argument
117 ret = parse_cluster(c, depth + 1);
133 if (depth == 0) {
/arch/mips/oprofile/
H A Dbacktrace.c132 unsigned int depth)
137 while (depth-- && !unwind_user_frame(frame, max_instr_check)) {
147 unsigned int depth) { }
151 unsigned int depth)
153 while (depth-- && frame->pc) {
163 void notrace op_mips_backtrace(struct pt_regs *const regs, unsigned int depth) argument
172 do_user_backtrace(low_addr, &frame, depth);
174 do_kernel_backtrace(low_addr, &frame, depth);
130 do_user_backtrace(unsigned long low_addr, struct stackframe *frame, unsigned int depth) argument
145 do_kernel_backtrace(unsigned long low_addr, struct stackframe *frame, unsigned int depth) argument
149 do_kernel_backtrace(unsigned long low_addr, struct stackframe *frame, unsigned int depth) argument
/arch/tile/kernel/
H A Dirq.c52 * Per-tile IRQ nesting depth. Used to make sure we enable newly
76 int depth = __this_cpu_inc_return(irq_depth); local
133 if (depth == 1)
/arch/ia64/sn/kernel/
H A Dio_acpi_init.c65 sn_acpi_hubdev_init(acpi_handle handle, u32 depth, void *context, void **ret) argument
/arch/mips/sgi-ip27/
H A Dip27-memory.c73 static void router_recurse(klrou_t *router_a, klrou_t *router_b, int depth) argument
82 if (depth >= router_distance)
98 if (depth < router_distance)
99 router_distance = depth;
102 router_recurse(router, router_b, depth + 1);
/arch/sparc/kernel/
H A Dbtext.c44 unsigned int width, height, depth, pitch; local
52 if (prom_getproperty(node, "depth", (char *)&depth, 4) < 0)
54 pitch = width * ((depth + 7) / 8);
78 dispDeviceDepth = depth == 15 ? 16 : depth;
/arch/x86/boot/
H A Dvideo.h69 u16 depth; /* Bits per pixel, 0 for text mode */ member in struct:mode_info

Completed in 579 milliseconds

12