/kernel/linux/linux-6.6/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, nod in root_remove_peer_lists() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | ValidateLimitations.cpp | 21 bool IsLoopIndex(const TIntermSymbol* symbol, const TLoopStack& stack) { in IsLoopIndex() argument 22 for (TLoopStack::const_iterator i = stack.begin(); i != stack.end(); ++i) { in IsLoopIndex() 29 void MarkLoopForUnroll(const TIntermSymbol* symbol, TLoopStack& stack) { in MarkLoopForUnroll() argument 30 for (TLoopStack::iterator i = stack.begin(); i != stack.end(); ++i) { in MarkLoopForUnroll() 51 ValidateConstIndexExpr(const TLoopStack& stack) in ValidateConstIndexExpr() argument 52 : mValid(true), mLoopStack(stack) {} in ValidateConstIndexExpr() 76 ValidateLoopIndexExpr(TLoopStack& stack) in ValidateLoopIndexExpr() argument 79 mLoopStack(stack) {} in ValidateLoopIndexExpr() [all...] |
/third_party/zlib/examples/ |
H A D | gun.c | 216 unsigned stack; /* next position for reversed string */ in lunpipe() local 265 stack = 0; in lunpipe() 325 match[stack++] = (unsigned char)final; in lunpipe() 330 p = match + stack; in lunpipe() 335 stack = p - match; in lunpipe() 336 match[stack++] = (unsigned char)code; in lunpipe() 350 while (stack > SIZE - outcnt) { in lunpipe() 352 outbuf[outcnt++] = match[--stack]; in lunpipe() 359 p = match + stack; in lunpipe() 363 stack in lunpipe() [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | setup.c | 322 void stack_free(unsigned long stack) in stack_free() argument 325 vfree((void *) stack); in stack_free() 327 free_pages(stack, THREAD_SIZE_ORDER); in stack_free() 333 unsigned long stack; in arch_early_irq_init() local 335 stack = __get_free_pages(GFP_KERNEL, THREAD_SIZE_ORDER); in arch_early_irq_init() 336 if (!stack) in arch_early_irq_init() 337 panic("Couldn't allocate async stack"); in arch_early_irq_init() 338 S390_lowcore.async_stack = stack + STACK_INIT_OFFSET; in arch_early_irq_init() 349 panic("Couldn't allocate async stack"); in async_stack_realloc() 358 unsigned long stack; in arch_call_rest_init() local [all...] |
/kernel/linux/linux-5.10/fs/overlayfs/ |
H A D | namei.c | 517 struct ovl_path *stack = &origin; in ovl_verify_index() local 587 err = ovl_check_origin_fh(ofs, fh, false, index, &stack); in ovl_verify_index() 774 * Returns next layer in stack starting from top. 824 struct ovl_path *stack = NULL, *origin_path = NULL; in ovl_lookup() local 894 stack = kcalloc(ofs->numlayer - 1, sizeof(struct ovl_path), in ovl_lookup() 896 if (!stack) in ovl_lookup() 966 stack[ctr].dentry = this; in ovl_lookup() 967 stack[ctr].layer = lower.layer; in ovl_lookup() 1001 * using ORIGIN xattr on upper, install it in stack. in ovl_lookup() 1012 if (WARN_ON(stack ! in ovl_lookup() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/ |
H A D | assert.c | 17 /* Dumps the current stack trace to stderr. */ 31 void *stack[n]; in test_dump_stack() local 41 n = backtrace(stack, n); in test_dump_stack() 50 c += sprintf(c, " %lx", ((unsigned long) stack[i]) - 1); in test_dump_stack()
|
/kernel/linux/linux-5.10/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 17 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 32 pr_debug("failed to get stack map\n"); in sample_ustack() 41 stack->data = (char *) buf; in sample_ustack() 42 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/tests/ |
H A D | dwarf-unwind.c | 17 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 32 pr_debug("failed to get stack map\n"); in sample_ustack() 43 * Copying the stack may copy msan poison, avoid false positives in the in sample_ustack() 48 stack->data = (char *) buf; in sample_ustack() 49 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-5.10/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | rethook.c | 100 * a standard stack frame with CONFIG_FRAME_POINTER=y. 119 unsigned long *stack = (unsigned long *)regs->sp; in arch_rethook_prepare() local 121 rh->ret_addr = stack[0]; in arch_rethook_prepare() 125 stack[0] = (unsigned long) arch_rethook_trampoline; in arch_rethook_prepare()
|
/kernel/linux/linux-6.6/tools/perf/arch/arm/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-6.6/tools/perf/arch/arm64/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-6.6/tools/perf/arch/powerpc/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 40 stack->data = (char *) buf; in sample_ustack() 41 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-6.6/tools/perf/arch/x86/tests/ |
H A D | dwarf-unwind.c | 16 struct stack_dump *stack = &sample->user_stack; in sample_ustack() local 31 pr_debug("failed to get stack map\n"); in sample_ustack() 42 * Copying the stack may copy msan poison, avoid false positives in the in sample_ustack() 47 stack->data = (char *) buf; in sample_ustack() 48 stack->size = stack_size; in sample_ustack()
|
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/lib/ |
H A D | assert.c | 17 /* Dumps the current stack trace to stderr. */ 31 void *stack[n]; in test_dump_stack() local 41 n = backtrace(stack, n); in test_dump_stack() 45 * resulting stack trace would be empty. Otherwise, addr2line will block in test_dump_stack() 49 fputs(" (stack trace empty)\n", stderr); in test_dump_stack() 55 c += sprintf(c, " %lx", ((unsigned long) stack[i]) - 1); in test_dump_stack()
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | stackdepot.py | 31 gdb.write("pool index %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pool_index_cached, handle)) 38 stack = (pool + gdb.Value(offset).cast(utils.get_size_t_type())).cast(stack_record_type.get_type().pointer()) 39 size = int(stack['size'].cast(utils.get_ulong_type())) 40 return stack['entries'], size
|
/kernel/liteos_a/testsuites/unittest/process/fs/smoke/ |
H A D | It_process_fs_012.cpp | 60 char *stack = (char *)mmap(nullptr, STACK_SIZE, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS | MAP_STACK, in ItProcessFs012() local 62 ASSERT_NE(stack, nullptr); in ItProcessFs012() 63 char *stackTop = stack + STACK_SIZE; in ItProcessFs012()
|
/third_party/node/test/parallel/ |
H A D | test-repl-pretty-custom-stack.js | 35 Error.prepareStackTrace = (err, stack) => { 38 stack.push(err); 39 return stack.reverse().join('--->\n'); 50 command: `.load ${fixtures.path('repl-pretty-stack.js')}`,
|
/third_party/musl/src/thread/riscv64/ |
H A D | clone.s | 1 # __clone(func, stack, flags, arg, ptid, tls, ctid) 4 # syscall(SYS_clone, flags, stack, ptid, tls, ctid) 10 # Save func and arg to stack
|
/third_party/musl/src/thread/powerpc64/ |
H A D | clone.s | 6 # int clone(fn, stack, flags, arg, ptid, tls, ctid) 14 # create initial stack frame for new thread 19 # save fn and arg to child stack
|
/third_party/musl/src/thread/riscv32/ |
H A D | clone.s | 1 # __clone(func, stack, flags, arg, ptid, tls, ctid) 4 # syscall(SYS_clone, flags, stack, ptid, tls, ctid) 10 # Save func and arg to stack
|
/third_party/node/deps/v8/src/torque/ |
H A D | cc-generator.h | 30 void EmitGoto(const Block* destination, Stack<std::string>* stack, 35 std::vector<std::string> constexpr_arguments, Stack<std::string>* stack); 39 void EmitInstruction(const T& instruction, Stack<std::string>* stack) \
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | trace_stack.c | 58 * The stack tracer looks for a maximum stack at each call from a function. It 59 * registers a callback from ftrace, and in that callback it examines the stack 60 * size. It determines the stack size from the variable passed in, which is the 62 * The stack size is calculated by the address of the local variable to the top 63 * of the current stack. If that size is smaller than the currently saved max 64 * stack size, nothing more is done. 66 * If the size of the stack is greater than the maximum recorded size, then the 70 * saving the function's local variables, the stack will look something like 73 * [ top of stack ] 155 check_stack(unsigned long ip, unsigned long *stack) check_stack() argument 295 unsigned long stack; stack_trace_call() local [all...] |
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_stack.c | 58 * The stack tracer looks for a maximum stack at each call from a function. It 59 * registers a callback from ftrace, and in that callback it examines the stack 60 * size. It determines the stack size from the variable passed in, which is the 62 * The stack size is calculated by the address of the local variable to the top 63 * of the current stack. If that size is smaller than the currently saved max 64 * stack size, nothing more is done. 66 * If the size of the stack is greater than the maximum recorded size, then the 70 * saving the function's local variables, the stack will look something like 73 * [ top of stack ] 155 check_stack(unsigned long ip, unsigned long *stack) check_stack() argument 295 unsigned long stack; stack_trace_call() local [all...] |