Searched refs:sample_buffer (Results 1 – 1 of 1) sorted by relevance
12 static char *sample_buffer; variable29 if (sample_buffer_pos == sample_buffer + SAMPLE_BUFFER_SIZE) in cris_profile_sample()30 sample_buffer_pos = sample_buffer; in cris_profile_sample()40 ret = simple_read_from_buffer(buf, count, ppos, sample_buffer, in read_cris_profile()45 memset(sample_buffer + p, 0, ret); in read_cris_profile()54 sample_buffer_pos = sample_buffer; in write_cris_profile()55 memset(sample_buffer, 0, SAMPLE_BUFFER_SIZE); in write_cris_profile()69 sample_buffer = kmalloc(SAMPLE_BUFFER_SIZE, GFP_KERNEL); in init_cris_profile()70 if (!sample_buffer) { in init_cris_profile()74 sample_buffer_pos = sample_buffer; in init_cris_profile()