Lines Matching refs:mount
333 mount (GFile *file) in mount() function
381 GMount *mount; in unmount() local
389 mount = g_file_find_enclosing_mount (file, NULL, &error); in unmount()
390 if (mount == NULL) in unmount()
400 …g_mount_unmount_with_operation (mount, flags, mount_op, NULL, unmount_done_cb, g_object_ref (file)… in unmount()
437 GMount *mount; in eject() local
445 mount = g_file_find_enclosing_mount (file, NULL, &error); in eject()
446 if (mount == NULL) in eject()
456 g_mount_eject_with_operation (mount, flags, mount_op, NULL, eject_done_cb, g_object_ref (file)); in eject()
611 GMount *mount; in list_mounts() local
622 mount = (GMount *) l->data; in list_mounts()
626 volume = g_mount_get_volume (mount); in list_mounts()
634 name = g_mount_get_name (mount); in list_mounts()
635 root = g_mount_get_root (mount); in list_mounts()
640 type_name = get_type_name (mount); in list_mounts()
646 uuid = g_mount_get_uuid (mount); in list_mounts()
650 default_location = g_mount_get_default_location (mount); in list_mounts()
659 icon = g_mount_get_icon (mount); in list_mounts()
668 icon = g_mount_get_symbolic_icon (mount); in list_mounts()
677 x_content_types = g_mount_guess_content_type_sync (mount, FALSE, NULL, NULL); in list_mounts()
688 g_print ("%*scan_unmount=%d\n", indent + 2, "", g_mount_can_unmount (mount)); in list_mounts()
689 g_print ("%*scan_eject=%d\n", indent + 2, "", g_mount_can_eject (mount)); in list_mounts()
690 g_print ("%*sis_shadowed=%d\n", indent + 2, "", g_mount_is_shadowed (mount)); in list_mounts()
691 sort_key = g_mount_get_sort_key (mount); in list_mounts()
710 GMount *mount; in list_volumes() local
799 mount = g_volume_get_mount (volume); in list_volumes()
800 if (mount) in list_volumes()
802 mounts = g_list_prepend (NULL, mount); in list_volumes()
805 g_object_unref (mount); in list_volumes()
933 GMount *mount = G_MOUNT (l->data); in unmount_all_with_scheme() local
936 root = g_mount_get_root (mount); in unmount_all_with_scheme()
1020 monitor_print_mount (GMount *mount) in monitor_print_mount() argument
1025 l = g_list_prepend (NULL, mount); in monitor_print_mount()
1059 monitor_mount_added (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_added() argument
1062 name = g_mount_get_name (mount); in monitor_mount_added()
1065 monitor_print_mount (mount); in monitor_mount_added()
1069 monitor_mount_removed (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_removed() argument
1072 name = g_mount_get_name (mount); in monitor_mount_removed()
1075 monitor_print_mount (mount); in monitor_mount_removed()
1079 monitor_mount_changed (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_changed() argument
1082 name = g_mount_get_name (mount); in monitor_mount_changed()
1085 monitor_print_mount (mount); in monitor_mount_changed()
1089 monitor_mount_pre_unmount (GVolumeMonitor *volume_monitor, GMount *mount) in monitor_mount_pre_unmount() argument
1092 name = g_mount_get_name (mount); in monitor_mount_pre_unmount()
1095 monitor_print_mount (mount); in monitor_mount_pre_unmount()
1244 mount (file); in handle_mount()