Home
last modified time | relevance | path

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

/Linux-v4.19/fs/
Dbinfmt_flat.c71 unsigned long text_len; /* Length of text segment */ member
308 unsigned long text_len; in calc_reloc() local
346 text_len = p->lib_list[id].text_len; in calc_reloc()
348 if (!flat_reloc_valid(r, start_brk - start_data + text_len)) { in calc_reloc()
350 r, start_brk-start_data+text_len, text_len); in calc_reloc()
354 if (r < text_len) /* In text segment */ in calc_reloc()
357 addr = r - text_len + start_data; in calc_reloc()
416 u32 text_len, data_len, bss_len, stack_len, full_data, flags; in load_flat_file() local
429 text_len = ntohl(hdr->data_start); in load_flat_file()
477 if ((text_len | data_len | bss_len | stack_len | full_data) >> 28) { in load_flat_file()
[all …]
/Linux-v4.19/kernel/printk/
Dprintk.c362 u16 text_len; /* length of text buffer */ member
465 return (char *)msg + sizeof(struct printk_log) + msg->text_len; in log_dict()
547 static u32 msg_used_size(u16 text_len, u16 dict_len, u32 *pad_len) in msg_used_size() argument
551 size = sizeof(struct printk_log) + text_len + dict_len; in msg_used_size()
566 static u32 truncate_msg(u16 *text_len, u16 *trunc_msg_len, in truncate_msg() argument
574 if (*text_len > max_text_len) in truncate_msg()
575 *text_len = max_text_len; in truncate_msg()
581 return msg_used_size(*text_len + *trunc_msg_len, 0, pad_len); in truncate_msg()
588 const char *text, u16 text_len) in log_store() argument
595 size = msg_used_size(text_len, dict_len, &pad_len); in log_store()
[all …]
/Linux-v4.19/lib/
Dts_kmp.c49 unsigned int i, q = 0, text_len, consumed = state->offset; in kmp_find() local
54 text_len = conf->get_next_block(consumed, &text, conf, state); in kmp_find()
56 if (unlikely(text_len == 0)) in kmp_find()
59 for (i = 0; i < text_len; i++) { in kmp_find()
72 consumed += text_len; in kmp_find()
Dts_bm.c65 unsigned int i, text_len, consumed = state->offset; in bm_find() local
71 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
73 if (unlikely(text_len == 0)) in bm_find()
76 while (shift < text_len) { in bm_find()
94 consumed += text_len; in bm_find()
/Linux-v4.19/scripts/gdb/linux/
Ddmesg.py55 text_len = utils.read_u16(log_buf[pos + 10:pos + 12])
56 text = log_buf[pos + 16:pos + 16 + text_len].decode(
/Linux-v4.19/arch/powerpc/kernel/
Dnvram_64.c363 static int zip_oops(size_t text_len) in zip_oops() argument
366 int zipped_len = nvram_compress(big_oops_buf, oops_data, text_len, in zip_oops()
665 size_t text_len; in oops_to_nvram() local
699 big_oops_buf, big_oops_buf_sz, &text_len); in oops_to_nvram()
700 rc = zip_oops(text_len); in oops_to_nvram()
705 oops_data, oops_data_sz, &text_len); in oops_to_nvram()
708 oops_hdr->report_length = cpu_to_be16(text_len); in oops_to_nvram()
713 (int) (sizeof(*oops_hdr) + text_len), err_type, in oops_to_nvram()
/Linux-v4.19/Documentation/kdump/
Dgdbmacros.txt205 if ($msg->text_len != 0)
206 eval "printf \"%%%d.%ds\", $log", $msg->text_len, $msg->text_len
212 set $dict = $log + $msg->text_len
/Linux-v4.19/drivers/staging/media/bcm2048/
Dradio-bcm2048.c263 u8 text_len; member
1351 if (!bdev->rds_info.text_len) { in bcm2048_get_rds_rt()
1401 if (!bdev->rds_info.text_len) { in bcm2048_get_rds_ps()
1761 bdev->rds_info.text_len = bdev->fifo_size; in bcm2048_rds_fifo_receive()
1779 if (!bdev->rds_info.text_len) { in bcm2048_get_rds_data()
1790 for (i = 0; i < bdev->rds_info.text_len; i++) { in bcm2048_get_rds_data()
/Linux-v4.19/drivers/staging/fbtft/
Dfbtft-core.c58 size_t text_len; in fbtft_dbg_hex() local
61 text_len = vscnprintf(text, sizeof(textbuf), fmt, args); in fbtft_dbg_hex()
64 hex_dump_to_buffer(buf, len, 32, groupsize, text + text_len, in fbtft_dbg_hex()
65 512 - text_len, false); in fbtft_dbg_hex()
/Linux-v4.19/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()