Searched refs:disks_list (Results 1 – 1 of 1) sorted by relevance
72 let mut disks_list = LOCKED_DISKS_LIST.lock(); in ahci_rust_init() localVariable127 disks_list.push(LockedAhciDisk::new( in ahci_rust_init()140 LockedAhciInode::new(disks_list.last().unwrap().clone()), in ahci_rust_init()164 let disks_list = LOCKED_DISKS_LIST.lock(); in disks() localVariable165 return disks_list.clone(); in disks()171 let disks_list: SpinLockGuard<Vec<Arc<LockedAhciDisk>>> = LOCKED_DISKS_LIST.lock(); in get_disks_by_name() localVariable172 for i in 0..disks_list.len() { in get_disks_by_name()173 if disks_list[i].0.lock().name == name { in get_disks_by_name()174 return Ok(disks_list[i].clone()); in get_disks_by_name()