Searched refs:disk (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.8/tools/ |
D | create_hdd_image.sh | 16 fdisk disk.img << EOF 31 sudo parted disk.img << EOF 52 qemu-img create -f raw disk.img 64M 80 LOOP_DEVICE=$(sudo losetup -f --show -P disk.img) \ 88 chmod 777 disk.img 89 mv ./disk.img ../bin/
|
D | mount_virt_disk.sh | 8 LOOP_DEVICE=$(losetup -f --show -P ../bin/disk.img) \
|
/DragonOS-0.1.8/kernel/src/io/ |
D | disk_info.rs | 18 disk: Weak<dyn BlockDevice>, // 当前分区所属的磁盘 field 32 disk: Weak<dyn BlockDevice>, in new() 39 disk, in new() 46 pub fn disk(&self) -> Arc<dyn BlockDevice> { in disk() method 47 return self.disk.upgrade().unwrap(); in disk()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 29 disk: Arc<LockedAhciDisk>, field 36 pub fn new(disk: Arc<LockedAhciDisk>) -> Arc<Self> { in new() 41 disk: disk, in new() 127 return self.0.lock().disk.read_at(offset, len, buf); in read_at() 146 return self.0.lock().disk.write_at(offset, len, buf); in write_at()
|
D | mod.rs | 15 driver::disk::ahci::{ 194 let disk: Arc<LockedAhciDisk> = get_disks_by_name("ahci_disk_0".to_string()).unwrap(); in __test_ahci() localVariable 202 let _dd = disk; in __test_ahci()
|
D | ahcidisk.rs | 2 use crate::driver::disk::ahci::HBA_PxIS_TFES; 11 driver::disk::ahci::hba::{
|
/DragonOS-0.1.8/ |
D | bochsrc | 8 # ata0-master: type=disk, path="/data/home/longjin/code/hd.img", mode=flat 10 boot: disk 14 ata0-master: type=disk, path="bin/disk.img", mode=flat
|
/DragonOS-0.1.8/kernel/src/driver/ |
D | Makefile | 4 kernel_driver_subdirs:=video interrupt pci acpi disk keyboard mouse multiboot2 timers hid
|
D | mod.rs | 3 pub mod disk; module
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 377 .disk() in get_fat_entry() 471 .disk() in get_fat_entry_raw() 867 self.partition.disk().sync()?; in umount() 938 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster() 985 .disk() in get_free_cluster() 1017 .disk() in get_free_cluster() 1065 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1080 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry() 1098 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1104 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry() [all …]
|
D | entry.rs | 133 let r = fs.partition.disk().device().read_at( in read() 201 let w: usize = fs.partition.disk().device().write_at( in write() 329 fs.partition.disk().device().write_at( in zero_range() 1095 .disk() in flush() 1124 .disk() in flush() 1126 fs.partition.disk().sync()?; in flush() 1309 .disk() in flush() 1330 .disk() in flush() 1332 fs.partition.disk().sync()?; in flush() 2373 fs.partition.disk().read_at(lba, 1, &mut v)?; in get_raw_dir_entry()
|
D | bpb.rs | 228 .disk() in new()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | core.rs | 10 driver::disk::ahci::{self},
|