Searched refs:struct_info (Results 1 – 1 of 1) sorted by relevance
153 let struct_info = VirtioCapabilityInfo { in new() localVariable170 common_cfg = Some(struct_info); in new()173 notify_cfg = Some(struct_info); in new()180 isr_cfg = Some(struct_info); in new()183 device_cfg = Some(struct_info); in new()517 struct_info: &VirtioCapabilityInfo, in get_bar_region()519 let bar_info = device_bar.get_bar(struct_info.bar)?; in get_bar_region()524 return Err(VirtioPciError::BarNotAllocated(struct_info.bar)); in get_bar_region()526 if struct_info.offset + struct_info.length > bar_size in get_bar_region()527 || size_of::<T>() > struct_info.length as usize in get_bar_region()[all …]