Searched refs:disk_dir (Results 1 – 1 of 1) sorted by relevance
820 static void get_disk_deps(const char *disk_dir, GuestDiskInfo *disk) in get_disk_deps() argument827 deps_dir = g_strdup_printf("%s/slaves", disk_dir); in get_disk_deps()860 const char *disk_name, const char *disk_dir, in get_disk_partitions() argument868 dp_disk = opendir(disk_dir); in get_disk_partitions()886 disk_dir, de_disk->d_name); in get_disk_partitions()890 disk_dir); in get_disk_partitions()990 g_autofree char *disk_dir = NULL, *line = NULL, in qmp_guest_get_disks() local1012 disk_dir = g_strdup_printf("/sys/block/%s", de->d_name); in qmp_guest_get_disks()1013 dev_name = get_device_for_syspath(disk_dir); in qmp_guest_get_disks()1016 disk_dir); in qmp_guest_get_disks()[all …]