Lines Matching refs:mount_point
474 GUnixMountPoint *mount_point = NULL; in create_unix_mount_point() local
476 mount_point = g_new0 (GUnixMountPoint, 1); in create_unix_mount_point()
477 mount_point->device_path = g_strdup (device_path); in create_unix_mount_point()
478 mount_point->mount_path = g_strdup (mount_path); in create_unix_mount_point()
479 mount_point->filesystem_type = g_strdup (filesystem_type); in create_unix_mount_point()
480 mount_point->options = g_strdup (options); in create_unix_mount_point()
481 mount_point->is_read_only = is_read_only; in create_unix_mount_point()
482 mount_point->is_user_mountable = is_user_mountable; in create_unix_mount_point()
483 mount_point->is_loopback = is_loopback; in create_unix_mount_point()
485 return mount_point; in create_unix_mount_point()
1018 GUnixMountPoint *mount_point = NULL; in _g_get_unix_mount_points() local
1077 mount_point = create_unix_mount_point (device_path, in _g_get_unix_mount_points()
1087 return_list = g_list_prepend (return_list, mount_point); in _g_get_unix_mount_points()
1109 GUnixMountPoint *mount_point; in _g_get_unix_mount_points() local
1168 mount_point = create_unix_mount_point (device_path, in _g_get_unix_mount_points()
1176 return_list = g_list_prepend (return_list, mount_point); in _g_get_unix_mount_points()
1199 GUnixMountPoint *mount_point; in _g_get_unix_mount_points() local
1241 mount_point = create_unix_mount_point (mntent.mnt_special, in _g_get_unix_mount_points()
1249 return_list = g_list_prepend (return_list, mount_point); in _g_get_unix_mount_points()
1374 GUnixMountPoint *mount_point; in _g_get_unix_mount_points() local
1390 mount_point = create_unix_mount_point (mntent.mnt_special, in _g_get_unix_mount_points()
1398 return_list = g_list_prepend (return_list, mount_point); in _g_get_unix_mount_points()
1413 GUnixMountPoint *mount_point; in _g_get_unix_mount_points() local
1476 mount_point = create_unix_mount_point (fstab->fs_spec, in _g_get_unix_mount_points()
1484 return_list = g_list_prepend (return_list, mount_point); in _g_get_unix_mount_points()
1710 GUnixMountPoint *mount_point, *found; in g_unix_mount_point_at() local
1717 mount_point = l->data; in g_unix_mount_point_at()
1719 if (strcmp (mount_path, mount_point->mount_path) == 0) in g_unix_mount_point_at()
1724 found = mount_point; in g_unix_mount_point_at()
1727 g_unix_mount_point_free (mount_point); in g_unix_mount_point_at()
2199 g_unix_mount_point_free (GUnixMountPoint *mount_point) in g_unix_mount_point_free() argument
2201 g_return_if_fail (mount_point != NULL); in g_unix_mount_point_free()
2203 g_free (mount_point->mount_path); in g_unix_mount_point_free()
2204 g_free (mount_point->device_path); in g_unix_mount_point_free()
2205 g_free (mount_point->filesystem_type); in g_unix_mount_point_free()
2206 g_free (mount_point->options); in g_unix_mount_point_free()
2207 g_free (mount_point); in g_unix_mount_point_free()
2221 g_unix_mount_point_copy (GUnixMountPoint *mount_point) in g_unix_mount_point_copy() argument
2225 g_return_val_if_fail (mount_point != NULL, NULL); in g_unix_mount_point_copy()
2228 copy->mount_path = g_strdup (mount_point->mount_path); in g_unix_mount_point_copy()
2229 copy->device_path = g_strdup (mount_point->device_path); in g_unix_mount_point_copy()
2230 copy->filesystem_type = g_strdup (mount_point->filesystem_type); in g_unix_mount_point_copy()
2231 copy->options = g_strdup (mount_point->options); in g_unix_mount_point_copy()
2232 copy->is_read_only = mount_point->is_read_only; in g_unix_mount_point_copy()
2233 copy->is_user_mountable = mount_point->is_user_mountable; in g_unix_mount_point_copy()
2234 copy->is_loopback = mount_point->is_loopback; in g_unix_mount_point_copy()
2474 g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point) in g_unix_mount_point_get_mount_path() argument
2476 g_return_val_if_fail (mount_point != NULL, NULL); in g_unix_mount_point_get_mount_path()
2478 return mount_point->mount_path; in g_unix_mount_point_get_mount_path()
2490 g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point) in g_unix_mount_point_get_device_path() argument
2492 g_return_val_if_fail (mount_point != NULL, NULL); in g_unix_mount_point_get_device_path()
2494 return mount_point->device_path; in g_unix_mount_point_get_device_path()
2506 g_unix_mount_point_get_fs_type (GUnixMountPoint *mount_point) in g_unix_mount_point_get_fs_type() argument
2508 g_return_val_if_fail (mount_point != NULL, NULL); in g_unix_mount_point_get_fs_type()
2510 return mount_point->filesystem_type; in g_unix_mount_point_get_fs_type()
2524 g_unix_mount_point_get_options (GUnixMountPoint *mount_point) in g_unix_mount_point_get_options() argument
2526 g_return_val_if_fail (mount_point != NULL, NULL); in g_unix_mount_point_get_options()
2528 return mount_point->options; in g_unix_mount_point_get_options()
2540 g_unix_mount_point_is_readonly (GUnixMountPoint *mount_point) in g_unix_mount_point_is_readonly() argument
2542 g_return_val_if_fail (mount_point != NULL, FALSE); in g_unix_mount_point_is_readonly()
2544 return mount_point->is_read_only; in g_unix_mount_point_is_readonly()
2556 g_unix_mount_point_is_user_mountable (GUnixMountPoint *mount_point) in g_unix_mount_point_is_user_mountable() argument
2558 g_return_val_if_fail (mount_point != NULL, FALSE); in g_unix_mount_point_is_user_mountable()
2560 return mount_point->is_user_mountable; in g_unix_mount_point_is_user_mountable()
2572 g_unix_mount_point_is_loopback (GUnixMountPoint *mount_point) in g_unix_mount_point_is_loopback() argument
2574 g_return_val_if_fail (mount_point != NULL, FALSE); in g_unix_mount_point_is_loopback()
2576 return mount_point->is_loopback; in g_unix_mount_point_is_loopback()
2692 g_unix_mount_point_guess_type (GUnixMountPoint *mount_point) in g_unix_mount_point_guess_type() argument
2694 g_return_val_if_fail (mount_point != NULL, G_UNIX_MOUNT_TYPE_UNKNOWN); in g_unix_mount_point_guess_type()
2695 g_return_val_if_fail (mount_point->mount_path != NULL, G_UNIX_MOUNT_TYPE_UNKNOWN); in g_unix_mount_point_guess_type()
2696 g_return_val_if_fail (mount_point->device_path != NULL, G_UNIX_MOUNT_TYPE_UNKNOWN); in g_unix_mount_point_guess_type()
2697 g_return_val_if_fail (mount_point->filesystem_type != NULL, G_UNIX_MOUNT_TYPE_UNKNOWN); in g_unix_mount_point_guess_type()
2699 return guess_mount_type (mount_point->mount_path, in g_unix_mount_point_guess_type()
2700 mount_point->device_path, in g_unix_mount_point_guess_type()
2701 mount_point->filesystem_type); in g_unix_mount_point_guess_type()
2828 g_unix_mount_point_guess_name (GUnixMountPoint *mount_point) in g_unix_mount_point_guess_name() argument
2832 if (strcmp (mount_point->mount_path, "/") == 0) in g_unix_mount_point_guess_name()
2835 name = g_filename_display_basename (mount_point->mount_path); in g_unix_mount_point_guess_name()
2849 g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point) in g_unix_mount_point_guess_icon() argument
2851 …w_with_default_fallbacks (type_to_icon (g_unix_mount_point_guess_type (mount_point), TRUE, FALSE)); in g_unix_mount_point_guess_icon()
2865 g_unix_mount_point_guess_symbolic_icon (GUnixMountPoint *mount_point) in g_unix_mount_point_guess_symbolic_icon() argument
2867 …ew_with_default_fallbacks (type_to_icon (g_unix_mount_point_guess_type (mount_point), TRUE, TRUE)); in g_unix_mount_point_guess_symbolic_icon()
2987 g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point) in g_unix_mount_point_guess_can_eject() argument
2991 guessed_type = g_unix_mount_point_guess_type (mount_point); in g_unix_mount_point_guess_can_eject()