Home
last modified time | relevance | path

Searched refs:stack_len (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/
Dbinfmt_flat.c459 u32 text_len, data_len, bss_len, stack_len, full_data, flags; in load_flat_file() local
474 stack_len = ntohl(hdr->stack_size); in load_flat_file()
476 stack_len += *extra_stack; in load_flat_file()
477 *extra_stack = stack_len; in load_flat_file()
537 if ((text_len | data_len | bss_len | stack_len | full_data) >> 28) { in load_flat_file()
578 extra = max_t(unsigned long, bss_len + stack_len, in load_flat_file()
622 data_len + bss_len + stack_len, datapos); in load_flat_file()
766 current->mm->context.end_brk = memp + memp_size - stack_len; in load_flat_file()
895 (memp + memp_size - stack_len - /* end brk */ in load_flat_file()
897 stack_len)) in load_flat_file()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dplatform.c396 size_t stack_len = 0; in dump_stacktrace() local
412 if (stack_len >= sizeof(tmp_buf)) { in dump_stacktrace()
416 stack_len += scnprintf(tmp_buf + stack_len, sizeof(tmp_buf) - stack_len, in dump_stacktrace()
427 stack_len = min(buf_size - com_len, strlen(tmp_buf)); in dump_stacktrace()
428 memcpy(pbuf + com_len, tmp_buf, stack_len); in dump_stacktrace()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dpyperf.h52 int16_t stack_len; member
250 event->stack_len = i + 1; in __on_event()
/kernel/linux/linux-5.10/kernel/dma/
Ddebug.c79 unsigned int stack_len; member
171 stack_trace_print(entry->stack_entries, entry->stack_len, 0); in dump_entry_trace()
647 entry->stack_len = stack_trace_save(entry->stack_entries, in dma_entry_alloc()
/kernel/linux/linux-5.10/drivers/md/
Ddm-bufio.c159 unsigned int stack_len; member
244 b->stack_len = stack_trace_save(b->stack_entries, MAX_STACK, 2); in buffer_record_stack()
484 b->stack_len = 0; in alloc_buffer()
1596 stack_trace_print(b->stack_entries, b->stack_len, 1); in drop_buffers()
/kernel/linux/patches/linux-5.10/hispark_taurus_patch/
Dhispark_taurus.patch11518 + size_t stack_len = 0;
11534 + if (stack_len >= sizeof(tmp_buf)) {
11538 + stack_len += scnprintf(tmp_buf + stack_len, sizeof(tmp_buf) - stack_len,
11549 + stack_len = min(buf_size - com_len, strlen(tmp_buf));
11550 + memcpy(pbuf + com_len, tmp_buf, stack_len);
11864 + size_t stack_len = 0;
11880 + if (stack_len >= sizeof(tmp_buf)) {
11884 + stack_len += scnprintf(tmp_buf + stack_len, sizeof(tmp_buf) - stack_len,
11895 + stack_len = min(buf_size - com_len, strlen(tmp_buf));
11896 + memcpy(pbuf + com_len, tmp_buf, stack_len);