Lines Matching refs:volume
46 free_volume_internals(const MountedVolume *volume, int zero) in free_volume_internals() argument
48 free((char *)volume->device); in free_volume_internals()
49 free((char *)volume->mount_point); in free_volume_internals()
50 free((char *)volume->filesystem); in free_volume_internals()
51 free((char *)volume->flags); in free_volume_internals()
53 memset((void *)volume, 0, sizeof(*volume)); in free_volume_internals()
202 unmount_mounted_volume(const MountedVolume *volume) in unmount_mounted_volume() argument
208 int ret = umount(volume->mount_point); in unmount_mounted_volume()
210 free_volume_internals(volume, 1); in unmount_mounted_volume()
217 remount_read_only(const MountedVolume* volume) in remount_read_only() argument
219 return mount(volume->device, volume->mount_point, volume->filesystem, in remount_read_only()