/packages/modules/Virtualization/vmbase/example/src/ |
D | exceptions.rs | 20 extern "C" fn sync_exception_current(_elr: u64, _spsr: u64) { in sync_exception_current() argument 27 extern "C" fn irq_current(_elr: u64, _spsr: u64) { in irq_current() argument 33 extern "C" fn fiq_current(_elr: u64, _spsr: u64) { in fiq_current() argument 39 extern "C" fn serr_current(_elr: u64, _spsr: u64) { in serr_current() argument 46 extern "C" fn sync_lower(_elr: u64, _spsr: u64) { in sync_lower() argument 53 extern "C" fn irq_lower(_elr: u64, _spsr: u64) { in irq_lower() argument 59 extern "C" fn fiq_lower(_elr: u64, _spsr: u64) { in fiq_lower() argument 65 extern "C" fn serr_lower(_elr: u64, _spsr: u64) { in serr_lower() argument
|
/packages/modules/Virtualization/pvmfw/src/ |
D | exceptions.rs | 38 extern "C" fn sync_exception_current(elr: u64, _spsr: u64) { in sync_exception_current() argument 50 extern "C" fn irq_current(_elr: u64, _spsr: u64) { in irq_current() argument 56 extern "C" fn fiq_current(_elr: u64, _spsr: u64) { in fiq_current() argument 62 extern "C" fn serr_current(_elr: u64, _spsr: u64) { in serr_current() argument 70 extern "C" fn sync_lower(_elr: u64, _spsr: u64) { in sync_lower() argument 78 extern "C" fn irq_lower(_elr: u64, _spsr: u64) { in irq_lower() argument 84 extern "C" fn fiq_lower(_elr: u64, _spsr: u64) { in fiq_lower() argument 90 extern "C" fn serr_lower(_elr: u64, _spsr: u64) { in serr_lower() argument
|
D | entry.rs | 66 pub fn start(fdt_address: u64, payload_start: u64, payload_size: u64, _arg3: u64) { in start() argument 271 fn jump_to_payload(fdt_address: u64, payload_start: u64, bcc: Range<usize>) -> ! { in jump_to_payload() argument 272 const ASM_STP_ALIGN: usize = size_of::<u64>() * 2; in jump_to_payload() 273 const SCTLR_EL1_RES1: u64 = (0b11 << 28) | (0b101 << 20) | (0b1 << 11); in jump_to_payload() 275 const SCTLR_EL1_I: u64 = 0b1 << 12; in jump_to_payload() 277 const SCTLR_EL1_SED: u64 = 0b1 << 8; in jump_to_payload() 279 const SCTLR_EL1_ITD: u64 = 0b1 << 7; in jump_to_payload() 281 const SCTLR_EL1_VAL: u64 = SCTLR_EL1_RES1 | SCTLR_EL1_ITD | SCTLR_EL1_SED | SCTLR_EL1_I; in jump_to_payload() 380 bcc = in(reg) u64::try_from(bcc.start).unwrap(), in jump_to_payload() 381 bcc_end = in(reg) u64::try_from(bcc.end).unwrap(), in jump_to_payload() [all …]
|
D | gpt.rs | 157 type Lba = u64; 163 signature: u64, 181 const SIGNATURE: u64 = u64::from_le_bytes(*b"EFI PART"); 195 fn signature(&self) -> u64 { in signature() argument 196 u64::from_le(self.signature) in signature() 232 flags: u64,
|
/packages/modules/Virtualization/vmbase/src/ |
D | entry.rs | 55 extern "C" fn rust_entry(x0: u64, x1: u64, x2: u64, x3: u64) -> ! { in rust_entry() argument 67 const SIZE_OF_STACK_GUARD: usize = size_of::<u64>(); in rust_entry() 80 bionic::__get_tls().stack_guard = u64::from_ne_bytes(stack_guard); in rust_entry() 95 fn main(arg0: u64, arg1: u64, arg2: u64, arg3: u64); in main() argument 123 fn __main(arg0: u64, arg1: u64, arg2: u64, arg3: u64) {
|
D | hvc.rs | 40 pub type TrngRng64Entropy = [u64; 3]; 42 pub fn trng_rnd64(nbits: u64) -> trng::Result<TrngRng64Entropy> { in trng_rnd64() 52 pub fn trng_features(fid: u32) -> trng::Result<u64> { in trng_features() argument 54 args[0] = fid as u64; in trng_features()
|
/packages/modules/Virtualization/authfs/src/ |
D | common.rs | 18 pub const CHUNK_SIZE: u64 = 4096; 20 pub fn divide_roundup(dividend: u64, divisor: u64) -> u64 { in divide_roundup() argument 28 offset: u64, 33 pub fn new(remaining: usize, offset: u64, alignment: usize) -> Self { in new() argument 39 type Item = (u64, usize); 47 self.alignment - (self.offset % self.alignment as u64) as usize, in next() 50 self.offset += chunk_data_size as u64; in next() 60 fn collect_chunk_read_iter(remaining: usize, offset: u64) -> Vec<(u64, usize)> { in collect_chunk_read_iter() argument
|
D | fsstat.rs | 27 pub block_size: u64, 29 pub fragment_size: u64, 31 pub block_numbers: u64, 33 pub block_available: u64, 35 pub inodes_available: u64, 37 pub max_filename: u64,
|
D | file.rs | 42 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize>; in read_chunk() argument 53 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize>; in write_at() 56 fn write_all_at(&self, buf: &[u8], offset: u64) -> io::Result<()> { in write_all_at() 62 output_offset += size as u64; in write_all_at() 68 fn resize(&self, size: u64) -> io::Result<()>; in resize() 85 pub fn new<F: ReadByChunk>(chunked_file: F, file_size: u64) -> io::Result<EagerChunkReader> { in new() 106 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument
|
/packages/modules/Virtualization/vmbase/src/hyp/hypervisor/ |
D | common.rs | 58 fn share(&self, base_ipa: u64) -> Result<()>; in share() 63 fn unshare(&self, base_ipa: u64) -> Result<()>; in unshare() 72 fn get_phys_mmio_token(&self, base_ipa: u64, size: u64) -> Result<u64>; in get_phys_mmio_token() argument 75 fn get_phys_iommu_token(&self, pviommu_id: u64, vsid: u64) -> Result<(u64, u64)>; in get_phys_iommu_token() argument
|
D | kvm.rs | 154 fn share(&self, base_ipa: u64) -> Result<()> { in share() 161 fn unshare(&self, base_ipa: u64) -> Result<()> { in unshare() 176 fn get_phys_mmio_token(&self, base_ipa: u64, size: u64) -> Result<u64> { in get_phys_mmio_token() argument 185 fn get_phys_iommu_token(&self, pviommu_id: u64, vsid: u64) -> Result<(u64, u64)> { in get_phys_iommu_token() argument 195 fn checked_hvc64_expect_zero(function: u32, args: [u64; 17]) -> Result<()> { in checked_hvc64_expect_zero() 199 fn checked_hvc64(function: u32, args: [u64; 17]) -> Result<u64> { in checked_hvc64() argument 203 fn checked_hvc64_expect_results(function: u32, args: [u64; 17]) -> Result<[u64; 17]> { in checked_hvc64_expect_results()
|
/packages/modules/Virtualization/authfs/src/fsverity/ |
D | common.rs | 45 fn log128_ceil(num: u64) -> Option<u64> { in log128_ceil() argument 48 n => Some(divide_roundup(64 - (n - 1).leading_zeros() as u64, 7)), in log128_ceil() 53 pub fn merkle_tree_height(data_size: u64) -> Option<u64> { in merkle_tree_height() argument 54 let hashes_per_node = CHUNK_SIZE / SHA256_HASH_SIZE as u64; in merkle_tree_height() 60 pub fn merkle_tree_size(mut data_size: u64) -> u64 { in merkle_tree_size() argument 63 let hash_size = divide_roundup(data_size, CHUNK_SIZE) * SHA256_HASH_SIZE as u64; in merkle_tree_size() 71 pub fn build_fsverity_digest(root_hash: &Sha256Hash, file_size: u64) -> Sha256Hash { in build_fsverity_digest()
|
D | verifier.rs | 39 chunk_index: u64, in verity_check() argument 40 file_size: u64, in verity_check() argument 76 chunk_index: u64, in fsverity_walk() argument 77 file_size: u64, in fsverity_walk() argument 80 let hashes_per_node = CHUNK_SIZE / SHA256_HASH_SIZE as u64; 91 let offset_in_level = (chunk_index / leaves_per_hash) * SHA256_HASH_SIZE as u64; 118 pub file_size: u64, 127 file_size: u64, in new() argument 152 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument 176 size: u64, [all …]
|
D | builder.rs | 41 file_size: u64, 66 pub fn file_size(&self) -> u64 { in file_size() argument 77 let new_file_size = new_file_size as u64; in resize() 85 pub fn update_hash(&mut self, index: usize, hash: &Sha256Hash, size_at_least: u64) { in update_hash() argument 125 debug_assert_eq!((self.file_size - 1) / CHUNK_SIZE, n as u64); in calculate_root_hash() 126 let size_for_equivalent = n as u64 * CHUNK_SIZE; in calculate_root_hash() 267 tree.update_hash(index, &hash, CHUNK_SIZE * index as u64 + chunk.len() as u64); in generate_fsverity_digest_sequentially()
|
D | editor.rs | 68 debug_assert!(usize::MAX as u64 == u64::MAX, "Only 64-bit arch is supported"); in debug_assert_usize_is_u64() 97 chunk_index: u64, in read_backing_chunk_unverified() argument 105 chunk_index: u64, in read_backing_chunk_verified() argument 140 self.read_backing_chunk_unverified(output_chunk_index as u64, &mut orig_data)?; in new_hash_for_incomplete_write() 164 if current_size as u64 == CHUNK_SIZE { in new_chunk_hash() 180 pub fn size(&self) -> u64 { in size() argument 186 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 241 let size_at_least = offset.saturating_add(buf.len() as u64); in write_at() 247 fn resize(&self, size: u64) -> io::Result<()> { in resize() 285 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument [all …]
|
/packages/modules/DnsResolver/doh/tests/doh_frontend/src/ |
D | config.rs | 22 pub const QUICHE_IDLE_TIMEOUT_MS: u64 = 10_000; 29 const MAX_BUFFER_SIZE: u64 = 1_000_000; 32 pub const MAX_STREAMS_BIDI: u64 = 100; 38 pub max_idle_timeout: u64, 39 pub max_buffer_size: u64, 40 pub max_streams_bidi: u64, 41 pub reset_stream_id: Option<u64>,
|
/packages/modules/Bluetooth/system/stack/include/ |
D | bt_types.h | 78 #define UINT64_TO_BE_STREAM(p, u64) \ argument 80 *(p)++ = (uint8_t)((u64) >> 56); \ 81 *(p)++ = (uint8_t)((u64) >> 48); \ 82 *(p)++ = (uint8_t)((u64) >> 40); \ 83 *(p)++ = (uint8_t)((u64) >> 32); \ 84 *(p)++ = (uint8_t)((u64) >> 24); \ 85 *(p)++ = (uint8_t)((u64) >> 16); \ 86 *(p)++ = (uint8_t)((u64) >> 8); \ 87 *(p)++ = (uint8_t)(u64); \ 160 #define STREAM_TO_UINT64(u64, p) \ argument [all …]
|
/packages/modules/Virtualization/libs/devicemapper/src/loopdevice/ |
D | sys.rs | 36 pub reserved: [u64; 8], 42 pub lo_device: u64, 43 pub lo_inode: u64, 44 pub lo_rdevice: u64, 45 pub lo_offset: u64, 46 pub lo_sizelimit: u64, 54 pub lo_init: [u64; 2],
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | instance.rs | 60 const DISK_HEADER_SIZE: u64 = 512; 61 const PARTITION_HEADER_SIZE: u64 = 512; 80 payload_size: u64, // in bytes 84 type PartitionOffset = u64; 167 let payload_size = (AES_256_GCM_NONCE_LENGTH + data.len() + AES_256_GCM_TAG_LENGTH) as u64; in write_microdroid_data() 205 fn read_header_at(&mut self, header_offset: u64) -> Result<PartitionHeader> { in read_header_at() 224 header_offset: u64, in write_header_at() argument 226 payload_size: u64, in write_header_at() argument 265 fn round_to_multiple(n: u64, unit: u64) -> Result<u64> { in round_to_multiple() argument 295 pub version_code: u64, [all …]
|
/packages/modules/Virtualization/libs/apkverify/src/ |
D | sigutil.rs | 32 const CHUNK_SIZE_BYTES: u64 = 1024 * 1024; 111 scoped_read(&mut self.inner, 0, self.signing_block_offset as u64) in zip_entries() 117 self.central_directory_offset as u64, in central_directory() 118 self.central_directory_size as u64, in central_directory() 131 Ok(Read::take(Box::new(Cursor::new(eocd)), self.eocd_size as u64)) in eocd_for_verification() 135 self.inner.seek(SeekFrom::Start(offset as u64))?; in bytes() 144 offset: u64, in scoped_read() argument 145 size: u64, in scoped_read() argument 181 reader.seek(SeekFrom::Start((central_directory_offset - 24) as u64))?; in find_signing_block() 191 reader.seek(SeekFrom::Start(signing_block_offset as u64))?; in find_signing_block() [all …]
|
/packages/modules/Bluetooth/tools/rootcanal/rust/src/lmp/test/ |
D | context.rs | 34 features_pages: [u64; 3], 35 peer_features_pages: [u64; 3], 46 self.features_pages[1] |= u64::from(feature); in with_page_1_feature() 51 self.features_pages[2] |= u64::from(feature); in with_page_2_feature() 56 self.peer_features_pages[1] |= u64::from(feature); in with_peer_page_1_feature() 61 self.peer_features_pages[2] |= u64::from(feature); in with_peer_page_2_feature() 107 fn peer_extended_features(&self, features_page: u8) -> Option<u64> { in peer_extended_features() argument 111 fn extended_features(&self, features_page: u8) -> u64 { in extended_features() argument
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | crypt.rs | 28 const SECTOR_SIZE: u64 = 512; 83 iv_offset: u64, 85 offset: u64, 86 device_size: u64, 106 pub fn data_device(&mut self, p: &'a Path, size: u64) -> &mut Self { in data_device() 125 pub fn iv_offset(&mut self, iv_offset: u64) -> &mut Self { in iv_offset() 131 pub fn offset(&mut self, offset: u64) -> &mut Self { in offset()
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | iterators.rs | 122 type Item = Reg<u64>; 137 impl Reg<u64> { 235 impl FromAddrCells for u64 { implementation 245 impl FromAddrCells for (u32, u64) { implementation 249 (cells.next()?, (cells.next()? as u64) << 32 | cells.next()? as u64) in from_addr_cells() 260 impl FromSizeCells for u64 { implementation 270 impl AddressRange<(u32, u64), u64, u64> {
|
/packages/modules/Bluetooth/system/gd/rust/topshim/src/ |
D | controller.rs | 16 fn get_ble_supported_states(self: &ControllerIntf) -> u64; in get_ble_supported_states() argument 17 fn get_ble_local_supported_features(self: &ControllerIntf) -> u64; in get_ble_local_supported_features() argument 37 pub fn get_ble_supported_states(&mut self) -> u64 { in get_ble_supported_states() argument 41 pub fn get_ble_local_supported_features(&mut self) -> u64 { in get_ble_local_supported_features() argument
|
/packages/modules/Virtualization/authfs/src/file/ |
D | remote_file.rs | 28 chunk_index: u64, in remote_read_chunk() argument 77 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument 94 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument 120 fn write_at(&self, buf: &[u8], offset: u64) -> io::Result<usize> { in write_at() 130 fn resize(&self, size: u64) -> io::Result<()> { in resize() 141 fn read_chunk(&self, chunk_index: u64, buf: &mut ChunkBuffer) -> io::Result<usize> { in read_chunk() argument
|