Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/klog_types/src/
H A Dlib.rs28 pub checksum: u64, field
54 checksum: 0, in new()
56 let checksum = Self::calculate_checksum(&x); in new() localVariable
57 x.checksum = checksum; in new()
68 checksum: 0, in zeroed()
80 let checksum = kdepends::crc::crc64::crc64_be(0, buf); in calculate_checksum() localVariable
81 return checksum; in calculate_checksum()
86 let checksum = Self::calculate_checksum(self); in validate_checksum() localVariable
87 return checksum == self.checksum; in validate_checksum()
/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/src/filesystem/fat/
H A Dentry.rs727 LongNameEntryGenerator::new(long_name, short_dentry.checksum());
1018 checksum: u8, field
1043 checksum: check_sum, in new()
1155 cursor.write_u8(self.checksum)?; in flush()
1326 fn checksum(&self) -> u8 { in checksum() method
1854 checksum: u16, field
1931 checksum: Self::fletcher_16_checksum(name), in new()
2033 if checksum_result == Ok(Ok(self.checksum)) {
2071 self.checksum = (core::num::Wrapping(self.checksum) + core::num::Wrapping(1)).0; in next_iteration()
2088 buf[prefix_len..prefix_len + 4].copy_from_slice(&Self::u16_to_u8_array(self.checksum));
[all …]