Lines Matching refs:PathBuf
1 use std::{fs::File, io::Write, mem::ManuallyDrop, path::PathBuf, process::Command};
85 disk_image_path: &PathBuf, in mount_partitioned_image() argument
86 disk_mount_path: &PathBuf, in mount_partitioned_image() argument
107 disk_image_path: &PathBuf, in mount_unpartitioned_image() argument
108 disk_mount_path: &PathBuf, in mount_unpartitioned_image() argument
180 fn disk_path_safety_check(disk_image_path: &PathBuf) -> Result<()> { in disk_path_safety_check()
195 fn create_partitioned_image(ctx: &DADKExecContext, disk_image_path: &PathBuf) -> Result<()> { in create_partitioned_image()
214 fn create_unpartitioned_image(ctx: &DADKExecContext, disk_image_path: &PathBuf) -> Result<()> { in create_unpartitioned_image()
221 fn create_raw_img(disk_image_path: &PathBuf, image_size: usize) -> Result<()> { in create_raw_img() argument
277 fn create_partitioned_image(disk_image_path: &PathBuf, part_type: PartitionType) -> Result<()> { in create_partitioned_image() argument
295 fn create_mbr_partitioned_image(disk_image_path: &PathBuf) -> Result<()> { in create_mbr_partitioned_image()
327 fn create_gpt_partitioned_image(_disk_image_path: &PathBuf) -> Result<()> { in create_gpt_partitioned_image()
337 fn format_disk(disk_image_path: &PathBuf, fs_type: &FsType) -> Result<()> { in format_disk() argument
343 fn format_fat32(disk_image_path: &PathBuf) -> Result<()> { in format_fat32()