Home
last modified time | relevance | path

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

/Linux-v5.10/tools/testing/selftests/powerpc/nx-gzip/
Dgunz_test.c282 int used_in, cur_in, used_out, cur_out, read_sz, n; in decompress_file() local
394 used_in = cur_in = used_out = cur_out = 0; in decompress_file()
496 first_used = fifo_used_first_bytes(cur_out, used_out, fifo_out_len); in decompress_file()
497 last_used = fifo_used_last_bytes(cur_out, used_out, fifo_out_len); in decompress_file()
503 n = fwrite(fifo_out + cur_out, 1, write_sz, outf); in decompress_file()
506 cur_out = (cur_out + n) % fifo_out_len; in decompress_file()
521 cur_out = (cur_out + n) % fifo_out_len; in decompress_file()
563 if (cur_out >= history_len) { in decompress_file()
565 + (cur_out - history_len), in decompress_file()
569 + ((fifo_out_len + cur_out) in decompress_file()
[all …]
/Linux-v5.10/drivers/usb/mon/
Dmon_bin.c901 unsigned int cur_out; in mon_bin_fetch() local
920 cur_out = rp->b_out; in mon_bin_fetch()
927 ep = MON_OFF2HDR(rp, cur_out); in mon_bin_fetch()
928 if (put_user(cur_out, &vec[nevents])) { in mon_bin_fetch()
936 if ((cur_out += size) >= rp->b_size) in mon_bin_fetch()
937 cur_out -= rp->b_size; in mon_bin_fetch()
951 unsigned int cur_out; in mon_bin_queued() local
964 cur_out = rp->b_out; in mon_bin_queued()
968 ep = MON_OFF2HDR(rp, cur_out); in mon_bin_queued()
973 if ((cur_out += size) >= rp->b_size) in mon_bin_queued()
[all …]