Home
last modified time | relevance | path

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

/openbmc/linux/kernel/printk/
H A Dprintk_ringbuffer.h43 char *text_buf; member
233 #define _DEFINE_PRINTKRB(name, descbits, avgtextbits, text_buf) \ argument
266 .data = text_buf, \
301 r->text_buf = NULL; in prb_rec_init_wr()
313 char *text_buf, unsigned int text_buf_size,
334 char *text_buf, unsigned int text_buf_size) in prb_rec_init_rd() argument
337 r->text_buf = text_buf; in prb_rec_init_rd()
H A Dprintk_ringbuffer.c1400 r->text_buf = data_alloc(rb, r->text_buf_size, in prb_reserve_in_last()
1424 r->text_buf = data_realloc(rb, r->text_buf_size, in prb_reserve_in_last()
1427 if (r->text_buf_size && !r->text_buf) in prb_reserve_in_last()
1555 r->text_buf = data_alloc(rb, r->text_buf_size, &d->text_blk_lpos, id); in prb_reserve()
1557 if (r->text_buf_size && !r->text_buf) { in prb_reserve()
1826 r->text_buf, r->text_buf_size, line_count)) { in prb_read()
2076 char *text_buf, unsigned int textbits, in prb_init() argument
2091 rb->text_data_ring.data = text_buf; in prb_init()
H A Dprintk.c1108 memcpy(&dest_r.text_buf[0], &r->text_buf[0], r->info->text_len); in add_to_rb()
1387 char *text = r->text_buf; in record_print_text()
1478 r->text_buf[len] = 0; in record_print_text()
2245 text_len = printk_sprint(&r.text_buf[r.info->text_len], reserve_size, in vprintk_store()
2277 text_len = printk_sprint(&r.text_buf[0], reserve_size, facility, &flags, fmt, args); in vprintk_store()
2279 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in vprintk_store()
2874 &r.text_buf[0], r.info->text_len, &r.info->dev_info); in printk_get_next_message()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/ippool/ippool/
H A Dstrncpy-truncation.patch19 + int bufsize = sizeof(text_buf)/sizeof(text_buf[0]);
35 - strncpy(&text_buf[0], text1, left_margin - 3);
36 + memcpy(&text_buf[0], text1, left_margin - 3);
38 text_buf[pos] = ' ';
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_parameters.c42 char *text_buf, in iscsi_login_tx_data() argument
54 if (text_buf && text_length) { in iscsi_login_tx_data()
56 iov[1].iov_base = text_buf; in iscsi_login_tx_data()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c7945 char *text_buf; in format_feature() local
7976 text_buf = vzalloc(txt_size_bytes); in format_feature()
7977 if (!text_buf) { in format_feature()
7987 text_buf); in format_feature()
7989 vfree(text_buf); in format_feature()
7998 text_buf[i] = '\n'; in format_feature()
8002 qed_dbg_print_feature(text_buf, txt_size_bytes); in format_feature()
8006 vfree(text_buf); in format_feature()
8014 feature->dump_buf = text_buf; in format_feature()