Home
last modified time | relevance | path

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

/linux/fs/btrfs/
H A Dfile-item.c291 u64 csum_len; in search_csum_tree() local
304 csum_len = (itemsize / csum_size) * sectorsize; in search_csum_tree()
306 if (in_range(disk_bytenr, csum_start, csum_len)) in search_csum_tree()
322 csum_len = (itemsize / csum_size) * sectorsize; in search_csum_tree()
323 ASSERT(in_range(disk_bytenr, csum_start, csum_len)); in search_csum_tree()
326 ret = (min(csum_start + csum_len, disk_bytenr + len) - in search_csum_tree()
H A Dtree-log.c4602 u64 csum_len; in log_extent_csums() local
4674 csum_len = em->disk_num_bytes; in log_extent_csums()
4677 csum_len = mod_len; in log_extent_csums()
4684 block_start + csum_offset + csum_len - 1, in log_extent_csums()
/linux/tools/testing/selftests/net/
H A Dtxtimestamp.c422 unsigned long pseudo_sum, csum_len; in get_udp_csum() local
430 csum_len = ntohs(udph->len) + alen * 2; in get_udp_csum()
432 return get_ip_csum(csum_start, csum_len >> 1, pseudo_sum); in get_udp_csum()