Home
last modified time | relevance | path

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

/linux/kernel/printk/
H A Dprintk_ringbuffer.h40 * prb_reserve(). On success, prb_reserve() sets @info and @text_buf to
45 * prb_read_valid(). Note that the reader provides the @info and @text_buf,
47 * the char array pointed to by @text_buf will be filled with text data.
51 char *text_buf;
255 #define _DEFINE_PRINTKRB(name, descbits, avgtextbits, text_buf) \
288 .data = text_buf, \
323 r->text_buf = NULL;
335 char *text_buf, unsigned int text_buf_size,
347 * @text_buf: A buffer to store text data.
348 * @text_buf_size: The size of @text_buf
46 char *text_buf; global() member
250 _DEFINE_PRINTKRB(name,descbits,avgtextbits,text_buf) global() argument
351 prb_rec_init_rd(struct printk_record * r,struct printk_info * info,char * text_buf,unsigned int text_buf_size) prb_rec_init_rd() argument
[all...]
H A Dprintk_ringbuffer.c1471 r->text_buf = data_alloc(rb, r->text_buf_size, in prb_reserve_in_last()
1495 r->text_buf = data_realloc(rb, r->text_buf_size, in prb_reserve_in_last()
1498 if (r->text_buf_size && !r->text_buf) in prb_reserve_in_last()
1724 r->text_buf = data_alloc(rb, r->text_buf_size, &d->text_blk_lpos, id); in prb_reserve()
1726 if (r->text_buf_size && !r->text_buf) { in prb_reserve()
1994 r->text_buf, r->text_buf_size, line_count)) { in prb_read()
2366 char *text_buf, unsigned int textbits, in prb_init() argument
2381 rb->text_data_ring.data = text_buf; in prb_init()
H A Dprintk.c1122 memcpy(&dest_r.text_buf[0], &r->text_buf[0], r->info->text_len); in add_to_rb()
1419 char *text = r->text_buf; in record_print_text()
1510 r->text_buf[len] = 0; in record_print_text()
2329 text_len = printk_sprint(&r.text_buf[r.info->text_len], reserve_size, in vprintk_store()
2364 text_len = printk_sprint(&r.text_buf[0], reserve_size, facility, &flags, fmt, args); in vprintk_store()
2366 memcpy(&r.text_buf[text_len], trunc_msg, trunc_msg_len); in vprintk_store()
3070 &r.text_buf[0], r.info->text_len, &r.info->dev_info); in printk_get_next_message()
/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()
/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_debug.c7919 char *text_buf; in format_feature() local
7950 text_buf = vzalloc(txt_size_bytes); in format_feature()
7951 if (!text_buf) { in format_feature()
7961 text_buf); in format_feature()
7963 vfree(text_buf); in format_feature()
7972 text_buf[i] = '\n'; in format_feature()
7976 qed_dbg_print_feature(text_buf, txt_size_bytes); in format_feature()
7980 vfree(text_buf); in format_feature()
7988 feature->dump_buf = text_buf; in format_feature()