Home
last modified time | relevance | path

Searched refs:MAX_DEVICES (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/driver/scsi/
H A Dmod.rs32 id_bmp: bitmap::StaticBitmap<{ ScsiManager::MAX_DEVICES }>,
33 devname: [Option<BlockDevName>; ScsiManager::MAX_DEVICES],
37 pub const MAX_DEVICES: usize = 25; constant
43 devname: [const { None }; Self::MAX_DEVICES], in new()
69 if id >= Self::MAX_DEVICES { in free_id()
/DragonOS/kernel/src/driver/block/
H A Dvirtio_blk.rs105 id_bmp: bitmap::StaticBitmap<{ VirtIOBlkManager::MAX_DEVICES }>,
106 devname: [Option<BlockDevName>; VirtIOBlkManager::MAX_DEVICES],
110 pub const MAX_DEVICES: usize = 25; constant
116 devname: [const { None }; Self::MAX_DEVICES], in new()
142 if id >= Self::MAX_DEVICES { in free_id()
/DragonOS/kernel/src/driver/irqchip/
H A Driscv_sifive_plic.rs206 const MAX_DEVICES: u32 = 1024; constant