Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/
Dbinfmt_flat.c82 unsigned long text_len; /* Length of text segment */ member
325 unsigned long text_len; in calc_reloc() local
363 text_len = p->lib_list[id].text_len; in calc_reloc()
365 if (r > start_brk - start_data + text_len) { in calc_reloc()
367 r, start_brk-start_data+text_len, text_len); in calc_reloc()
371 if (r < text_len) /* In text segment */ in calc_reloc()
374 addr = r - text_len + start_data; in calc_reloc()
459 u32 text_len, data_len, bss_len, stack_len, full_data, flags; in load_flat_file() local
471 text_len = ntohl(hdr->data_start); in load_flat_file()
537 if ((text_len | data_len | bss_len | stack_len | full_data) >> 28) { in load_flat_file()
[all …]
/kernel/linux/linux-5.10/kernel/printk/
Dprintk.c477 static void truncate_msg(u16 *text_len, u16 *trunc_msg_len) in truncate_msg() argument
485 if (*text_len > max_text_len) in truncate_msg()
486 *text_len = max_text_len; in truncate_msg()
490 if (*text_len >= *trunc_msg_len) in truncate_msg()
491 *text_len -= *trunc_msg_len; in truncate_msg()
500 const char *text, u16 text_len) in log_store() argument
506 prb_rec_init_wr(&r, text_len); in log_store()
510 truncate_msg(&text_len, &trunc_msg_len); in log_store()
511 prb_rec_init_wr(&r, text_len + trunc_msg_len); in log_store()
518 memcpy(&r.text_buf[0], text, text_len); in log_store()
[all …]
Dprintk_ringbuffer.c1386 if (WARN_ON_ONCE(info->text_len != 0)) { in prb_reserve_in_last()
1388 info->text_len); in prb_reserve_in_last()
1389 info->text_len = 0; in prb_reserve_in_last()
1409 if (WARN_ON_ONCE(info->text_len > data_size)) { in prb_reserve_in_last()
1411 info->text_len, data_size); in prb_reserve_in_last()
1412 info->text_len = data_size; in prb_reserve_in_last()
1414 r->text_buf_size += info->text_len; in prb_reserve_in_last()
1816 if (!copy_data(&rb->text_data_ring, &desc.text_blk_lpos, info->text_len, in prb_read()
Dprintk_ringbuffer.h18 u16 text_len; /* length of text message */ member
/kernel/linux/linux-5.10/lib/
Dts_kmp.c45 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() local
50 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
52 if (unlikely(text_len == 0)) in kmp_find()
55 for (i = 0; i < text_len; i++) { in kmp_find()
68 consumed += text_len; in kmp_find()
Dts_bm.c61 unsigned int i, text_len, consumed = state->offset; in bm_find() local
67 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
69 if (unlikely(text_len == 0)) in bm_find()
72 while (shift < text_len) { in bm_find()
90 consumed += text_len; in bm_find()
/kernel/linux/linux-5.10/scripts/gdb/linux/
Ddmesg.py128 text_len = utils.read_u16(infos, info_off + len_off)
131 if end - text_start < text_len:
132 text_len = end - text_start
134 text = text_data[text_start:text_start + text_len].decode(
/kernel/linux/linux-5.10/Documentation/admin-guide/kdump/
Dgdbmacros.txt190 set var $text_len = 0
202 if ($next - $begin < $info->text_len)
203 set var $text_len = $next - $begin
205 set var $text_len = $info->text_len
231 if ($text_len)
232 eval "printf \"%%%d.%ds\", $log", $text_len, $text_len
Dvmcoreinfo.rst276 (printk_info, seq|ts_nsec|text_len|dict_len|caller_id)
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dnvram_64.c353 static int zip_oops(size_t text_len) in zip_oops() argument
356 int zipped_len = nvram_compress(big_oops_buf, oops_data, text_len, in zip_oops()
653 size_t text_len; in oops_to_nvram() local
685 big_oops_buf, big_oops_buf_sz, &text_len); in oops_to_nvram()
686 rc = zip_oops(text_len); in oops_to_nvram()
691 oops_data, oops_data_sz, &text_len); in oops_to_nvram()
694 oops_hdr->report_length = cpu_to_be16(text_len); in oops_to_nvram()
699 (int) (sizeof(*oops_hdr) + text_len), err_type, in oops_to_nvram()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/
Dvidtv_psi.c431 u32 text_len = text ? strlen(text) : 0; in vidtv_psi_short_event_desc_init() local
442 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
443 text_len; in vidtv_psi_short_event_desc_init()
446 desc->text_len = text_len; in vidtv_psi_short_event_desc_init()
456 if (text && text_len) in vidtv_psi_short_event_desc_init()
730 psi_args.len = sizeof_field(struct vidtv_psi_desc_short_event, text_len); in vidtv_psi_desc_write_into()
731 psi_args.from = &((struct vidtv_psi_desc_short_event *)args->desc)->text_len; in vidtv_psi_desc_write_into()
736 psi_args.len = ((struct vidtv_psi_desc_short_event *)args->desc)->text_len; in vidtv_psi_desc_write_into()
Dvidtv_psi.h135 u8 text_len; member
/kernel/linux/linux-5.10/drivers/staging/fbtft/
Dfbtft-core.c57 size_t text_len; in fbtft_dbg_hex() local
60 text_len = vscnprintf(text, sizeof(textbuf), fmt, args); in fbtft_dbg_hex()
63 hex_dump_to_buffer(buf, len, 32, groupsize, text + text_len, in fbtft_dbg_hex()
64 512 - text_len, false); in fbtft_dbg_hex()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dosf_sys.c70 unsigned long, text_len, unsigned long, bss_start, in SYSCALL_DEFINE4() argument
81 text_start, text_len, bss_start, bss_len); in SYSCALL_DEFINE4()