Home
last modified time | relevance | path

Searched refs:disk (Results 1 – 13 of 13) sorted by relevance

/DragonOS-0.1.8/tools/
Dcreate_hdd_image.sh16 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/
Dmount_virt_disk.sh8 LOOP_DEVICE=$(losetup -f --show -P ../bin/disk.img) \
/DragonOS-0.1.8/kernel/src/io/
Ddisk_info.rs18 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/
Dahci_inode.rs29 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()
Dmod.rs15 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()
Dahcidisk.rs2 use crate::driver::disk::ahci::HBA_PxIS_TFES;
11 driver::disk::ahci::hba::{
/DragonOS-0.1.8/
Dbochsrc8 # 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/
DMakefile4 kernel_driver_subdirs:=video interrupt pci acpi disk keyboard mouse multiboot2 timers hid
Dmod.rs3 pub mod disk; module
/DragonOS-0.1.8/kernel/src/filesystem/fat/
Dfs.rs377 .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 …]
Dentry.rs133 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()
Dbpb.rs228 .disk() in new()
/DragonOS-0.1.8/kernel/src/filesystem/vfs/
Dcore.rs10 driver::disk::ahci::{self},