Searched refs:text_buf_size (Results 1 - 3 of 3) sorted by relevance

/linux-master/kernel/printk/
H A Dprintk_ringbuffer.h31 * Using prb_rec_init_wr(), a writer sets @text_buf_size before calling
44 unsigned int text_buf_size; member in struct:printk_record
309 * @text_buf_size: The needed text buffer size.
312 unsigned int text_buf_size)
316 r->text_buf_size = text_buf_size;
327 char *text_buf, unsigned int text_buf_size,
340 * @text_buf_size: The size of @text_buf.
348 char *text_buf, unsigned int text_buf_size)
352 r->text_buf_size
311 prb_rec_init_wr(struct printk_record *r, unsigned int text_buf_size) argument
346 prb_rec_init_rd(struct printk_record *r, struct printk_info *info, char *text_buf, unsigned int text_buf_size) argument
[all...]
H A Dprintk_ringbuffer.c175 * snprintf(r.text_buf, r.text_buf_size, "%s", textstr);
209 * r.text_buf_size - r.info->text_len, "hello");
230 * if (info.text_len > r.text_buf_size) {
232 * text_buf[r.text_buf_size - 1] = 0;
1338 * setting the @text_buf_size field of @r. To ensure proper initialization
1352 * - @r->text_buf_size is set to the new total size of the buffer.
1362 * @text_buf_size. Writers can use @r->info->text_len to know
1410 if (!data_check_size(&rb->text_data_ring, r->text_buf_size))
1413 if (r->text_buf_size > max_size)
1416 r->text_buf = data_alloc(rb, r->text_buf_size,
[all...]
H A Dprintk.c1379 * return value is @r->text_buf_size - 1;
1389 size_t buf_size = r->text_buf_size;

Completed in 194 milliseconds