Searched refs:blk_size (Results 1 – 13 of 13) sorted by relevance
/DragonOS-0.1.8/kernel/src/io/ |
D | device.rs | 229 let blk_size = 1usize << self.blk_size_log2; in next_block() localVariable 230 let lba_id = self.begin / blk_size; in next_block() 231 let begin = self.begin % blk_size; in next_block() 232 let end = if lba_id == self.end / blk_size { in next_block() 233 self.end % blk_size in next_block() 235 blk_size in next_block() 252 let blk_size = 1usize << self.blk_size_log2; in next_multiblock() localVariable 253 let lba_start = self.begin / blk_size; in next_multiblock() 254 let lba_end = self.end / blk_size; in next_multiblock() 257 if __bytes_to_lba(self.begin, blk_size) in next_multiblock() [all …]
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | mod.rs | 462 pub blk_size: usize, field 501 blk_size: 0, in default() 559 blk_size: 0, in new()
|
D | syscall.rs | 585 kstat.blcok_size = metadata.blk_size as i64; in do_fstat()
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 40 blk_size: 0, in new()
|
D | zero_dev.rs | 40 blk_size: 0, in new()
|
D | mod.rs | 230 blk_size: 0, in new_with_parent() 314 blk_size: 0, in do_create_with_data()
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 46 blk_size: 0, in new()
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 311 blk_size: 0, in do_create_with_data() 433 blk_size: 0, in new_with_parent()
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 56 blk_size: 0, in new()
|
/DragonOS-0.1.8/kernel/src/filesystem/ramfs/ |
D | mod.rs | 87 blk_size: 0, in new() 258 blk_size: 0, in create_with_data()
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 52 blk_size: 0, in new()
|
/DragonOS-0.1.8/kernel/src/filesystem/procfs/ |
D | mod.rs | 249 blk_size: 0, in new() 500 blk_size: 0, in create_with_data()
|
/DragonOS-0.1.8/kernel/src/filesystem/fat/ |
D | fs.rs | 182 blk_size: fs.bpb.bytes_per_sector as usize, in new() 301 blk_size: bpb.bytes_per_sector as usize, in new()
|