Home
last modified time | relevance | path

Searched refs:blk_size (Results 1 – 17 of 17) sorted by relevance

/DragonOS-0.1.9/kernel/src/driver/base/block/
Dblock_device.rs81 let blk_size = 1usize << self.blk_size_log2; in next_block() localVariable
82 let lba_id = self.begin / blk_size; in next_block()
83 let begin = self.begin % blk_size; in next_block()
84 let end = if lba_id == self.end / blk_size { in next_block()
85 self.end % blk_size in next_block()
87 blk_size in next_block()
104 let blk_size = 1usize << self.blk_size_log2; in next_multiblock() localVariable
105 let lba_start = self.begin / blk_size; in next_multiblock()
106 let lba_end = self.end / blk_size; in next_multiblock()
109 if __bytes_to_lba(self.begin, blk_size) in next_multiblock()
[all …]
/DragonOS-0.1.9/kernel/src/filesystem/vfs/
Dmod.rs517 pub blk_size: usize, field
556 blk_size: 0, in default()
615 blk_size: 0, in new()
Dsyscall.rs819 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()
/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dnull_dev.rs42 blk_size: 0, in new()
Dzero_dev.rs42 blk_size: 0, in new()
Dmod.rs253 blk_size: 0, in new_with_parent()
343 blk_size: 0, in do_create_with_data()
/DragonOS-0.1.9/kernel/src/filesystem/ramfs/
Dmod.rs93 blk_size: 0, in new()
280 blk_size: 0, in create_with_data()
501 blk_size: 0, in mknod()
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/
Dahci_inode.rs47 blk_size: 0, in new()
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dkvm_dev.rs59 blk_size: 0, in new()
Dvcpu_dev.rs70 blk_size: 0, in new()
Dvm_dev.rs68 blk_size: 0, in new()
/DragonOS-0.1.9/kernel/src/driver/keyboard/
Dps2_keyboard.rs80 blk_size: 0, in new()
/DragonOS-0.1.9/kernel/src/filesystem/kernfs/
Dmod.rs79 blk_size: 0, in create_root_inode()
507 blk_size: 0, in inner_create()
/DragonOS-0.1.9/kernel/src/filesystem/procfs/
Dmod.rs299 blk_size: 0, in new()
574 blk_size: 0, in create_with_data()
/DragonOS-0.1.9/kernel/src/ipc/
Dpipe.rs118 blk_size: 0, in new()
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_device.rs200 blk_size: 0, in new()
/DragonOS-0.1.9/kernel/src/filesystem/fat/
Dfs.rs190 blk_size: fs.bpb.bytes_per_sector as usize, in new()
310 blk_size: bpb.bytes_per_sector as usize, in new()