Home
last modified time | relevance | path

Searched refs:stack (Results 26 – 50 of 1188) sorted by relevance

12345678910>>...48

/openbmc/linux/arch/x86/include/asm/
H A Dstacktrace.h31 bool in_task_stack(unsigned long *stack, struct task_struct *task,
34 bool in_entry_stack(unsigned long *stack, struct stack_info *info);
36 int get_stack_info(unsigned long *stack, struct task_struct *task,
38 bool get_stack_info_noinstr(unsigned long *stack, struct task_struct *task,
42 bool get_stack_guard_info(unsigned long *stack, struct stack_info *info) in get_stack_guard_info() argument
45 if (get_stack_info_noinstr(stack, current, info)) in get_stack_guard_info()
48 return get_stack_info_noinstr((void *)stack + PAGE_SIZE, current, info); in get_stack_guard_info()
/openbmc/qemu/util/
H A Dcoroutine-ucontext.c47 void *stack; member
107 if (!leaderp->stack) { in finish_switch_fiber()
108 leaderp->stack = (void *)bottom_old; in finish_switch_fiber()
167 leaderp->stack, leaderp->stack_size); in coroutine_trampoline()
202 co->stack = qemu_alloc_stack(&co->stack_size); in qemu_coroutine_new()
210 uc.uc_stack.ss_sp = co->stack; in qemu_coroutine_new()
216 VALGRIND_STACK_REGISTER(co->stack, co->stack + co->stack_size); in qemu_coroutine_new()
227 start_switch_fiber_asan(&fake_stack_save, co->stack, co->stack_size); in qemu_coroutine_new()
275 start_switch_fiber_asan(NULL, to->stack, to->stack_size); in terminate_asan()
295 qemu_free_stack(co->stack, co->stack_size); in qemu_coroutine_delete()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dstacktrace.c43 unsigned long *stack = (unsigned long *) sp; in arch_stack_walk() local
49 newsp = stack[0]; in arch_stack_walk()
50 ip = stack[STACK_FRAME_LR_SAVE]; in arch_stack_walk()
95 unsigned long *stack = (unsigned long *) sp; in arch_stack_walk_reliable() local
102 newsp = stack[0]; in arch_stack_walk_reliable()
122 stack[STACK_INT_FRAME_MARKER_LONGS] == STACK_FRAME_REGS_MARKER) { in arch_stack_walk_reliable()
127 ip = stack[STACK_FRAME_LR_SAVE]; in arch_stack_walk_reliable()
135 ip = ftrace_graph_ret_addr(task, &graph_idx, ip, stack); in arch_stack_walk_reliable()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/geany/geany-plugins/
H A D0001-scope-Use-0-instead-of-NULL-for-gboolean.patch8 scope/src/stack.c:168:11: error: incompatible pointer to integer conversion initializing 'gboolean'…
16 scope/src/stack.c | 2 +-
19 diff --git a/scope/src/stack.c b/scope/src/stack.c
21 --- a/scope/src/stack.c
22 +++ b/scope/src/stack.c
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/yajl/yajl/
H A DCVE-2023-33460.patch13 ctx->stack = stack->next;
15 v = stack->value;
17 + free (stack->key);
18 free (stack);
25 + while(ctx.stack != NULL) {
/openbmc/linux/arch/loongarch/kernel/
H A Dprocess.c148 unsigned long usp = args->stack; in copy_thread()
232 bool in_irq_stack(unsigned long stack, struct stack_info *info) in in_irq_stack() argument
238 if (stack < begin || stack >= end) in in_irq_stack()
253 bool in_task_stack(unsigned long stack, struct task_struct *task, in in_task_stack() argument
259 if (stack < begin || stack >= end) in in_task_stack()
270 int get_stack_info(unsigned long stack, struct task_struct *task, in get_stack_info() argument
275 if (!stack || stack & (SZREG - 1)) in get_stack_info()
278 if (in_task_stack(stack, task, info)) in get_stack_info()
284 if (in_irq_stack(stack, info)) in get_stack_info()
/openbmc/linux/fs/jfs/
H A Djfs_btree.h108 struct btframe stack[MAXTREEHEIGHT]; member
112 (btstack)->top = (btstack)->stack
115 ( (btstack)->top == &((btstack)->stack[MAXTREEHEIGHT-1]))
126 ( (btstack)->top == (btstack)->stack ? NULL : --(btstack)->top )
129 ( (btstack)->top == (btstack)->stack ? NULL : (btstack)->top )
137 (long long)btstack->stack[i].bn, in BT_STACK_DUMP()
138 btstack->stack[i].index); in BT_STACK_DUMP()
/openbmc/linux/arch/loongarch/
H A DKconfig.debug5 This determines which method will be used for unwinding kernel stack
6 traces for panics, oopses, bugs, warnings, perf, /proc/<pid>/stack,
12 This option enables the "guess" unwinder for unwinding kernel stack
13 traces. It scans the stack and reports every kernel text address it
23 This option enables the "prologue" unwinder for unwinding kernel stack
24 traces. It unwind the stack frame based on prologue code analyze. Symbol
/openbmc/linux/sound/soc/sof/mediatek/
H A Dmtk-adsp-common.c32 u32 *stack, size_t stack_words) in mtk_adsp_get_registers() argument
50 sof_mailbox_read(sdev, offset, stack, stack_words * sizeof(u32)); in mtk_adsp_get_registers()
64 u32 stack[MTK_ADSP_STACK_DUMP_SIZE]; in mtk_adsp_dump() local
75 mtk_adsp_get_registers(sdev, &xoops, &panic_info, stack, in mtk_adsp_dump()
80 stack, MTK_ADSP_STACK_DUMP_SIZE); in mtk_adsp_dump()
/openbmc/linux/scripts/kconfig/
H A Dsymbol.c977 memset(stack, 0, sizeof(*stack)); in dep_stack_insert()
981 stack->sym = sym; in dep_stack_insert()
982 check_top = stack; in dep_stack_insert()
1010 for (stack = check_top; stack != NULL; stack = stack->prev) in sym_check_print_recursive()
1013 if (!stack) { in sym_check_print_recursive()
1018 for (; stack; stack = stack->next) { in sym_check_print_recursive()
1019 sym = stack->sym; in sym_check_print_recursive()
1020 next_sym = stack->next ? stack->next->sym : last_sym; in sym_check_print_recursive()
1144 stack.expr = NULL; in sym_check_sym_deps()
1150 stack.prop = prop; in sym_check_sym_deps()
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-ocfs238 * 'o2cb' - The classic o2cb cluster stack that ocfs2 has
62 the cluster stack in use. The contents may change
63 when all filesystems are unmounted and the cluster stack
71 of current ocfs2 cluster stack. This value is set by
72 userspace tools when bringing the cluster stack online.
74 Cluster stack names are 4 characters in length.
76 When the 'o2cb' cluster stack is used, the 'o2cb' cluster
81 cluster stack on a single line.
83 Writing a new stack name to this file changes the current
84 cluster stack unless there are mounted ocfs2 filesystems.
[all …]
/openbmc/libbej/src/
H A Dbej_encoder_metadata.c538 struct BejPointerStackCallback* stack) in bejProcessChildNodes() argument
555 RETURN_IF_IERROR(stack->stackPush(childPtr, stack->stackContext)); in bejProcessChildNodes()
579 struct BejPointerStackCallback* stack) in bejUpdateNodeMetadata() argument
596 RETURN_IF_IERROR(stack->stackPush(root, stack->stackContext)); in bejUpdateNodeMetadata()
598 while (!stack->stackEmpty(stack->stackContext)) in bejUpdateNodeMetadata()
604 stack->stackPeek(stack->stackContext); in bejUpdateNodeMetadata()
609 RETURN_IF_IERROR(bejProcessChildNodes(dictionaries, parent, stack)); in bejUpdateNodeMetadata()
614 if (parent != stack->stackPeek(stack->stackContext)) in bejUpdateNodeMetadata()
624 parent = stack->stackPop(stack->stackContext); in bejUpdateNodeMetadata()
636 stack->stackPeek(stack->stackContext); in bejUpdateNodeMetadata()
/openbmc/u-boot/arch/arm/lib/
H A Dvectors.S158 @ IRQ stack frame.
191 @ carve out a frame on current user stack
197 add r0, sp, #S_FRAME_SIZE @ grab pointer to old stack
201 mov r0, sp @ save current stack into r0 (param register)
207 @ !!!! R8 NEEDS to be saved !!!! a reserved stack spot would be good.
226 ldr r13, IRQ_STACK_START_IN @ setup our mode stack
228 str lr, [r13] @ save caller lr in position 0 of saved stack
230 str lr, [r13, #4] @ save spsr in position 1 of saved stack
238 .macro get_irq_stack @ setup IRQ stack
242 .macro get_fiq_stack @ setup FIQ stack
/openbmc/linux/security/
H A DKconfig.hardening8 stack variable initializations, this warning is silenced for
38 prompt "Initialize kernel stack variables at function entry"
44 This option enables initialization of stack variables at
58 Disable automatic stack variable initialization.
60 classes of uninitialized stack variable exploits
69 Zero-initialize any structures on the stack containing
71 uninitialized stack variable exploits and information
82 Zero-initialize any structures on the stack that may
101 Zero-initialize any stack variables that may be passed
138 classes of uninitialized stack variable exploits and
[all …]
/openbmc/linux/arch/powerpc/include/asm/
H A Dxics.h107 unsigned char stack[MAX_NUM_PRIORITIES]; member
121 os_cppr->stack[++os_cppr->index] = IPI_PRIORITY; in xics_push_cppr()
123 os_cppr->stack[++os_cppr->index] = DEFAULT_PRIORITY; in xics_push_cppr()
133 return os_cppr->stack[--os_cppr->index]; in xics_pop_cppr()
145 os_cppr->stack[0] = cppr; in xics_set_base_cppr()
152 return os_cppr->stack[os_cppr->index]; in xics_cppr_top()
/openbmc/linux/sound/soc/sof/imx/
H A Dimx-common.c26 u32 *stack, size_t stack_words) in imx8_get_registers() argument
44 sof_mailbox_read(sdev, offset, stack, stack_words * sizeof(u32)); in imx8_get_registers()
57 u32 stack[IMX8_STACK_DUMP_SIZE]; in imx8_dump() local
68 imx8_get_registers(sdev, &xoops, &panic_info, stack, in imx8_dump()
73 &panic_info, stack, IMX8_STACK_DUMP_SIZE); in imx8_dump()
/openbmc/linux/arch/arm/kernel/
H A Dirq.c55 u8 *stack; in init_irq_stacks() local
60 stack = (u8 *)__get_free_pages(GFP_KERNEL, in init_irq_stacks()
63 stack = __vmalloc_node(THREAD_SIZE, THREAD_ALIGN, in init_irq_stacks()
67 if (WARN_ON(!stack)) in init_irq_stacks()
69 per_cpu(irq_stack_ptr, cpu) = &stack[THREAD_SIZE]; in init_irq_stacks()
/openbmc/linux/arch/arm64/include/asm/stacktrace/
H A Dcommon.h44 struct stack_info stack; member
77 state->stack = stackinfo_get_unknown(); in unwind_init_common()
111 if (stackinfo_on_stack(&state->stack, sp, size)) in unwind_consume_stack()
135 state->stack = *next; in unwind_consume_stack()
143 state->stack.low = sp + size; in unwind_consume_stack()
/openbmc/linux/tools/testing/selftests/proc/
H A Dthread-self.c51 void *stack; in main() local
56 stack = mmap(NULL, 2 * PAGE_SIZE, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0); in main()
57 assert(stack != MAP_FAILED); in main()
59 pid = clone(f, stack + PAGE_SIZE, CLONE_THREAD|CLONE_SIGHAND|CLONE_VM, (void *)1); in main()
/openbmc/linux/io_uring/
H A Dslist.h89 struct io_wq_work_node *stack) in wq_stack_add_head() argument
91 node->next = stack->next; in wq_stack_add_head()
92 stack->next = node; in wq_stack_add_head()
103 struct io_wq_work_node *wq_stack_extract(struct io_wq_work_node *stack) in wq_stack_extract() argument
105 struct io_wq_work_node *node = stack->next; in wq_stack_extract()
107 stack->next = node->next; in wq_stack_extract()
/openbmc/u-boot/scripts/kconfig/
H A Dsymbol.c1108 memset(stack, 0, sizeof(*stack)); in dep_stack_insert()
1112 stack->sym = sym; in dep_stack_insert()
1113 check_top = stack; in dep_stack_insert()
1141 for (stack = check_top; stack != NULL; stack = stack->prev) in sym_check_print_recursive()
1144 if (!stack) { in sym_check_print_recursive()
1149 for (; stack; stack = stack->next) { in sym_check_print_recursive()
1150 sym = stack->sym; in sym_check_print_recursive()
1151 next_sym = stack->next ? stack->next->sym : last_sym; in sym_check_print_recursive()
1168 if (stack->expr) { in sym_check_print_recursive()
1256 stack.prop = prop; in sym_check_sym_deps()
[all …]
/openbmc/linux/security/apparmor/
H A Ddomain.c95 if (stack) in match_component()
571 const char *stack = NULL; in x_to_label() local
581 if (*stack != '&') { in x_to_label()
584 stack = NULL; in x_to_label()
615 if (new && stack) { in x_to_label()
823 if (!stack) { in handle_onexec()
1359 if (stack) in aa_change_profile()
1365 if (stack) in aa_change_profile()
1372 stack = true; in aa_change_profile()
1439 if (!stack) { in aa_change_profile()
[all …]
/openbmc/linux/tools/perf/util/
H A Dthread-stack.c89 struct thread_stack_entry *stack; member
130 ts->stack = new_stack; in thread_stack__grow()
201 if (!ts->stack && in thread_stack__new()
220 if (!ts->stack) in thread__cpu_stack()
283 if (ts->stack[--i].trace_end) in thread_stack__pop_trace_end()
311 tse = &ts->stack[idx]; in thread_stack__call_return()
490 zfree(&ts->stack); in __thread_stack__free()
798 tse = &ts->stack[ts->cnt++]; in thread_stack__push_cp()
840 ts->stack[i].non_call) in thread_stack__pop_cp()
1008 tse = &ts->stack[ts->cnt - 1]; in thread_stack__trace_begin()
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A Dgecko.py177 def _add_sample(self, comm: str, stack: List[str], time_ms: Milliseconds) -> None:
190 (self._intern_frame(frame), prefix_id), stack, None)
275 stack = []
280 stack.append(f'{call["sym"]["name"]} (in {call["dso"]})')
281 if len(stack) != 0:
283 stack = stack[::-1]
290 stack.append(f'{func} (in {dso})')
297 thread._add_sample(comm=comm, stack=stack, time_ms=time_stamp)
/openbmc/u-boot/arch/arm/include/asm/proc-armv/
H A Dprocessor.h50 unsigned long *stack = (unsigned long *)sp; \
59 regs->ARM_r2 = stack[2]; /* r2 (envp) */ \
60 regs->ARM_r1 = stack[1]; /* r1 (argv) */ \
61 regs->ARM_r0 = stack[0]; /* r0 (argc) */ \

12345678910>>...48