Searched refs:cur_count (Results 1 – 1 of 1) sorted by relevance
297 int cur_sample, sample_off, cur_count, sample_left; in sbprof_tb_read() local311 cur_count = size < sample_left ? size : sample_left; in sbprof_tb_read()313 copy_to_user(dest, src, cur_count); in sbprof_tb_read()314 DBG(printk(DEVNAME ": read from sample %d, %d bytes\n", cur_sample, cur_count)); in sbprof_tb_read()315 size -= cur_count; in sbprof_tb_read()316 sample_left -= cur_count; in sbprof_tb_read()322 sample_off += cur_count; in sbprof_tb_read()324 cur_off += cur_count; in sbprof_tb_read()325 dest += cur_count; in sbprof_tb_read()326 count += cur_count; in sbprof_tb_read()