Searched refs:disks_list (Results 1 – 1 of 1) sorted by relevance
73 let mut disks_list = LOCKED_DISKS_LIST.lock(); in ahci_rust_init() localVariable128 disks_list.push(LockedAhciDisk::new( in ahci_rust_init()141 LockedAhciInode::new(disks_list.last().unwrap().clone()), in ahci_rust_init()165 let disks_list = LOCKED_DISKS_LIST.lock(); in disks() localVariable166 return disks_list.clone(); in disks()172 let disks_list: SpinLockGuard<Vec<Arc<LockedAhciDisk>>> = LOCKED_DISKS_LIST.lock(); in get_disks_by_name() localVariable173 for i in 0..disks_list.len() { in get_disks_by_name()174 if disks_list[i].0.lock().name == name { in get_disks_by_name()175 return Ok(disks_list[i].clone()); in get_disks_by_name()