/openbmc/linux/arch/arm/kernel/ |
H A D | entry-header.S | 22 @ Most of the stack format comes from struct pt_regs, but with 79 @ exception happend that is either on the main or the process stack. 80 @ Bit 2 of EXC_RETURN stored in the lr register specifies which stack 91 @ Linux expects to have irqs off. Do it here before taking stack space 103 @ calculate the original stack pointer value. 106 @ The cpu might automatically 8-byte align the stack. Bit 9 108 @ another 32-bit value is included in the stack. 402 stmiacc sp, {r4, r5} @ update stack arguments 411 stmiacc sp, {r4, r5} @ update stack arguments 447 @ The stack pointer is not pointing to a valid vmap'ed stack, but it [all …]
|
/openbmc/linux/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/openbmc/linux/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/openbmc/linux/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/openbmc/linux/drivers/media/mc/ |
H A D | mc-entity.c | 458 } stack; member 466 return &walk->stack.entries[walk->stack.top]; in media_pipeline_walk_top() 481 if (walk->stack.size >= 256) in media_pipeline_walk_resize() 493 walk->stack.size = new_size; in media_pipeline_walk_resize() 505 if (walk->stack.top + 1 >= walk->stack.size) { in media_pipeline_walk_push() 511 walk->stack.top++; in media_pipeline_walk_push() 540 walk->stack.top); in media_pipeline_walk_pop() 542 walk->stack.top--; in media_pipeline_walk_pop() 550 walk->stack.top); in media_pipeline_walk_pop() 558 kfree(walk->stack.entries); in media_pipeline_walk_destroy() [all …]
|
/openbmc/linux/sound/soc/sof/amd/ |
H A D | acp-common.c | 63 u32 *stack, size_t stack_words) in amd_get_registers() argument 82 acp_mailbox_read(sdev, offset, stack, stack_words * sizeof(u32)); in amd_get_registers() 95 u32 stack[AMD_STACK_DUMP_SIZE]; in amd_sof_dump() local 115 amd_get_registers(sdev, &xoops, &panic_info, stack, AMD_STACK_DUMP_SIZE); in amd_sof_dump() 119 &panic_info, stack, AMD_STACK_DUMP_SIZE); in amd_sof_dump()
|
/openbmc/linux/Documentation/bpf/ |
H A D | map_queue_stack.rst | 38 An element ``value`` can be added to a queue or stack using the 41 when the queue or stack is full, the oldest element will be removed to 52 This helper fetches an element ``value`` from a queue or stack without 64 stack. Returns ``0`` on success, or negative error in case of failure. 77 A userspace program can push ``value`` onto a queue or stack using libbpf's 90 A userspace program can peek at the ``value`` at the head of a queue or stack 102 A userspace program can pop a ``value`` from the head of a queue or stack using
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | stackdepot.py | 38 …stack = (pool + gdb.Value(offset).cast(utils.get_size_t_type())).cast(stack_record_type.get_type()… 39 size = int(stack['size'].cast(utils.get_ulong_type())) 40 return stack['entries'], size
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | assert.c | 31 void *stack[n]; in test_dump_stack() local 41 n = backtrace(stack, n); in test_dump_stack() 55 c += sprintf(c, " %lx", ((unsigned long) stack[i]) - 1); in test_dump_stack()
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 47 stack->data = (char *) buf; in sample_ustack() 48 stack->size = stack_size; in sample_ustack()
|
/openbmc/linux/drivers/net/wireguard/ |
H A D | allowedips.c | 41 static void push_rcu(struct allowedips_node **stack, in push_rcu() argument 47 stack[(*len)++] = rcu_dereference_raw(p); in push_rcu() 58 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { in root_free_rcu() local 62 while (len > 0 && (node = stack[--len])) { in root_free_rcu() 63 push_rcu(stack, node->bit[0], &len); in root_free_rcu() 64 push_rcu(stack, node->bit[1], &len); in root_free_rcu() 71 struct allowedips_node *node, *stack[MAX_ALLOWEDIPS_DEPTH] = { root }; in root_remove_peer_lists() local 74 while (len > 0 && (node = stack[--len])) { in root_remove_peer_lists() 75 push_rcu(stack, node->bit[0], &len); in root_remove_peer_lists() 76 push_rcu(stack, node->bit[1], &len); in root_remove_peer_lists()
|
/openbmc/linux/arch/sh/kernel/ |
H A D | ptrace_32.c | 40 unsigned char *stack; in get_stack_long() local 42 stack = (unsigned char *)task_pt_regs(task); in get_stack_long() 43 stack += offset; in get_stack_long() 44 return (*((int *)stack)); in get_stack_long() 53 unsigned char *stack; in put_stack_long() local 55 stack = (unsigned char *)task_pt_regs(task); in put_stack_long() 56 stack += offset; in put_stack_long() 57 *(unsigned long *) stack = data; in put_stack_long()
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | entry-arcv2.h | 52 ; 1. SP auto-switched to kernel mode stack 54 ; 3. Auto save: (mandatory) Push PC and STAT32 on stack 65 ; carve pt_regs on stack (case #3), PC/STAT32 already on stack 70 ; carve pt_regs on stack (case #4), which grew partially already 81 ; 1. SP auto-switched to kernel mode stack 158 ; Auto stack switch works 196 ; - for K mode, it will be implicitly restored as stack is unwound
|
/openbmc/linux/kernel/trace/ |
H A D | trace_stack.c | 155 static void check_stack(unsigned long ip, unsigned long *stack) in check_stack() argument 162 this_size = ((unsigned long)stack) & (THREAD_SIZE-1); in check_stack() 171 if (!object_is_on_stack(stack)) in check_stack() 212 start = stack; in check_stack() 249 tracer_frame = (p - stack) * in check_stack() 295 unsigned long stack; in stack_trace_call() local 310 check_stack(ip, &stack); in stack_trace_call()
|
/openbmc/linux/tools/testing/selftests/pidfd/ |
H A D | pidfd_fdinfo_test.c | 87 char *stack; member 101 ret.stack = mmap(NULL, CHILD_STACK_SIZE, PROT_READ | PROT_WRITE, in clone_newns() 103 if (ret.stack == MAP_FAILED) { in clone_newns() 109 ret.pid = __clone2(fn, ret.stack, CHILD_STACK_SIZE, flags, args, &ret.fd); in clone_newns() 111 ret.pid = clone(fn, ret.stack + CHILD_STACK_SIZE, flags, args, &ret.fd); in clone_newns() 141 if (munmap(child->stack, CHILD_STACK_SIZE)) { in child_join()
|
/openbmc/linux/arch/x86/purgatory/ |
H A D | stack.S | 16 SYM_DATA_START(stack) 18 SYM_DATA_END_LABEL(stack, SYM_L_GLOBAL, stack_end)
|
/openbmc/linux/kernel/ |
H A D | fork.c | 275 void *stack; in alloc_thread_stack_node() local 300 tsk->stack = stack; in alloc_thread_stack_node() 314 if (!stack) in alloc_thread_stack_node() 319 vfree(stack); in alloc_thread_stack_node() 328 stack = kasan_reset_tag(stack); in alloc_thread_stack_node() 329 tsk->stack = stack; in alloc_thread_stack_node() 338 tsk->stack = NULL; in free_thread_stack() 395 stack = kasan_reset_tag(stack); in alloc_thread_stack_node() 396 tsk->stack = stack; in alloc_thread_stack_node() 422 tsk->stack = stack; in alloc_thread_stack_node() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_get_stack_rawtp_err.c | 11 __u64 stack[MAX_STACK_RAWTP]; in bpf_prog2() local 15 error = bpf_get_stack(ctx, stack, 0, -1); in bpf_prog2()
|
/openbmc/linux/Documentation/arch/x86/ |
H A D | entry_64.rst | 47 the IDT entries push an error code onto the stack; others don't. 48 IDT entries using the IST alternative stack mechanism need their own 49 magic to get the stack frames right. (You can find some 68 stack, from the CS of the ptregs area of the kernel stack:: 88 use the faster check: the stack will be a reliable indicator of 96 stack but before we executed SWAPGS, then the only safe way to check 104 - Interrupt entry from user mode will switch off the IST stack.
|
/openbmc/u-boot/arch/x86/lib/fsp/ |
H A D | fsp_common.c | 111 int stack = CONFIG_FSP_TEMP_RAM_ADDR; in arch_fsp_init() local 144 stack = cmos_read32(CMOS_FSP_STACK_ADDR); in arch_fsp_init() 153 fsp_init(stack, boot_mode, nvs); in arch_fsp_init()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A D | stacktrace.h | 29 bool in_irq_stack(unsigned long stack, struct stack_info *info); 30 bool in_task_stack(unsigned long stack, struct task_struct *task, struct stack_info *info); 31 int get_stack_info(unsigned long stack, struct task_struct *task, struct stack_info *info);
|
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/ |
H A D | CVE-2023-4039.patch | 203 stack adjustment instructions. */ 322 /* Push return address to shadow call stack. */ 376 /* Pop return address from shadow call stack. */ 431 the stack is in one of two states: 733 will only adjust the stack. When allocating the stack space 785 to the stack pointer before restoring registers: 917 + to LIMIT to the stack. The stack pointer is currently BYTES_BELOW_SP 2229 +#include "stack-check-prologue-19.c" 2822 Emit a stack tie after the final adjustment. 2951 diff --git a/gcc/testsuite/gcc.target/aarch64/stack-protector-8.c b/gcc/testsuite/gcc.target/aarch6… [all …]
|
/openbmc/linux/samples/pidfd/ |
H A D | pidfd-metadata.c | 37 char *stack[1024] = { 0 }; in pidfd_clone() local 40 return __clone2(do_child, stack, stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone() 42 return clone(do_child, stack + stack_size, flags | SIGCHLD, NULL, pidfd); in pidfd_clone()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ntp/ntp/ |
H A D | 0001-libntp-Do-not-use-PTHREAD_STACK_MIN-on-glibc.patch | 7 could mean different stack sizes at runtime on different architectures 8 and it also causes compile failure. Default glibc thread stack size 23 /* now clamp on lower stack limit. */
|
/openbmc/linux/lib/ |
H A D | ref_tracker.c | 45 depot_stack_handle_t stack = tracker->alloc_stack_handle; in ref_tracker_get_stats() local 50 if (stats->stacks[i].stack_handle == stack) in ref_tracker_get_stats() 55 stats->stacks[i].stack_handle = stack; in ref_tracker_get_stats() 89 depot_stack_handle_t stack; in __ref_tracker_dir_pr_ostream() local 107 stack = stats->stacks[i].stack_handle; in __ref_tracker_dir_pr_ostream() 108 if (sbuf && !stack_depot_snprint(stack, sbuf, STACK_BUF_SIZE, 4)) in __ref_tracker_dir_pr_ostream()
|