Lines Matching refs:sample_buffer
11 static char* sample_buffer;
29 if (sample_buffer_pos == sample_buffer + SAMPLE_BUFFER_SIZE)
30 sample_buffer_pos = sample_buffer;
44 if (copy_to_user(buf, sample_buffer + p,count))
47 memset(sample_buffer + p, 0, count);
57 sample_buffer_pos = sample_buffer;
58 memset(sample_buffer, 0, SAMPLE_BUFFER_SIZE);
71 sample_buffer = kmalloc(SAMPLE_BUFFER_SIZE, GFP_KERNEL);
72 if (!sample_buffer) {
76 sample_buffer_pos = sample_buffer;