Home
last modified time | relevance | path

Searched refs:stack_ptr (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/misc/altera-stapl/
H A Daltera.c120 static int altera_check_stack(int stack_ptr, int count, int *status) in altera_check_stack() argument
122 if (stack_ptr < count) { in altera_check_stack()
243 int stack_ptr = 0; in altera_execute() local
527 if (altera_check_stack(stack_ptr, 1, &status)) { in altera_execute()
528 stack[stack_ptr] = stack[stack_ptr - 1]; in altera_execute()
529 ++stack_ptr; in altera_execute()
533 if (altera_check_stack(stack_ptr, 2, &status)) in altera_execute()
534 swap(stack[stack_ptr - 2], stack[stack_ptr - 1]); in altera_execute()
537 if (altera_check_stack(stack_ptr, 2, &status)) { in altera_execute()
538 --stack_ptr; in altera_execute()
[all …]
/linux/drivers/acpi/acpica/
H A Dexresop.c82 * stack_ptr - Pointer to the operand stack to be
100 union acpi_operand_object **stack_ptr, in acpi_ex_resolve_operands() argument
138 if (!stack_ptr || !*stack_ptr) { in acpi_ex_resolve_operands()
140 stack_ptr)); in acpi_ex_resolve_operands()
147 obj_desc = *stack_ptr; in acpi_ex_resolve_operands()
169 *stack_ptr = obj_desc; in acpi_ex_resolve_operands()
303 ((*stack_ptr)->common.type == in acpi_ex_resolve_operands()
305 && ((*stack_ptr)->reference.class == in acpi_ex_resolve_operands()
321 status = acpi_ex_resolve_to_value(stack_ptr, walk_stat in acpi_ex_resolve_operands()
[all...]
H A Dexresolv.c22 acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
29 * PARAMETERS: **stack_ptr - Points to entry on obj_stack, which can
41 acpi_ex_resolve_to_value(union acpi_operand_object **stack_ptr, in acpi_ex_resolve_to_value() argument
46 ACPI_FUNCTION_TRACE_PTR(ex_resolve_to_value, stack_ptr); in acpi_ex_resolve_to_value()
48 if (!stack_ptr || !*stack_ptr) { in acpi_ex_resolve_to_value()
54 * The entity pointed to by the stack_ptr can be either in acpi_ex_resolve_to_value()
58 if (ACPI_GET_DESCRIPTOR_TYPE(*stack_ptr) == ACPI_DESC_TYPE_OPERAND) { in acpi_ex_resolve_to_value()
59 status = acpi_ex_resolve_object_to_value(stack_ptr, walk_state); in acpi_ex_resolve_to_value()
64 if (!*stack_ptr) { in acpi_ex_resolve_to_value()
103 acpi_ex_resolve_object_to_value(union acpi_operand_object ** stack_ptr,struct acpi_walk_state * walk_state) acpi_ex_resolve_object_to_value() argument
[all...]
H A Dacinterp.h360 acpi_ex_resolve_to_value(union acpi_operand_object **stack_ptr,
373 acpi_ex_resolve_node_to_value(struct acpi_namespace_node **stack_ptr,
381 union acpi_operand_object **stack_ptr,
/linux/sound/soc/sof/xtensa/
H A Dcore.c119 u32 stack_ptr = xoops->plat_hdr.stackptr; in xtensa_stack() local
124 dev_printk(level, sdev->dev, "stack dump from 0x%8.8x\n", stack_ptr); in xtensa_stack()
133 dev_printk(level, sdev->dev, "0x%08x: %s\n", stack_ptr + i * 4, buf); in xtensa_stack()
/linux/tools/testing/selftests/filesystems/nsfs/
H A Dpidns.c30 char stack_ptr[]; member
50 pid = clone(child, ca.stack_ptr, CLONE_NEWUSER | CLONE_NEWPID | SIGCHLD, NULL); in main()
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c135 u64 *stack_ptr; in priv_stack_init_guard() local
138 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in priv_stack_init_guard()
139 stack_ptr[0] = PRIV_STACK_GUARD_VAL; in priv_stack_init_guard()
140 stack_ptr[1] = PRIV_STACK_GUARD_VAL; in priv_stack_init_guard()
141 stack_ptr[underflow_idx] = PRIV_STACK_GUARD_VAL; in priv_stack_init_guard()
142 stack_ptr[underflow_idx + 1] = PRIV_STACK_GUARD_VAL; in priv_stack_init_guard()
150 u64 *stack_ptr; in priv_stack_check_guard() local
153 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in priv_stack_check_guard()
154 if (stack_ptr[0] != PRIV_STACK_GUARD_VAL || in priv_stack_check_guard()
155 stack_ptr[ in priv_stack_check_guard()
[all...]
/linux/kernel/bpf/
H A Dlpm_trie.c662 int err = 0, stack_ptr = -1; in trie_get_next_key() local
694 node_stack[++stack_ptr] = node; in trie_get_next_key()
710 node = node_stack[stack_ptr]; in trie_get_next_key()
711 while (stack_ptr > 0) { in trie_get_next_key()
712 parent = node_stack[stack_ptr - 1]; in trie_get_next_key()
724 stack_ptr--; in trie_get_next_key()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c1364 u8 *stack_ptr = *buffer; in mwifiex_cmd_append_rpn_expression() local
1370 put_unaligned_le32((u32)filter->repeat, stack_ptr); in mwifiex_cmd_append_rpn_expression()
1371 stack_ptr += 4; in mwifiex_cmd_append_rpn_expression()
1372 *stack_ptr = TYPE_DNUM; in mwifiex_cmd_append_rpn_expression()
1373 stack_ptr += 1; in mwifiex_cmd_append_rpn_expression()
1376 memcpy(stack_ptr, filter->byte_seq, byte_len); in mwifiex_cmd_append_rpn_expression()
1377 stack_ptr += byte_len; in mwifiex_cmd_append_rpn_expression()
1378 *stack_ptr = byte_len; in mwifiex_cmd_append_rpn_expression()
1379 stack_ptr += 1; in mwifiex_cmd_append_rpn_expression()
1380 *stack_ptr in mwifiex_cmd_append_rpn_expression()
[all...]
/linux/arch/riscv/include/asm/
H A Dcpu_ops_sbi.h23 void *stack_ptr; member
/linux/arch/riscv/kernel/
H A Dcpu_ops_sbi.c70 bdata->stack_ptr = task_pt_regs(tidle); in sbi_cpu_start()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2043 u64 *stack_ptr; in bpf_int_jit_compile()
2046 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in bpf_int_jit_compile()
2047 stack_ptr[0] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
2048 stack_ptr[1] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
2049 stack_ptr[underflow_idx] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
2050 stack_ptr[underflow_idx + 1] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
2058 u64 *stack_ptr; in bpf_int_jit_compile()
2061 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in bpf_int_jit_compile()
2062 if (stack_ptr[0] != PRIV_STACK_GUARD_VAL || in bpf_int_jit_compile()
2063 stack_ptr[ in bpf_int_jit_compile()
1969 u64 *stack_ptr; priv_stack_init_guard() local
1984 u64 *stack_ptr; priv_stack_check_guard() local
[all...]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3813 u64 *stack_ptr; in bpf_int_jit_compile()
3816 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in bpf_int_jit_compile()
3817 stack_ptr[0] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
3818 stack_ptr[underflow_idx] = PRIV_STACK_GUARD_VAL; in bpf_int_jit_compile()
3826 u64 *stack_ptr; in bpf_int_jit_compile()
3829 stack_ptr = per_cpu_ptr(priv_stack_ptr, cpu); in bpf_int_jit_compile()
3830 if (stack_ptr[0] != PRIV_STACK_GUARD_VAL || in bpf_int_jit_compile()
3831 stack_ptr[underflow_idx] != PRIV_STACK_GUARD_VAL) { in bpf_int_jit_compile()
3680 u64 *stack_ptr; priv_stack_init_guard() local
3693 u64 *stack_ptr; priv_stack_check_guard() local
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dcommands.h384 u32 stack_ptr; /* stack pointer */ member