Searched refs:volumes (Results 1 – 1 of 1) sorted by relevance
35 MountedVolume *volumes; member66 if (g_mounts_state.volumes == NULL) { in scan_mounted_volumes()68 MountedVolume *volumes = malloc(numv * sizeof(*volumes)); in scan_mounted_volumes() local69 if (volumes == NULL) { in scan_mounted_volumes()73 g_mounts_state.volumes = volumes; in scan_mounted_volumes()75 memset(volumes, 0, numv * sizeof(*volumes)); in scan_mounted_volumes()81 free_volume_internals(&g_mounts_state.volumes[i], 1); in scan_mounted_volumes()92 MountedVolume* v = &g_mounts_state.volumes[g_mounts_state.volume_count++]; in scan_mounted_volumes()105 if (g_mounts_state.volumes != NULL) { in find_mounted_volume_by_device()108 MountedVolume *v = &g_mounts_state.volumes[i]; in find_mounted_volume_by_device()[all …]