Searched refs:cur_in (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/fs/btrfs/ |
D | lzo.c | 223 u64 cur_in = start; in lzo_compress_folios() local 238 while (cur_in < start + len) { in lzo_compress_folios() 241 u32 sector_off = (cur_in - start) & sectorsize_mask; in lzo_compress_folios() 247 ret = btrfs_compress_filemap_get_folio(mapping, cur_in, &folio_in); in lzo_compress_folios() 253 in_len = min_t(u32, start + len - cur_in, sectorsize - sector_off); in lzo_compress_folios() 257 offset_in_page(cur_in), in_len, in lzo_compress_folios() 273 cur_in += in_len; in lzo_compress_folios() 279 if (cur_in - start > sectorsize * 2 && cur_in - start < cur_out) { in lzo_compress_folios() 285 if (PAGE_ALIGNED(cur_in)) { in lzo_compress_folios() 298 *total_in = cur_in - start; in lzo_compress_folios() [all …]
|
/linux-6.12.1/tools/testing/selftests/powerpc/nx-gzip/ |
D | gunz_test.c | 282 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() 430 cur_in = (used_in == 0) ? 0 : cur_in; in decompress_file() 437 first_free = fifo_free_first_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 438 last_free = fifo_free_last_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 441 first_offset = fifo_free_first_offset(cur_in, used_in); in decompress_file() 442 last_offset = fifo_free_last_offset(cur_in, used_in, fifo_in_len); in decompress_file() 606 first_used = fifo_used_first_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 607 last_used = fifo_used_last_bytes(cur_in, used_in, fifo_in_len); in decompress_file() 610 nx_append_dde(ddl_in, fifo_in + cur_in, first_used); in decompress_file() [all …]
|