Lines Matching refs:cur_count
455 int cur_sample, sample_off, cur_count, sample_left; in sbprof_tb_read() local
474 cur_count = size < sample_left ? size : sample_left; in sbprof_tb_read()
476 err = __copy_to_user(dest, src, cur_count); in sbprof_tb_read()
478 *offp = cur_off + cur_count - err; in sbprof_tb_read()
483 cur_sample, cur_count); in sbprof_tb_read()
484 size -= cur_count; in sbprof_tb_read()
485 sample_left -= cur_count; in sbprof_tb_read()
491 sample_off += cur_count; in sbprof_tb_read()
493 cur_off += cur_count; in sbprof_tb_read()
494 dest += cur_count; in sbprof_tb_read()
495 count += cur_count; in sbprof_tb_read()