Home
last modified time | relevance | path

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

/fs/btrfs/
Dlzo.c170 u32 copy_len = min_t(u32, sectorsize - *cur_out % sectorsize, in copy_compressed_data_to_page() local
189 compressed_data + *cur_out - orig_out, copy_len); in copy_compressed_data_to_page()
191 *cur_out += copy_len; in copy_compressed_data_to_page()
317 u32 copy_len = min_t(u32, PAGE_SIZE - offset_in_page(*cur_in), in copy_compressed_segment() local
320 ASSERT(copy_len); in copy_compressed_segment()
324 offset_in_page(*cur_in), copy_len); in copy_compressed_segment()
326 *cur_in += copy_len; in copy_compressed_segment()
Dcompression.c1029 size_t copy_len; in btrfs_decompress_buf2page() local
1046 copy_len = min(bvec_offset + bvec.bv_len, in btrfs_decompress_buf2page()
1048 ASSERT(copy_len); in btrfs_decompress_buf2page()
1056 buf + copy_start - decompressed, copy_len); in btrfs_decompress_buf2page()
1057 cur_offset += copy_len; in btrfs_decompress_buf2page()
1059 bio_advance(orig_bio, copy_len); in btrfs_decompress_buf2page()
/fs/debugfs/
Dfile.c881 int copy_len, len; in debugfs_read_file_str() local
896 copy_len = strscpy(copy, str, len); in debugfs_read_file_str()
898 if (copy_len < 0) { in debugfs_read_file_str()
900 return copy_len; in debugfs_read_file_str()
903 copy[copy_len] = '\n'; in debugfs_read_file_str()
/fs/ntfs3/
Dinode.c1848 int copy_len; in ntfs_translate_junction() local
1900 copy_len = target_len - (target_start - target); in ntfs_translate_junction()
1902 if (PATH_MAX - tl_len <= copy_len) { in ntfs_translate_junction()
1904 target_start, PATH_MAX - tl_len, copy_len); in ntfs_translate_junction()
1911 tl_len += copy_len; in ntfs_translate_junction()