Home
last modified time | relevance | path

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

/linux/kernel/printk/
H A Dprintk_ringbuffer.h51 char *text_buf; member
255 #define _DEFINE_PRINTKRB(name, descbits, avgtextbits, text_buf) \ argument
288 .data = text_buf, \
323 r->text_buf = NULL; in prb_rec_init_wr()
335 char *text_buf, unsigned int text_buf_size,
356 char *text_buf, unsigned int text_buf_size) in prb_rec_init_rd() argument
359 r->text_buf = text_buf; in prb_rec_init_rd()
H A Dprintk_ringbuffer_kunit_test.c149 dat = (struct prbtest_rbdata *)r.text_buf; in prbtest_writer()
187 char text_buf[MAX_PRB_RECORD_SIZE]; in prbtest_reader() local
197 prb_rec_init_rd(&r, &info, text_buf, sizeof(text_buf)); in prbtest_reader()
208 if (!prbtest_check_data((struct prbtest_rbdata *)r.text_buf)) in prbtest_reader()
210 (struct prbtest_rbdata *)r.text_buf, info.seq); in prbtest_reader()
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.c7918 char *text_buf; in format_feature() local
7949 text_buf = vzalloc(txt_size_bytes); in format_feature()
7950 if (!text_buf) { in format_feature()
7960 text_buf); in format_feature()
7962 vfree(text_buf); in format_feature()
7971 text_buf[i] = '\n'; in format_feature()
7975 qed_dbg_print_feature(text_buf, txt_size_bytes); in format_feature()
7979 vfree(text_buf); in format_feature()
7987 feature->dump_buf = text_buf; in format_feature()