Home
last modified time | relevance | path

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

/linux-5.19.10/fs/btrfs/
Dlzo.c132 u32 *cur_out, in copy_compressed_data_to_page() argument
140 if ((*cur_out / PAGE_SIZE) >= max_nr_page) in copy_compressed_data_to_page()
147 ASSERT((*cur_out / sectorsize) == (*cur_out + LZO_LEN - 1) / sectorsize); in copy_compressed_data_to_page()
149 cur_page = out_pages[*cur_out / PAGE_SIZE]; in copy_compressed_data_to_page()
155 out_pages[*cur_out / PAGE_SIZE] = cur_page; in copy_compressed_data_to_page()
159 write_compress_length(kaddr + offset_in_page(*cur_out), in copy_compressed_data_to_page()
161 *cur_out += LZO_LEN; in copy_compressed_data_to_page()
163 orig_out = *cur_out; in copy_compressed_data_to_page()
166 while (*cur_out - orig_out < compressed_size) { in copy_compressed_data_to_page()
167 u32 copy_len = min_t(u32, sectorsize - *cur_out % sectorsize, in copy_compressed_data_to_page()
[all …]
/linux-5.19.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-5.19.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 …]