Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dbinfmt_flat.c307 unsigned long text_len; in calc_reloc() local
313 text_len = p->lib_list[0].text_len; in calc_reloc()
317 r, start_brk-start_data+text_len, text_len); in calc_reloc()
324 addr = r - text_len + start_data; in calc_reloc()
421 text_len = ntohl(hdr->data_start); in load_flat_file()
555 vm_munmap(textpos, text_len); in load_flat_file()
579 vm_munmap(textpos, text_len); in load_flat_file()
590 len = text_len + data_len + extra + in load_flat_file()
622 (text_len + full_data in load_flat_file()
689 end_code = textpos + text_len; in load_flat_file()
[all …]
/openbmc/qemu/linux-user/
H A Dflatload.c61 abi_ulong text_len; /* Length of text segment */ member
268 abi_ulong text_len; in calc_reloc() local
309 text_len = p[id].text_len; in calc_reloc()
318 if (r < text_len) /* In text segment */ in calc_reloc()
321 addr = r - text_len + start_data; in calc_reloc()
385 abi_ulong text_len, data_len, bss_len, stack_len, flags; in load_flat_file() local
395 text_len = ntohl(hdr->data_start); in load_flat_file()
465 textpos = target_mmap(0, text_len, PROT_READ|PROT_EXEC, in load_flat_file()
544 text_len, 0); in load_flat_file()
566 (int) start_code, (int) (textpos + text_len), in load_flat_file()
[all …]
/openbmc/linux/lib/
H A 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()
H A Dts_bm.c79 unsigned int i, text_len, consumed = state->offset; in bm_find() local
87 text_len = conf->get_next_block(consumed, &text, conf, state); in bm_find()
89 if (unlikely(text_len == 0)) in bm_find()
92 while (shift < text_len) { in bm_find()
109 consumed += text_len; in bm_find()
/openbmc/linux/kernel/printk/
H A Dprintk.c1109 dest_r.info->text_len = r->info->text_len; in add_to_rb()
1385 size_t text_len = r->info->text_len; in record_print_text() local
2161 u16 text_len; in printk_sprint() local
2166 if (text_len && text[text_len - 1] == '\n') { in printk_sprint()
2167 text_len--; in printk_sprint()
2184 return text_len; in printk_sprint()
2202 u16 text_len; in vprintk_store() local
2245 text_len = printk_sprint(&r.text_buf[r.info->text_len], reserve_size, in vprintk_store()
2247 r.info->text_len += text_len; in vprintk_store()
2256 ret = text_len; in vprintk_store()
[all …]
H A Dprintk_ringbuffer.c1388 if (WARN_ON_ONCE(info->text_len != 0)) { in prb_reserve_in_last()
1390 info->text_len); in prb_reserve_in_last()
1391 info->text_len = 0; in prb_reserve_in_last()
1411 if (WARN_ON_ONCE(info->text_len > data_size)) { in prb_reserve_in_last()
1413 info->text_len, data_size); in prb_reserve_in_last()
1414 info->text_len = data_size; in prb_reserve_in_last()
1416 r->text_buf_size += info->text_len; in prb_reserve_in_last()
1825 if (!copy_data(&rb->text_data_ring, &desc.text_blk_lpos, info->text_len, in prb_read()
H A Dprintk_ringbuffer.h18 u16 text_len; /* length of text message */ member
/openbmc/linux/scripts/gdb/linux/
H A Ddmesg.py125 text_len = utils.read_u16(info, len_off)
128 if end - text_start < text_len:
129 text_len = end - text_start
132 text_len).tobytes()
133 text = text_data[0:text_len].decode(encoding='utf8', errors='replace')
/openbmc/linux/Documentation/admin-guide/kdump/
H A 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
H A Dvmcoreinfo.rst282 (printk_info, seq|ts_nsec|text_len|dict_len|caller_id)
/openbmc/linux/arch/powerpc/kernel/
H A 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()
654 size_t text_len; in oops_to_nvram() local
687 big_oops_buf, big_oops_buf_sz, &text_len); in oops_to_nvram()
688 rc = zip_oops(text_len); in oops_to_nvram()
693 oops_data, oops_data_sz, &text_len); in oops_to_nvram()
696 oops_hdr->report_length = cpu_to_be16(text_len); in oops_to_nvram()
701 (int) (sizeof(*oops_hdr) + text_len), err_type, in oops_to_nvram()
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0009-vmcore-dmesg.c-work-around-missing-imaxdiv.patch27 uint16_t text_len;
57 text_len = struct_val_u16(buf, log_offset_text_len);
/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c442 u32 text_len = text ? strlen(text) : 0; in vidtv_psi_short_event_desc_init() local
453 sizeof_field(struct vidtv_psi_desc_short_event, text_len) + in vidtv_psi_short_event_desc_init()
454 text_len; in vidtv_psi_short_event_desc_init()
457 desc->text_len = text_len; in vidtv_psi_short_event_desc_init()
472 if (text && text_len) { in vidtv_psi_short_event_desc_init()
757 psi_args.len = sizeof_field(struct vidtv_psi_desc_short_event, text_len); in vidtv_psi_desc_write_into()
758 psi_args.from = &((struct vidtv_psi_desc_short_event *)args->desc)->text_len; in vidtv_psi_desc_write_into()
763 psi_args.len = ((struct vidtv_psi_desc_short_event *)args->desc)->text_len; in vidtv_psi_desc_write_into()
H A Dvidtv_psi.h135 u8 text_len; member
/openbmc/linux/drivers/staging/fbtft/
H A 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()
/openbmc/linux/arch/alpha/kernel/
H A Dosf_sys.c71 unsigned long, text_len, unsigned long, bss_start, in SYSCALL_DEFINE4() argument
82 text_start, text_len, bss_start, bss_len); in SYSCALL_DEFINE4()