Home
last modified time | relevance | path

Searched refs:volume_monitor (Results 1 – 12 of 12) sorted by relevance

/third_party/glib/gio/
Dgvolumemonitor.h71 void (* volume_added) (GVolumeMonitor *volume_monitor,
73 void (* volume_removed) (GVolumeMonitor *volume_monitor,
75 void (* volume_changed) (GVolumeMonitor *volume_monitor,
78 void (* mount_added) (GVolumeMonitor *volume_monitor,
80 void (* mount_removed) (GVolumeMonitor *volume_monitor,
82 void (* mount_pre_unmount) (GVolumeMonitor *volume_monitor,
84 void (* mount_changed) (GVolumeMonitor *volume_monitor,
87 void (* drive_connected) (GVolumeMonitor *volume_monitor,
89 void (* drive_disconnected) (GVolumeMonitor *volume_monitor,
91 void (* drive_changed) (GVolumeMonitor *volume_monitor,
[all …]
Dgvolumemonitor.c292 g_volume_monitor_get_connected_drives (GVolumeMonitor *volume_monitor) in g_volume_monitor_get_connected_drives() argument
296 g_return_val_if_fail (G_IS_VOLUME_MONITOR (volume_monitor), NULL); in g_volume_monitor_get_connected_drives()
298 class = G_VOLUME_MONITOR_GET_CLASS (volume_monitor); in g_volume_monitor_get_connected_drives()
300 return class->get_connected_drives (volume_monitor); in g_volume_monitor_get_connected_drives()
315 g_volume_monitor_get_volumes (GVolumeMonitor *volume_monitor) in g_volume_monitor_get_volumes() argument
319 g_return_val_if_fail (G_IS_VOLUME_MONITOR (volume_monitor), NULL); in g_volume_monitor_get_volumes()
321 class = G_VOLUME_MONITOR_GET_CLASS (volume_monitor); in g_volume_monitor_get_volumes()
323 return class->get_volumes (volume_monitor); in g_volume_monitor_get_volumes()
338 g_volume_monitor_get_mounts (GVolumeMonitor *volume_monitor) in g_volume_monitor_get_mounts() argument
342 g_return_val_if_fail (G_IS_VOLUME_MONITOR (volume_monitor), NULL); in g_volume_monitor_get_mounts()
[all …]
Dgunionvolumemonitor.c100 get_mounts (GVolumeMonitor *volume_monitor) in get_mounts() argument
107 monitor = G_UNION_VOLUME_MONITOR (volume_monitor); in get_mounts()
126 get_volumes (GVolumeMonitor *volume_monitor) in get_volumes() argument
133 monitor = G_UNION_VOLUME_MONITOR (volume_monitor); in get_volumes()
152 get_connected_drives (GVolumeMonitor *volume_monitor) in get_connected_drives() argument
159 monitor = G_UNION_VOLUME_MONITOR (volume_monitor); in get_connected_drives()
178 get_volume_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_volume_for_uuid() argument
185 monitor = G_UNION_VOLUME_MONITOR (volume_monitor); in get_volume_for_uuid()
207 get_mount_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_mount_for_uuid() argument
214 monitor = G_UNION_VOLUME_MONITOR (volume_monitor); in get_mount_for_uuid()
[all …]
Dgio-tool-mount.c42 static GVolumeMonitor *volume_monitor; variable
491 drives = g_volume_monitor_get_connected_drives (volume_monitor); in stop_with_device_file()
909 drives = g_volume_monitor_get_connected_drives (volume_monitor); in list_monitor_items()
913 volumes = g_volume_monitor_get_volumes (volume_monitor); in list_monitor_items()
917 mounts = g_volume_monitor_get_mounts (volume_monitor); in list_monitor_items()
931 mounts = g_volume_monitor_get_mounts (volume_monitor); in unmount_all_with_scheme()
980 volumes = g_volume_monitor_get_volumes (volume_monitor); in mount_with_id()
1059 monitor_mount_added (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_added() argument
1069 monitor_mount_removed (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_removed() argument
1079 monitor_mount_changed (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_changed() argument
[all …]
Dgunixvolume.c47 GVolumeMonitor *volume_monitor; member
76 if (volume->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE()
77 g_object_unref (volume->volume_monitor); in G_DEFINE_TYPE_WITH_CODE()
107 _g_unix_volume_new (GVolumeMonitor *volume_monitor, in _g_unix_volume_new() argument
118 volume->volume_monitor = volume_monitor != NULL ? g_object_ref (volume_monitor) : NULL; in _g_unix_volume_new()
176 if (volume->volume_monitor != NULL) in _g_unix_volume_set_mount()
177 g_signal_emit_by_name (volume->volume_monitor, "volume-changed", volume); in _g_unix_volume_set_mount()
189 if (volume->volume_monitor != NULL) in _g_unix_volume_unset_mount()
190 g_signal_emit_by_name (volume->volume_monitor, "volume-changed", volume); in _g_unix_volume_unset_mount()
293 _g_unix_volume_monitor_update (G_UNIX_VOLUME_MONITOR (unix_volume->volume_monitor)); in eject_mount_done()
Dgunixmount.c51 GVolumeMonitor *volume_monitor; member
79 if (mount->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE()
80 g_object_unref (mount->volume_monitor); in G_DEFINE_TYPE_WITH_CODE()
109 _g_unix_mount_new (GVolumeMonitor *volume_monitor, in _g_unix_mount_new() argument
120 mount->volume_monitor = volume_monitor != NULL ? g_object_ref (volume_monitor) : NULL; in _g_unix_mount_new()
159 if (mount->volume_monitor != NULL) in _g_unix_mount_unset_volume()
160 g_signal_emit_by_name (mount->volume_monitor, "mount-changed", mount); in _g_unix_mount_unset_volume()
317 if (unix_mount->volume_monitor != NULL) in eject_unmount_do()
318 g_signal_emit_by_name (unix_mount->volume_monitor, "mount-pre-unmount", mount); in eject_unmount_do()
Dgwin32mount.c44 GVolumeMonitor *volume_monitor; member
73 if (mount->volume_monitor != NULL) in G_DEFINE_TYPE_WITH_CODE()
74 g_object_unref (mount->volume_monitor); in G_DEFINE_TYPE_WITH_CODE()
128 _g_win32_mount_new (GVolumeMonitor *volume_monitor, in _g_win32_mount_new() argument
145 mount->volume_monitor = volume_monitor != NULL ? g_object_ref (volume_monitor) : NULL; in _g_win32_mount_new()
187 if (mount->volume_monitor != NULL) in _g_win32_mount_unset_volume()
188 g_signal_emit_by_name (mount->volume_monitor, "mount-changed", mount); in _g_win32_mount_unset_volume()
Dgwin32volumemonitor.c110 get_mounts (GVolumeMonitor *volume_monitor) in get_mounts() argument
124 g_queue_push_tail (&queue, _g_win32_mount_new (volume_monitor, drive, NULL)); in get_mounts()
135 get_volumes (GVolumeMonitor *volume_monitor) in get_volumes() argument
142 get_connected_drives (GVolumeMonitor *volume_monitor) in get_connected_drives() argument
192 get_volume_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_volume_for_uuid() argument
198 get_mount_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_mount_for_uuid() argument
Dgunixvolumemonitor.c103 get_mounts (GVolumeMonitor *volume_monitor) in get_mounts() argument
107 monitor = G_UNIX_VOLUME_MONITOR (volume_monitor); in get_mounts()
113 get_volumes (GVolumeMonitor *volume_monitor) in get_volumes() argument
117 monitor = G_UNIX_VOLUME_MONITOR (volume_monitor); in get_volumes()
123 get_connected_drives (GVolumeMonitor *volume_monitor) in get_connected_drives() argument
129 get_volume_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_volume_for_uuid() argument
135 get_mount_for_uuid (GVolumeMonitor *volume_monitor, const char *uuid) in get_mount_for_uuid() argument
Dgwin32mount.h47 GWin32Mount * _g_win32_mount_new (GVolumeMonitor *volume_monitor,
Dgunixvolume.h47 GUnixVolume * _g_unix_volume_new (GVolumeMonitor *volume_monitor,
Dgunixmount.h47 GUnixMount * _g_unix_mount_new (GVolumeMonitor *volume_monitor,