Searched refs:disk (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.7/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.7/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.7/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; 10 driver::disk::ahci::hba::{
|
/DragonOS-0.1.7/ |
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.7/kernel/src/driver/ |
D | mod.rs | 3 pub mod disk; module
|
D | Makefile | 4 kernel_driver_subdirs:=video interrupt usb pci acpi disk keyboard mouse multiboot2 timers hid
|
/DragonOS-0.1.7/kernel/src/filesystem/fat/ |
D | fs.rs | 373 .disk() in get_fat_entry() 467 .disk() in get_fat_entry_raw() 863 self.partition.disk().sync()?; in umount() 934 self.partition.disk().read_at(lba, num_lba, &mut v)?; in get_free_cluster() 981 .disk() in get_free_cluster() 1013 .disk() in get_free_cluster() 1061 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1076 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry() 1094 self.partition.disk().read_at(lba, 1, &mut v)?; in set_entry() 1100 self.partition.disk().write_at(lba, 1, cursor.as_slice())?; in set_entry() [all …]
|
D | entry.rs | 134 let r = fs.partition.disk().device().read_at( in read() 203 let w: usize = fs.partition.disk().device().write_at( in write() 327 fs.partition.disk().device().write_at( in zero_range() 1086 .disk() in flush() 1115 .disk() in flush() 1117 fs.partition.disk().sync()?; in flush() 1300 .disk() in flush() 1321 .disk() in flush() 1323 fs.partition.disk().sync()?; in flush() 2360 fs.partition.disk().read_at(lba, 1, &mut v)?; in get_raw_dir_entry()
|
D | bpb.rs | 228 .disk() in new()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | core.rs | 11 driver::disk::ahci::{self},
|