Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs27 pub checksum: u64, field
53 checksum: 0, in new()
55 let checksum = Self::calculate_checksum(&x); in new() localVariable
56 x.checksum = checksum; in new()
67 checksum: 0, in zeroed()
79 let checksum = kdepends::crc::crc64::crc64_be(0, buf); in calculate_checksum() localVariable
80 return checksum; in calculate_checksum()
85 let checksum = Self::calculate_checksum(self); in validate_checksum() localVariable
86 return checksum == self.checksum; in validate_checksum()
/DragonOS/kernel/src/filesystem/fat/
H A Dentry.rs725 LongNameEntryGenerator::new(long_name, short_dentry.checksum());
1016 checksum: u8, field
1041 checksum: check_sum, in new()
1153 cursor.write_u8(self.checksum)?; in flush()
1324 fn checksum(&self) -> u8 { in checksum() method
1852 checksum: u16, field
1929 checksum: Self::fletcher_16_checksum(name), in new()
2031 if checksum_result == Ok(Ok(self.checksum)) {
2069 self.checksum = (core::num::Wrapping(self.checksum) + core::num::Wrapping(1)).0; in next_iteration()
2086 buf[prefix_len..prefix_len + 4].copy_from_slice(&Self::u16_to_u8_array(self.checksum));
[all …]
/DragonOS/kernel/src/arch/x86_64/init/
H A Dmultiboot2.rs34 checksum: tag.checksum, in mb2_rsdp_v1_tag_to_rsdp_struct()
48 checksum: tag.checksum, in mb2_rsdp_v2_tag_to_rsdp_struct()
/DragonOS/kernel/crates/rbpf/
H A DREADME.md694 * Add helpers (some of those supported in the kernel, such as checksum update,