Home
last modified time | relevance | path

Searched refs:cur_count (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/arch/mips/sibyte/sb1250/
Dbcm1250_tbprof.c297 int cur_sample, sample_off, cur_count, sample_left; in sbprof_tb_read() local
311 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()