Home
last modified time | relevance | path

Searched refs:stack_size (Results 1 – 4 of 4) sorted by relevance

/kernel/bpf/
Dcore.c1699 #define PROG_NAME(stack_size) __bpf_prog_run##stack_size argument
1700 #define DEFINE_BPF_PROG_RUN(stack_size) \ argument
1701 static unsigned int PROG_NAME(stack_size)(const void *ctx, const struct bpf_insn *insn) \
1703 u64 stack[stack_size / sizeof(u64)]; \
1711 #define PROG_NAME_ARGS(stack_size) __bpf_prog_run_args##stack_size argument
1712 #define DEFINE_BPF_PROG_RUN_ARGS(stack_size) \ argument
1713 static u64 PROG_NAME_ARGS(stack_size)(u64 r1, u64 r2, u64 r3, u64 r4, u64 r5, \
1716 u64 stack[stack_size / sizeof(u64)]; \
1743 #define PROG_NAME_LIST(stack_size) PROG_NAME(stack_size), argument
1752 #define PROG_NAME_LIST(stack_size) PROG_NAME_ARGS(stack_size), argument
Dverifier.c772 static int realloc_func_state(struct bpf_func_state *state, int stack_size,
778 return realloc_stack_state(state, stack_size, copy_old);
967 env->stack_size--; in pop_stack()
988 env->stack_size++; in push_stack()
993 if (env->stack_size > BPF_COMPLEXITY_LIMIT_JMP_SEQ) { in push_stack()
995 env->stack_size); in push_stack()
/kernel/
Dfork.c2183 retval = copy_thread(clone_flags, args->stack, args->stack_size, p, args->tls); in copy_process()
2509 .stack_size = (unsigned long)arg, in create_io_thread()
2616 .stack_size = (unsigned long)arg, in kernel_thread()
2663 int, stack_size, in SYSCALL_DEFINE5()
2743 .stack_size = args.stack_size, in copy_clone_args_from_user()
2770 if (kargs->stack_size > 0) in clone3_stack_valid()
2773 if (kargs->stack_size == 0) in clone3_stack_valid()
2776 if (!access_ok((void __user *)kargs->stack, kargs->stack_size)) in clone3_stack_valid()
2780 kargs->stack += kargs->stack_size; in clone3_stack_valid()
/kernel/events/
Dcore.c6532 perf_sample_ustack_size(u16 stack_size, u16 header_size, in perf_sample_ustack_size() argument
6552 stack_size = min(stack_size, (u16) task_size); in perf_sample_ustack_size()
6558 if ((u16) (header_size + stack_size) < header_size) { in perf_sample_ustack_size()
6563 stack_size = USHRT_MAX - header_size - sizeof(u64); in perf_sample_ustack_size()
6564 stack_size = round_up(stack_size, sizeof(u64)); in perf_sample_ustack_size()
6567 return stack_size; in perf_sample_ustack_size()
7222 u16 stack_size = event->attr.sample_stack_user; in perf_prepare_sample() local
7225 stack_size = perf_sample_ustack_size(stack_size, header->size, in perf_prepare_sample()
7233 if (stack_size) in perf_prepare_sample()
7234 size += sizeof(u64) + stack_size; in perf_prepare_sample()
[all …]