Lines Matching refs:volumes
28 MountedVolume *volumes; member
61 if (g_mounts_state.volumes == NULL) { in scan_mounted_volumes()
63 MountedVolume *volumes = malloc(numv * sizeof(*volumes)); in scan_mounted_volumes() local
64 if (volumes == NULL) { in scan_mounted_volumes()
68 g_mounts_state.volumes = volumes; in scan_mounted_volumes()
70 memset(volumes, 0, numv * sizeof(*volumes)); in scan_mounted_volumes()
76 free_volume_internals(&g_mounts_state.volumes[i], 1); in scan_mounted_volumes()
128 &g_mounts_state.volumes[g_mounts_state.volume_count++]; in scan_mounted_volumes()
160 if (g_mounts_state.volumes != NULL) { in find_mounted_volume_by_device()
163 MountedVolume *v = &g_mounts_state.volumes[i]; in find_mounted_volume_by_device()
179 if (g_mounts_state.volumes != NULL) { in find_mounted_volume_by_mount_point()
182 MountedVolume *v = &g_mounts_state.volumes[i]; in find_mounted_volume_by_mount_point()