Lines Matching refs:sample_buffer
12 static char *sample_buffer;
29 if (sample_buffer_pos == sample_buffer + SAMPLE_BUFFER_SIZE)
30 sample_buffer_pos = sample_buffer;
40 ret = simple_read_from_buffer(buf, count, ppos, sample_buffer,
45 memset(sample_buffer + p, 0, ret);
54 sample_buffer_pos = sample_buffer;
55 memset(sample_buffer, 0, SAMPLE_BUFFER_SIZE);
68 sample_buffer = kmalloc(SAMPLE_BUFFER_SIZE, GFP_KERNEL);
69 if (!sample_buffer) {
73 sample_buffer_pos = sample_buffer;