Home
last modified time | relevance | path

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

/linux-4.4.14/tools/perf/arch/x86/tests/
Ddwarf-unwind.c18 u64 stack_size, *buf; in sample_ustack() local
35 stack_size = map->end - sp; in sample_ustack()
36 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
38 memcpy(buf, (void *) sp, stack_size); in sample_ustack()
40 stack->size = stack_size; in sample_ustack()
/linux-4.4.14/tools/perf/arch/arm64/tests/
Ddwarf-unwind.c17 u64 stack_size, *buf; in sample_ustack() local
34 stack_size = map->end - sp; in sample_ustack()
35 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
37 memcpy(buf, (void *) sp, stack_size); in sample_ustack()
39 stack->size = stack_size; in sample_ustack()
/linux-4.4.14/tools/perf/arch/arm/tests/
Ddwarf-unwind.c17 u64 stack_size, *buf; in sample_ustack() local
34 stack_size = map->end - sp; in sample_ustack()
35 stack_size = stack_size > STACK_SIZE ? STACK_SIZE : stack_size; in sample_ustack()
37 memcpy(buf, (void *) sp, stack_size); in sample_ustack()
39 stack->size = stack_size; in sample_ustack()
/linux-4.4.14/arch/mips/oprofile/
Dbacktrace.c76 size_t stack_size = 0; in unwind_user_frame() local
83 && (!ra_offset || !stack_size); --addr) { in unwind_user_frame()
95 stack_size = (unsigned long) stack_adjustment; in unwind_user_frame()
106 if (!ra_offset || !stack_size) in unwind_user_frame()
115 if (stack_size) { in unwind_user_frame()
116 new_frame.sp = old_frame->sp + stack_size; in unwind_user_frame()
/linux-4.4.14/samples/kprobes/
Djprobe_example.c27 unsigned long stack_size, int __user *parent_tidptr, in j_do_fork() argument
31 "stack_size = 0x%lx\n", clone_flags, stack_start, stack_size); in j_do_fork()
/linux-4.4.14/fs/
Dbinfmt_elf_fdpic.c174 params->stack_size = phdr->p_memsz; in elf_fdpic_fetch_phdrs()
190 unsigned long stack_size, entryaddr; in load_elf_fdpic_binary() local
317 stack_size = exec_params.stack_size; in load_elf_fdpic_binary()
325 if (stack_size == 0) { in load_elf_fdpic_binary()
326 stack_size = interp_params.stack_size; in load_elf_fdpic_binary()
336 if (stack_size == 0) in load_elf_fdpic_binary()
337 stack_size = 131072UL; /* same as exec.c's default commit */ in load_elf_fdpic_binary()
409 stack_size = (stack_size + PAGE_SIZE - 1) & PAGE_MASK; in load_elf_fdpic_binary()
410 if (stack_size < PAGE_SIZE * 2) in load_elf_fdpic_binary()
411 stack_size = PAGE_SIZE * 2; in load_elf_fdpic_binary()
[all …]
Dexec.c658 unsigned long stack_size; in setup_arg_pages() local
730 stack_size = vma->vm_end - vma->vm_start; in setup_arg_pages()
737 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()
742 if (stack_size + stack_expand > rlim_stack) in setup_arg_pages()
Dbinfmt_flat.c449 stack_len = ntohl(hdr->stack_size); in load_flat_file()
/linux-4.4.14/arch/sparc/include/asm/
Dsyscalls.h9 unsigned long stack_size);
/linux-4.4.14/include/uapi/linux/
Dflat.h41 unsigned long stack_size; /* Size of stack, in bytes */ member
/linux-4.4.14/include/linux/
Delf-fdpic.h28 unsigned long stack_size; /* stack size requested (PT_GNU_STACK) */ member
Dpe.h168 uint32_t stack_size; /* amt of stack required */ member
202 uint64_t stack_size; /* amt of stack required */ member
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-sysinfo.h62 uint32_t stack_size; member
Docteon.h69 uint32_t stack_size; member
119 uint32_t stack_size;
Dcvmx-bootinfo.h66 uint32_t stack_size; member
141 uint32_t stack_size;
/linux-4.4.14/arch/ia64/mm/
Dinit.c90 unsigned long stack_size = rlimit_max(RLIMIT_STACK) & -16; in ia64_set_rbs_bot() local
92 if (stack_size > MAX_USER_STACK_SIZE) in ia64_set_rbs_bot()
93 stack_size = MAX_USER_STACK_SIZE; in ia64_set_rbs_bot()
94 current->thread.rbs_bot = PAGE_ALIGN(current->mm->start_stack - stack_size); in ia64_set_rbs_bot()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_dsp_task_types.h210 stack_size
/linux-4.4.14/arch/sparc/kernel/
Dprocess_32.c268 unsigned long stack_size) argument
277 ret = do_fork(clone_flags, stack_start, stack_size,
Dkernel.h152 unsigned long stack_size);
Dprocess_64.c583 unsigned long stack_size) in sparc_do_fork() argument
600 ret = do_fork(clone_flags, stack_start, stack_size, in sparc_do_fork()
/linux-4.4.14/kernel/
Dfork.c1245 unsigned long stack_size, in copy_process() argument
1456 retval = copy_thread_tls(clone_flags, stack_start, stack_size, p, tls); in copy_process()
1695 unsigned long stack_size, in _do_fork() argument
1722 p = copy_process(clone_flags, stack_start, stack_size, in _do_fork()
1769 unsigned long stack_size, in do_fork() argument
1773 return _do_fork(clone_flags, stack_start, stack_size, in do_fork()
1820 int, stack_size, in SYSCALL_DEFINE5()
/linux-4.4.14/kernel/bpf/
Dverifier.c197 int stack_size; /* number of states to be processed */ member
428 env->stack_size--; in pop_stack()
446 env->stack_size++; in push_stack()
447 if (env->stack_size > 1024) { in push_stack()
/linux-4.4.14/kernel/events/
Dcore.c5083 perf_sample_ustack_size(u16 stack_size, u16 header_size, in perf_sample_ustack_size() argument
5103 stack_size = min(stack_size, (u16) task_size); in perf_sample_ustack_size()
5109 if ((u16) (header_size + stack_size) < header_size) { in perf_sample_ustack_size()
5114 stack_size = USHRT_MAX - header_size - sizeof(u64); in perf_sample_ustack_size()
5115 stack_size = round_up(stack_size, sizeof(u64)); in perf_sample_ustack_size()
5118 return stack_size; in perf_sample_ustack_size()
5556 u16 stack_size = event->attr.sample_stack_user; in perf_prepare_sample() local
5559 stack_size = perf_sample_ustack_size(stack_size, header->size, in perf_prepare_sample()
5567 if (stack_size) in perf_prepare_sample()
5568 size += sizeof(u64) + stack_size; in perf_prepare_sample()
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.h1227 u_int stack_size; member
Daic79xx_core.c7076 ahd->stack_size = ahd_probe_stack_size(ahd); in ahd_init()
7077 ahd->saved_stack = kmalloc(ahd->stack_size * sizeof(uint16_t), GFP_ATOMIC); in ahd_init()
9975 for (i = 0; i < ahd->stack_size; i++) { in ahd_dump_card_state()
9980 for (i = ahd->stack_size-1; i >= 0; i--) { in ahd_dump_card_state()
/linux-4.4.14/arch/x86/kvm/
Demulate.c498 static int stack_size(struct x86_emulate_ctxt *ctxt) in stack_size() function
1850 rc = push(ctxt, &rbp, stack_size(ctxt)); in em_enter()